Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RLB RLB is offline
external usenet poster
 
Posts: 6
Default zero fill leading digits

Hi,
I need to zero fill field then import result into a program that requires
numbers not text or blanks in field. Program will accept ".dbf,.csv or.txt"
file formats only. I tried repeat function but when I save in one of the
formats excel converts zero to text not number. This then is kicked out by
program.
thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default zero fill leading digits

I think you need a custom format that keeps leading zeroes. In the format
menu - Numbers - Custom either use one of the custom formats or create your
own. In a formula you can do the same thing with the text statement such as
=text(mynumber,"0.00")

"RLB" wrote:

Hi,
I need to zero fill field then import result into a program that requires
numbers not text or blanks in field. Program will accept ".dbf,.csv or.txt"
file formats only. I tried repeat function but when I save in one of the
formats excel converts zero to text not number. This then is kicked out by
program.
thanks.

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
Adding "0" as leading digits into cells in Excel Tippetue Excel Worksheet Functions 2 October 19th 06 12:14 AM
Fill in form to type Item descrictions and costs and fill in funct cradino Excel Worksheet Functions 0 July 16th 06 08:44 PM
Validation rule - custom 5 digits w/ leading zeroes jennifer Excel Worksheet Functions 1 March 27th 06 12:49 AM
How do I make a number have leading zeros to fill width of cell? Max_Rebo1 Excel Discussion (Misc queries) 4 October 14th 05 05:31 PM
Leading digits Brent E Excel Discussion (Misc queries) 5 May 31st 05 10:08 AM


All times are GMT +1. The time now is 11:23 AM.

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"