Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default format cell to show leading zeros and make cell a three digit fiel

I have a field that has a single digit number in it now, like 2. I want to
fornat the field to add 2 leading zero's to make a three digit entry. How do
I do this with a formula, withut going thru entire spreadsheet and fomartting
the column to be tex and adding the leading zeros cell by cell? Please help!
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default format cell to show leading zeros and make cell a three digit fiel

Custom format of 000

You will still have a 1 digit entry that looks like 3 digits.

You cannot actually have an entry like 002 unless it is text.

A formula.....=TEXT(A1,"000")


Gord Dibben MS Excel MVP

On Fri, 28 Jul 2006 08:28:01 -0700, Kristin
wrote:

I have a field that has a single digit number in it now, like 2. I want to
fornat the field to add 2 leading zero's to make a three digit entry. How do
I do this with a formula, withut going thru entire spreadsheet and fomartting
the column to be tex and adding the leading zeros cell by cell? Please help!


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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
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
Spliting a number with leading zeros haitch2 Excel Discussion (Misc queries) 7 September 30th 05 12:09 AM


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