Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Numbers stored as text

Our accounting system exports to excel, problem is it sends numbers over as
text. I can convert them easily to numbers, but then the next problem, it
drops all of my preceeding zeros. Example: our part number is 000625 convert
it to from text and it comes out 625. Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 449
Default Numbers stored as text

Hi

000625 and 625 is the same number. What do you need the leading zeroes for?
Or, why do you need it to be a number?

Best wishes Harald


"prescottnana" wrote in message
...
Our accounting system exports to excel, problem is it sends numbers over
as
text. I can convert them easily to numbers, but then the next problem, it
drops all of my preceeding zeros. Example: our part number is 000625
convert
it to from text and it comes out 625. Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Numbers stored as text

are all part numbers 6 digits?

if so, highlight the desired column, format cells / custom / 000000

Won't have leading zeros in the address bar, but will display with leading
zeroes in the cell.

Otherwise, it would need to be treated as text...

"prescottnana" wrote:

Our accounting system exports to excel, problem is it sends numbers over as
text. I can convert them easily to numbers, but then the next problem, it
drops all of my preceeding zeros. Example: our part number is 000625 convert
it to from text and it comes out 625. Any ideas?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,934
Default Numbers stored as text

**Numbers** do not have any format, only the display of the number does...
that is, to a computer, a number is a number (otherwise, think of the
storage problems that would be necessary to distinguish the number 625 from
0625 or 00625 or 000625 or etc. if each version had to be retained, then
multiply that by all the possible numbers (and add trailing zeroes after a
decimal point to that as well). Why can't you just leave your "numbers" as
text... why do you have to convert them at all?

--
Rick (MVP - Excel)


"prescottnana" wrote in message
...
Our accounting system exports to excel, problem is it sends numbers over
as
text. I can convert them easily to numbers, but then the next problem, it
drops all of my preceeding zeros. Example: our part number is 000625
convert
it to from text and it comes out 625. Any ideas?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Numbers stored as text

hi
part numbers are ids. id numbesr are "numbers" that you don't want to do
mathmatical stuff to ie you don't want them to change. have you ever had a
reason to devide your phone number by 2????
so it would make no difference if the id was text or number?
what advantage do you gain by having your part numbers as numbers?

my thoughts
regards
FSt1

"prescottnana" wrote:

Our accounting system exports to excel, problem is it sends numbers over as
text. I can convert them easily to numbers, but then the next problem, it
drops all of my preceeding zeros. Example: our part number is 000625 convert
it to from text and it comes out 625. Any ideas?

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
Convert numbers stored as text to numbers Jacob Skaria Excel Discussion (Misc queries) 0 September 17th 09 01:56 PM
Numbers stored as text Thorkil Excel Discussion (Misc queries) 1 April 4th 06 05:02 PM
VLOOKUP should compare numbers stored as text to plain numbers. VLOOKUP - Numbers stored as text Excel Worksheet Functions 0 March 31st 06 05:53 PM
Convert numbers stored as text to numbers Excel 2000 Darlene Excel Discussion (Misc queries) 6 January 31st 06 08:04 PM
How do I convert numbers stored as text with spaces to numbers Baffuor Excel Discussion (Misc queries) 1 May 24th 05 07:39 AM


All times are GMT +1. The time now is 08:26 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"