Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Import decimal numbers with trailing zeros into Excel

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Import decimal numbers with trailing zeros into Excel

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.

--
Regards,
Tom Ogilvy


"JackCali" wrote:

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

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
How do I force trailing zeros in an Excel cell? Tony C New Users to Excel 9 April 5th 23 01:06 PM
Trailing zeros Gatz Excel Worksheet Functions 5 April 30th 09 08:34 PM
Trailing Zeros aftamath77 Excel Discussion (Misc queries) 3 October 7th 08 07:40 PM
Leading decimal and zeros in formating numbers DLJames Excel Discussion (Misc queries) 3 November 30th 07 06:43 PM
Keep numbers as entered with trailing zeros Allie Excel Discussion (Misc queries) 2 August 3rd 06 06:39 PM


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