#VALUE on data copied from web page

M

M Skabialka

I copied some data about my online account from a web-page into Excel 07,
but when I try to write a formula referring to one of the cells that shows a
currency amount I get #VALUE. If I look at "show calculation steps" it
shows the money amount in quotes. I have changed the format to currency for
this currency column, and even tried to copy and paste back just the values,
but the formulas won't work. Short of retyping in all of the values (about
100 rows) how can I convert them to actual numbers so the formulae will
work?
 
G

Gord Dibben

Format all cells to General.

Copy an empty cell.

Select the range of bogus numbers and paste special>add>ok>esc


Gord Dibben MS Excel MVP
 
M

M Skabialka

Good grief - this worked - what an odd thing to have to try - not intuitive
at all. Thanks!
 
G

Gord Dibben

Thanks for the feedback.

Copying data from a webpage can bring the numbers in as text.

The paste special coerces Excel to recognize the text as numbers.

You were lucky in this case.

Sometimes data from the web can contain non-breaking spaces which do not
respond to the paste special method.

You would have to do an edit>replace for that nbsp

Replace what: Alt + 0160

Replace with: nothing


Gord
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top