Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I add a zero in front of a text formatt number?

A text field with Zip codes is missing a Zero in front for eastern states
that only have 4numbers. How does one add a zero in front of these numbers
when the file is too large to do it individually?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default How do I add a zero in front of a text formatt number?

Sort the spreadsheet so the 4 digit numbers come up first. Insert a column
next to the Zip Code. Enter ="0"&A1 and pull down until you reach a 5 digit
code. Then copy the new leading 0 cells, and PASTE SPECIAL, Value over the 4
digit cell columns.

Hope this helps,

Carole O

"p210driver" wrote:

A text field with Zip codes is missing a Zero in front for eastern states
that only have 4numbers. How does one add a zero in front of these numbers
when the file is too large to do it individually?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default How do I add a zero in front of a text formatt number?

Format Cells... Number Custom and then 00000 in place of General
--
Gary's Student


"p210driver" wrote:

A text field with Zip codes is missing a Zero in front for eastern states
that only have 4numbers. How does one add a zero in front of these numbers
when the file is too large to do it individually?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default How do I add a zero in front of a text formatt number?

Right click in an empty cell and choose "Format Cells".
Click on "SPECIAL".
Click on "Zip Code", then <OK.

Right click in this cell again and choose "Copy".
Select your text number cells,
Right click in this selection and choose "Paste Special".
Click on "Add", then <OK, then <Esc,
And you're done!
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"p210driver" wrote in message
...
A text field with Zip codes is missing a Zero in front for eastern states
that only have 4numbers. How does one add a zero in front of these
numbers
when the file is too large to do it individually?


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 add a zero in front of a text formatt number of 5000 reco p210driver Excel Worksheet Functions 0 November 13th 06 11:26 PM
Copy from a Cell to a text box. AJL Excel Worksheet Functions 9 November 7th 06 04:58 PM
how i change thai text to english text Mani Excel Worksheet Functions 1 June 8th 06 03:10 PM
Extract phone number front block of text Tech Excel Discussion (Misc queries) 6 August 8th 05 04:07 PM
making a number be text Fredrated Excel Worksheet Functions 2 June 1st 05 02:37 AM


All times are GMT +1. The time now is 02:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"