We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

HSBC Previous Statements converted to spreadsheet

MrMur
MrMur Posts: 2 Newbie
edited 7 July 2012 at 2:18AM in Budgeting & bank accounts
Hi,

I was frustrated by the fact that I couldn't download my previous statements into a spreadsheet format, so I wrote my own program to do it. I thought I would share it as it might be useful to other people (assuming I didn't miss how to do it an easier way).

If you are tech savvy, you can compile it yourself from the provided source, which I would recommend so you can assure yourself my code doesn't do anything untoward with your bank statements.

Unfortunately, you will need to be able to use the command line as I went for function over form. I've tested it on Ubuntu; it should work on Windows, etc.)

The idea is that you save your statements as html files into a folder and then this program produces a single CSV file of ALL of the statements which can be imported into LibreOffice or Excel for your further analysis. I advice sorting the first column, as the original file will not be in statement order.

Usage is:-
java -jar hsbcextract.jar <FolderNameToStatementHtml(s)> > HSBC.csv

e.g.

java -jar hsbcextract.jar c:\hsbcstatements > c:\HSBC.csv

I can't post the link, so I will ask a mod to do it for me.

Hope this is of help to someone.

EDIT: If you google "hsbcextract" as one word, then you will find it as the first entry, on GitHub.

You will need Java to run it.

Comments

This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 354.4K Banking & Borrowing
  • 254.4K Reduce Debt & Boost Income
  • 455.4K Spending & Discounts
  • 247.3K Work, Benefits & Business
  • 604K Mortgages, Homes & Bills
  • 178.4K Life & Family
  • 261.5K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.