number not recognised

A

a m spock

i have received a spreadsheet in which some numbers appear to be entered as
text. i have tried the =value(text) function but am not able to convert them
back to numbers. please help.
 
E

EricG

What do these numbers look like? Is there a single apostrophe at the
beginning of them (i.e. a ' )?

Please provide an example of your data.

Have you tried formatting the cells as "Number"? Are they currently
formatted as "Text" or "General"?

Eric
 
A

a m spock

thanks

1. this is a copy : 4,76,258.33
2. there are no aostrophes.
3. i have tried reformatting

is there any other way i can send a copy of a part of the spreadsheet itself?

i am going mad.
 
J

Jacob Skaria

Format to General

--Hit Ctrl+H (Replace window)
--From replace window
find , (comma)
replace (blank)
--Hit OK

If this post helps click Yes
 
E

EricG

Looks like you have extra commas in your numbers. As Jacob shows, try
getting rid of all the commas first using the Replace command. Select the
entire range, then Edit/Replace...

In the "Find what:" box, type a "," (comma)
In the "Replace with:" box, type nothing (leave it blank)

Press the "Replace All" button.

Then format those cells either as General or Number.

HTH,

Eric
 
A

a m spock

thanks. just tried it.
it deilvers #VALUE!


r said:
Sub test()
Dim rng As Excel.Range
Set rng = [a1:a10]
rng.Value = rng.Value
End Sub

regards
r

Il mio ultimo lavoro ...
http://excelvba.altervista.org/blog/index.php/Excel-VBA/UsedRange-eccezioni-e-alternative.html


a m spock said:
i have received a spreadsheet in which some numbers appear to be entered as
text. i have tried the =value(text) function but am not able to convert them
back to numbers. please help.
 
J

JLGWhiz

Regional settings have to match the number format and vice versa. If you
use European number format, the regional settins must be set to accomodate
that format.



a m spock said:
thanks. just tried it.
it deilvers #VALUE!


r said:
Sub test()
Dim rng As Excel.Range
Set rng = [a1:a10]
rng.Value = rng.Value
End Sub

regards
r

Il mio ultimo lavoro ...
http://excelvba.altervista.org/blog/index.php/Excel-VBA/UsedRange-eccezioni-e-alternative.html


a m spock said:
i have received a spreadsheet in which some numbers appear to be
entered as
text. i have tried the =value(text) function but am not able to convert
them
back to numbers. please help.
 

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