Import decimal numbers with trailing zeros into Excel

J

JackCali

I need to import decimal numbers from text files into Excel without losing
format (e.g. trailing zerors are preserved "2.00").

I know that you can import the decimal numbers into Excel as text then the
trailing zeros will be preserved. However, I want Excel to treat the values
as numbers, preserving the decimals and trailing zeros.

Is this possible?

Thanks,
Jack
 
T

Tom Ogilvy

Excel doesn't store the trailing zeros even if you hand enter them into cells
as numbers. You can show as many trailing zeros as you want if you format
the cell to display them - so the solution is to format the cell to show the
number of trailing zeros you want. do it manually or with code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top