Skip to main content

How to copy a HTML table to Excel-my new favourite Firefox Add-on

In these recessionary times I thought it would be a good idea to get a better grip on our household budget. As a starting point I decided to download a full years worth of expenditure and income into Excel for analysis. On-line banking provided a quick way of getting the data but there was a problem. Our main bank provides the data in a pretty inflexible web table. You cannot easily grab data from a HTML table using copy and paste as all formatting is lost. If you try to paste into Excel the columns become completely jumbled.

Happily it turns out there is a very useful extension for Firefox called Table tools which allows one to manipulate HTML tables and copy them with all formating intact to another programme such as Excel. After installing table tools you just need to highlight the table, right click and then select "copy as tab-delimited text" to get a version that can be pasted straight into Excel. Superb, this will actually be very useful to me in work as well as at home.


I should point out that this add on has not been reviewed by Mozilla but I have had no difficulties with it and I am entirely impressed.

It's just typical isn't it? Barely a week after deciding to move to Opera as my main browser I discover an excellent reason to use Firefox. I guess I always knew that Firefox was the more powerful more extensible browser but Opera does the day to day things I want to do better. For the moment I will keep using Opera and go back to Firefox when I really need the added functions I cannot do in Opera.

Comments

Cap'n John said…
I hate, Hate! HATE! copying a table of data from Firefox then pasting it into Excel, only to have everything get pasted into the A1 cell.

I also hate how I'll start typing a comment on a Blog before the page is fully loaded, only to have the page finish loading and see everything in the 'Comment' box get deleted...and I have to start typing again...and Ctrl-Z's 'Undo' doesn't work.

Table Tools sounds great for my first problem. Any ideas (other than 'Wait') to solve my second?
mbp said…
Hi Cap'n John have you tried pressing the stop button before you start typing. That should prevent new content being downloaded to overwrite your comment. You may find that the comment box isn't complete yet but even then you should be able to copy your text into the paste buffer before refreshing the page.
Anton said…
Oh, Web browser gripes, I have a few of those, haha. But I guess I just get used to them and forget about them for the most part even though I'm dealing with them every day.

The one that gets me every time, is when I open a new tab, then click the google search bar...start typing something to search for, and suddenly my curscor jumps to the address bar 3-4 keystrokes in and the rest ends up in the address bar.

So awesome.

And I use Internet Explorer. Lame, I know.

Popular posts from this blog

My First Gaming Mouse: Logitech G300

I bought a gaming mouse yesterday a Logitech G300, here my initial thoughts. What is a gaming mouse?  There are a wide variety of devices available classified as gaming mice but a few features  seem common: 1. Wired rather than wireless: Although some high end models are wireless wired connections are just better and faster than wireless so most gaming mice stick with wired. As a bonus wired mice don't need batteries so the mouse is lighter.  2. High response rate: 1 to 2ms response rate so the mouse immediately responds to input.  2. High DPI. Gaming mice invariable boast high DPI numbers from 2,000 DPI upwards. This makes the device very responsive to the smallest movements.   3. Adjustable DPI . High DPI improves responsiveness but reduces precision so gaming mice generally allow you to adjust the DPI down for precise work such as pulling off headshots in sniper mode. Generally the mouse allows dpi to be changed on the fly by pressing a button.  4. Extr

Android Tip 3: Sharing a Folder between multiple users of an Android device

Android has allowed multiple user logins for quite a while now. This is can be very useful for tablets which are shared by family members. Normally Android erects strict Chinese walls between users preventing them from using each others apps and viewing each others files. This is a useful security feature and ensures your kids don't mess up your work spreadsheets when screwing around on the tablet and should also prevent them from buying €1,000 worth of Clash of Candy coins on your account. Sometimes however you really do want to share stuff with other users and this can prove surprisingly difficult. For example on a recent holiday I realised that I wanted to share a folder full of travel documents with my wife. Here are some ways to achieve this. 1. If you have guaranteed internet access  then you can create a shared folder on either Dropbox or Google drive. Either of these has the great advantage of being able to access the files on any device and the great disadvantage of bein

Portal 2 two screen coop on one PC.

I mentioned before that I intended to try Portal 2 in "unofficial split screen co-op mode. Well split screen on a small computer monitor is a recipe for a headache especially when the game defies gravity as much as portal. However a minor bit of extra fiddling allowed us to drive two seperate screens from one PC. The Steam forums describes a complicated method of doing this that I couldn't get working so this simpler method which worked for me might be of use to someone. 1. First I followed the instructions in this post to get split screen multi-player working: http://forums.steampowered.com/forums/showthread.php?t=1847904 A minor issue not mentioned is that you need to enable the console from the keyboard/mouse options menu I am using keyboard and one wired Xbox360 controller as suggested. Getting the controller to switch to channel 2 was tricky at first but as Chameleon8 mentions plugging it out and in again during loading works. The trick for me was to do the plug / p