Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jane
 
Posts: n/a
Default add "0" to the beginning of each value

my data reads:
627
628
629,
etc.

I need to add a "0" to the front of each number. Is there an easy formula
to do this?

thanks! jane
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

If it is just presentation, use a custom format of 0000.

--
HTH

Bob Phillips

"Jane" wrote in message
...
my data reads:
627
628
629,
etc.

I need to add a "0" to the front of each number. Is there an easy formula
to do this?

thanks! jane



  #3   Report Post  
Anne Troy
 
Posts: n/a
Default

Try this, Jane:
http://www.officearticles.com/excel/...soft_excel.htm
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com



"Jane" wrote in message
...
my data reads:
627
628
629,
etc.

I need to add a "0" to the front of each number. Is there an easy formula
to do this?

thanks! jane



  #4   Report Post  
swatsp0p
 
Posts: n/a
Default


Because Excel 'ignores' leading zeros in numbers, the best way is to use
Custom Format. Highlight all affected cells, choose FormatCells. On
the Number tab, select Custom and set the format to '0000'. Click OK.
All cells will now have a leading zero. Note that a two digit number
(e.g. 12) will have TWO leading zeros (0012).

Another option is to format the cells as text and then enter your
number with the leading zero: (e.g. 0123)

HTH

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=380918

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 get the zeros to show up in the beginning of a number? cmreisner Excel Discussion (Misc queries) 6 September 15th 05 12:59 PM
add characters to beginning of text Natalie Excel Worksheet Functions 3 March 4th 05 12:56 PM
How do I display an insignificant 0 at the beginning of a number nuttylocke Excel Discussion (Misc queries) 2 February 9th 05 12:55 PM
only include cells beginning with specified character or number Spunky Excel Worksheet Functions 3 November 23rd 04 04:38 PM
How to link endings balances to beginning balances on different sh judyskiskd Excel Worksheet Functions 1 October 28th 04 07:21 PM


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