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!

Copying data from webpage table into excel

Chomeur
Chomeur Posts: 2,160 Forumite
Part of the Furniture 1,000 Posts
Quite often I need to copy data in a table on an Internet page into Excel, e.g. with bank statements. If I just select what I need and paste it into Excel then it all appears in just one cell. So what I do instead is right click, chose "Select All", copy that into a new Excel document then select the parts that I actually need and then copy those into a second Excel document. Using "Select All" copies all sorts of formatting and controls that I don't need so I want to get rid of them somehow. This way I do end up with the data in the table set out as required.

But is there a better way to do this?

Comments

  • SAHD_Jim
    SAHD_Jim Posts: 242 Forumite
    Part of the Furniture Combo Breaker Debt-free and Proud! Mortgage-free Glee!
    Select what you need but instead of "paste", select "paste special". Then choose to paste as "unicode text" (iirc). This should place it across the cells.
    I don't want to achieve immortality through my work, I want to achieve it through not dying
  • lesalanos
    lesalanos Posts: 863 Forumite
    Part of the Furniture 500 Posts Name Dropper
    data - text to columns, is the way that I use
  • debitcardmayhem
    debitcardmayhem Posts: 12,978 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    Export it (if it is bank statement) as csv and then open it from your download area.
    4.8kWp 12x400W Longhi 9.6 kWh battery Giv-hy 5.0 Inverter, WSW facing Essex . Aint no sunshine ☀️ Octopus gas fixed dec 24 @ 5.74 tracker again+ Octopus Intelligent Flux leccy
  • Chomeur
    Chomeur Posts: 2,160 Forumite
    Part of the Furniture 1,000 Posts
    Paste Special seems to be the best way. Doesn't always work though. Data text to columns isn't something that I've tried before, I'll try it next time although it looks as if it might need a bit of thought to get it right. Exporting as a csv file is fine except that a lot of sites don't offer this, cahoot for one, and if you want to add the data to an existing workbook you've got to copy it, paste it and close the document that is created.
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
  • 351.7K Banking & Borrowing
  • 253.4K Reduce Debt & Boost Income
  • 454K Spending & Discounts
  • 244.7K Work, Benefits & Business
  • 600.1K Mortgages, Homes & Bills
  • 177.3K Life & Family
  • 258.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K 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.