PC Review


Reply
Thread Tools Rate Thread

Data not recognized as a number

 
 
David Bateman
Guest
Posts: n/a
 
      15th Nov 2007
How do I programmatically get numbers recognized as numbers in a excel
sheet? It contains some sort of data dump which is not recognized in excel
as a number. I select the column and then Format, Cells, Number. Then I
delete the last number in each cell and replace the same number. Then it is
recognized as a number and shifts to align to the right. Is there an easier
way?

Thank you in advance,

David


 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      15th Nov 2007
Maybe the data is coming in as text.
Simply formatting the data to number will not do the trick, as you have found.

Format all to General.

Copy an empty cell.

Select the range of data and Edit>Paste Special>Add>OK>Esc

If this doesn't work, perhaps you have some spaces or extra hidden characters
from the data dump.

Post back if that's the case.


Gord Dibben MS Excel MVP


On Thu, 15 Nov 2007 14:49:15 -0800, "David Bateman" <(E-Mail Removed)>
wrote:

>How do I programmatically get numbers recognized as numbers in a excel
>sheet? It contains some sort of data dump which is not recognized in excel
>as a number. I select the column and then Format, Cells, Number. Then I
>delete the last number in each cell and replace the same number. Then it is
>recognized as a number and shifts to align to the right. Is there an easier
>way?
>
>Thank you in advance,
>
>David
>


 
Reply With Quote
 
Ronald Dodge
Guest
Posts: n/a
 
      15th Nov 2007
You can use the TextToColumn method under the Data Menu Bar, or you can use
the PasteSpecial method by copy a cell with a numeric value of 0, then paste
to all other cells as Value and Add Operation. Either trick does just fine.

--

Sincerely,

Ronald R. Dodge, Jr.
Master MOUS 2000

"David Bateman" <(E-Mail Removed)> wrote in message
news:Y04%i.1092$(E-Mail Removed)...
> How do I programmatically get numbers recognized as numbers in a excel
> sheet? It contains some sort of data dump which is not recognized in excel
> as a number. I select the column and then Format, Cells, Number. Then I
> delete the last number in each cell and replace the same number. Then it
> is
> recognized as a number and shifts to align to the right. Is there an
> easier
> way?
>
> Thank you in advance,
>
> David
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Number format not being recognized when pasting value =?Utf-8?B?bW9tM3Rr?= Microsoft Excel Misc 2 14th Nov 2007 06:43 PM
Time recognized as a whole number? Bob Morrison Microsoft Excel New Users 1 18th Jul 2007 10:09 PM
RE: xp serial number not recognized Engel Anti-Spyware Installation 1 15th Jun 2005 03:57 PM
xp serial number not recognized Anti-Spyware Installation 6 6th Jun 2005 02:18 AM
Number not recognized... Jeremy Ward Microsoft Excel Worksheet Functions 3 7th Jul 2003 03:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:15 AM.