Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
we have a mix field with some having only numbers. it is text. when
converting it to a csv the 0 in the first column are lost.... this happens only to fields that are only numeric |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
When you change to .CSV, Excel reformats each field as it deems fit. You
could either add a ' prior to each number or format as text after conversion, then add leading 0's... "steve44122" wrote: we have a mix field with some having only numbers. it is text. when converting it to a csv the 0 in the first column are lost.... this happens only to fields that are only numeric |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would be willing to be that the zeroes are *not* lost when you save as
CSV. Open your CSV file in something like Notepad and check. My guess is that you have subsequently allowed Excel to open the CSV file, using its default options. In that case, Excel will treat the values as numbers, not text, and Excel does not store the leading zeroes. If you do want to read the CSV file with Excel, use Data/ Import External Data, and specify the relevant columns as text. -- David Biddulph "steve44122" wrote in message ... we have a mix field with some having only numbers. it is text. when converting it to a csv the 0 in the first column are lost.... this happens only to fields that are only numeric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why are numbers stored as text in my TOAD created Excel output? | Excel Discussion (Misc queries) | |||
Converting numbers stored as dates to text in Excel | Excel Discussion (Misc queries) | |||
VLOOKUP should compare numbers stored as text to plain numbers. | Excel Worksheet Functions | |||
Convert numbers stored as text to numbers Excel 2000 | Excel Discussion (Misc queries) | |||
How do I convert numbers stored as text with spaces to numbers | Excel Discussion (Misc queries) |