A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

csv format drops ending zeros



 
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2009, 12:29 AM posted to microsoft.public.excel.misc
Excel 2007 - CSV format
external usenet poster
 
Posts: 1
Default csv format drops ending zeros

I'm saving an excel file into a csv format and its dropping the zeros at the
end of the numbers.
  #2  
Old June 23rd, 2009, 01:27 AM posted to microsoft.public.excel.misc
Gary''s Student
external usenet poster
 
Posts: 7,584
Default csv format drops ending zeros

Use the Import Wizard:

Data Get external data from text file

and specify your .csv

You will be able to control the formatting.
--
Gary''s Student - gsnu200858


"Excel 2007 - CSV format" wrote:

I'm saving an excel file into a csv format and its dropping the zeros at the
end of the numbers.

  #3  
Old June 23rd, 2009, 12:26 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default csv format drops ending zeros

You can also rename the .csv file to .txt and use file|open.

You'll be prompted to give the type of field for each column.

If you choose text, the leading 0's will be kept.

If you want to keep the value as a real number, you'll can keep the .csv (or
..txt) and give the column a nice number format:

format|cells|number tab|Custom category
00000
(for 5 digits)

Excel 2007 - CSV format wrote:

I'm saving an excel file into a csv format and its dropping the zeros at the
end of the numbers.


--

Dave Peterson
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:30 PM.


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