Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default number not recognised

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.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default number not recognised

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 m spock" wrote:

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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default number not recognised

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.


"EricG" wrote:

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 m spock" wrote:

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.


  #4   Report Post  
Posted to microsoft.public.excel.programming
r r is offline
external usenet poster
 
Posts: 125
Default number not recognised


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/...ternative.html


"a m spock" wrote:

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.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default number not recognised

Format to General

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

If this post helps click Yes
---------------
Jacob Skaria


"a m spock" wrote:

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.


"EricG" wrote:

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 m spock" wrote:

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.




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 220
Default number not recognised

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 m spock" wrote:

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.


"EricG" wrote:

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 m spock" wrote:

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.


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default number not recognised

thanks. just tried it.
it deilvers #VALUE!


"r" wrote:


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/...ternative.html


"a m spock" wrote:

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.


  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default number not recognised


many thnaks. you have cured hours of frustration.


"Jacob Skaria" wrote:

Format to General

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

If this post helps click Yes
---------------
Jacob Skaria


"a m spock" wrote:

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.


"EricG" wrote:

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 m spock" wrote:

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.


  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default number not recognised

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" wrote in message
...
thanks. just tried it.
it deilvers #VALUE!


"r" wrote:


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/...ternative.html


"a m spock" wrote:

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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
dates not recognised DL Excel Discussion (Misc queries) 1 May 27th 10 11:33 PM
UserInterfaceOnly not being recognised jillc Excel Programming 3 December 13th 07 06:14 PM
cell value not recognised svb Excel Programming 1 November 5th 06 08:11 PM
Excel VBA not recognised dhiraj Excel Programming 1 June 2nd 04 06:52 PM
Name not recognised Jerome_t Excel Programming 5 April 23rd 04 06:10 PM


All times are GMT +1. The time now is 05:55 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"