Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Phil
 
Posts: n/a
Default How do I insert a leading zero?

Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.

  #2   Report Post  
Nick Hodge
 
Posts: n/a
Default How do I insert a leading zero?

Phil

If they are preformatted as text, use a new column and enter

="0"&C1

and copy it down. If you want to replace the old values, just copy the new
ones and editpaste special...values the new over the old

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Phil" wrote in message
...
Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.



  #3   Report Post  
Gary''s Student
 
Posts: n/a
Default How do I insert a leading zero?

Select the cells and then pull-down:

Format Cells Number Custom and enter "0"General
--
Gary's Student


"Phil" wrote:

Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.

  #4   Report Post  
Phil
 
Posts: n/a
Default How do I insert a leading zero?

Hi Nick,

I tried that, and it didn't work.

My cell for instance, is C639, contains the value: 301229650, which is
preformatted for text. When I go to the next col. D, I type in ="0"&C639.
But all it shows is the formula. Am I missing something?

"Nick Hodge" wrote:

Phil

If they are preformatted as text, use a new column and enter

="0"&C1

and copy it down. If you want to replace the old values, just copy the new
ones and editpaste special...values the new over the old

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Phil" wrote in message
...
Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.




  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default How do I insert a leading zero?

Phil

Column D is most likely also formatted as text.

Re-format to General then re-enter the formula and drag/copy down.

OR hit CTRL + `(back quote) to turn off "Formula View"


Gord Dibben Excel MVP


On Sun, 23 Oct 2005 15:58:02 -0700, "Phil"
wrote:

Hi Nick,

I tried that, and it didn't work.

My cell for instance, is C639, contains the value: 301229650, which is
preformatted for text. When I go to the next col. D, I type in ="0"&C639.
But all it shows is the formula. Am I missing something?

"Nick Hodge" wrote:

Phil

If they are preformatted as text, use a new column and enter

="0"&C1

and copy it down. If you want to replace the old values, just copy the new
ones and editpaste special...values the new over the old

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Phil" wrote in message
...
Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.







  #6   Report Post  
Phil
 
Posts: n/a
Default How do I insert a leading zero?

Hello Gord,

You were right. I apprieciated your input.

Thank You.

"Gord Dibben" wrote:

Phil

Column D is most likely also formatted as text.

Re-format to General then re-enter the formula and drag/copy down.

OR hit CTRL + `(back quote) to turn off "Formula View"


Gord Dibben Excel MVP


On Sun, 23 Oct 2005 15:58:02 -0700, "Phil"
wrote:

Hi Nick,

I tried that, and it didn't work.

My cell for instance, is C639, contains the value: 301229650, which is
preformatted for text. When I go to the next col. D, I type in ="0"&C639.
But all it shows is the formula. Am I missing something?

"Nick Hodge" wrote:

Phil

If they are preformatted as text, use a new column and enter

="0"&C1

and copy it down. If you want to replace the old values, just copy the new
ones and editpaste special...values the new over the old

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Phil" wrote in message
...
Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.






  #7   Report Post  
Phil
 
Posts: n/a
Default How do I insert a leading zero?

Hi Nick,

After reading Gord's reply below I realized that he was right. I changed the
format, and it worked great after that.

I apprieciate your input.

Thank You.

"Nick Hodge" wrote:

Phil

If they are preformatted as text, use a new column and enter

="0"&C1

and copy it down. If you want to replace the old values, just copy the new
ones and editpaste special...values the new over the old

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"Phil" wrote in message
...
Hello,


I have some text values (in Col C) that need 1 (one) leading zero put in:

I have some text values below:

306445854
250641222

which I want to look like:

0306445854
0250641222

How do I do this?

TIA for your replies.

Phil.




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
Simultaneouly insert of rows or col. - Ajit Ajit Munj Excel Discussion (Misc queries) 1 March 23rd 05 09:17 AM
insert picture BillGwyer Excel Discussion (Misc queries) 1 March 4th 05 06:37 PM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
Function to automatically insert a new sheet as a result of data entry? Mark Mulik Excel Worksheet Functions 2 November 28th 04 02:21 AM
Insert Leading Zeros hkslater Excel Worksheet Functions 7 November 16th 04 11:28 PM


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