Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How can SS#s be displayed as text with all zeros and no dashes?

Hi,

I have a list of about 2,000 social security numbers in excel. Some are
formatted with an apostrophe to preserve the first zero. I need them all to
be a string of nine numbers with no dashes and to preserve the first zero in
the formula bar. The Custom formatting dispays the zero on the worksheet but
not in the formula bar. How can I format all the cells to preserve the first
zero and look the way I need them to without adding the apostrophe to all?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How can SS#s be displayed as text with all zeros and no dashes?

You could make use of a helper column and use this formula:

=TEXT(A1,"000000000")

if your numbers are in column A. Copy this formula down to row 2000,
then fix the values - these can then be copied over the originals in
column A and the helper column deleted.

Hope this helps.

Pete

latwood wrote:
Hi,

I have a list of about 2,000 social security numbers in excel. Some are
formatted with an apostrophe to preserve the first zero. I need them all to
be a string of nine numbers with no dashes and to preserve the first zero in
the formula bar. The Custom formatting dispays the zero on the worksheet but
not in the formula bar. How can I format all the cells to preserve the first
zero and look the way I need them to without adding the apostrophe to all?


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
leading zeros when uploading a number from text file mc01234 Excel Discussion (Misc queries) 1 May 18th 06 08:47 PM
Concatenate Text & Numbers Keeping zeros.. glynny Excel Worksheet Functions 3 February 17th 06 10:10 AM
adding zero's to a text cell Jennifer Excel Worksheet Functions 2 August 13th 05 02:54 AM
save text field w/ leading zeros in .csv format & not lose zeros? Ques Excel Discussion (Misc queries) 1 May 4th 05 06:21 PM
zero supress leading zeros when chg format from text to number HeatherO Excel Worksheet Functions 4 February 27th 05 11:11 PM


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