Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default In Excel find 5 digit number and replace with leading zero

I have a column of 5 digit numbers which I would like to replace with the
same number with a leading zero.
--
CDP
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default In Excel find 5 digit number and replace with leading zero

Hi,

Apply a custom format of 000000 that's 6 zeroes

Mike

"CDPalmer" wrote:

I have a column of 5 digit numbers which I would like to replace with the
same number with a leading zero.
--
CDP

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default In Excel find 5 digit number and replace with leading zero

If you want to *display* the leading zero, use a custom format of 000000
(that's 6 zeros)

If you want the leading zero stored in the spreadsheet, convert your numbers
to text using:
=text(a1,"000000")

Regards,
Fred.

"CDPalmer" wrote in message
...
I have a column of 5 digit numbers which I would like to replace with the
same number with a leading zero.
--
CDP


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
Need 7 digit number with differnt number of leading zeros malycom Excel Discussion (Misc queries) 10 July 30th 09 04:02 PM
find & replace - digit wildcard DonnaP99 Excel Discussion (Misc queries) 2 November 25th 08 09:49 PM
Find 1 word and replace it and leave the leading zero Leslie Excel Discussion (Misc queries) 2 March 8th 06 04:05 PM
How to add leading 0 to four digit number? Calendar Control Excel Worksheet Functions 2 December 30th 04 09:53 PM
single quote 10-digit number that has leading zeroes & then conca. lorelei739 Excel Worksheet Functions 1 November 5th 04 12:02 AM


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