View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.misc
Saruman Saruman is offline
external usenet poster
 
Posts: 48
Default Remove leading zeros

Alternately, change the .txt extension to .csv and double click the file.

Excel will then open the file without the leading zeroes.

--
Saruman

---------------------------------------------------------------------------
All Outgoing Mail Scanned By Symantec Antivirus 10
---------------------------------------------------------------------------
"Machel" wrote in message
...
We are uploading data from another application to a .txt file and then
opening the .txt in Excel 2003. The data is employee numbers, which we

are
copying and pasting into our learning management system. In the LMS we

need
the number without the leading zeros. Formating as number does not work.

Do
you know a formula we could use to remove the zeros when the number of
leading zeros varies? This is an example of the data:
0026278,
0067405,
0000042,
0108500,