Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 12
Default Convert SSN to Number

I need to convert SSN to number currently my cell has 111-11-1111 and
I need to format to numberican value of 111111111

Thanks for you assistance

  #2   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 12
Default Convert SSN to Number

On Feb 22, 1:41 pm, "Deb" wrote:
I need toconvertSSNtonumbercurrently my cell has 111-11-1111 and
I need to format to numberican value of 111111111

Thanks for you assistance


I found a posting from a couple of years ago and it works, but now I
need to add 0 to SSN where 0's are in fromt.
ex: 001111111 or 022222222

thanks again

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Convert SSN to Number

If all SSN's are same length to start with you can custom format as 000000000(9
zeros) or enter this in an adjacent or helper column.

=IF(LEN(A1)<9,"0"&A1,A1) copy down.

Assumes column A has the edited SSN's

Format all cells as text.

Guess it depends on whether or not you use the data for calculations.

If you want them to be numbers there would be no reason to add back the leading
zero.


Gord

On 22 Feb 2007 11:52:53 -0800, "Deb" wrote:

On Feb 22, 1:41 pm, "Deb" wrote:
I need toconvertSSNtonumbercurrently my cell has 111-11-1111 and
I need to format to numberican value of 111111111

Thanks for you assistance


I found a posting from a couple of years ago and it works, but now I
need to add 0 to SSN where 0's are in fromt.
ex: 001111111 or 022222222

thanks again


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Convert SSN to Number

EditReplace

What: -

With: nothing

Watch out for leading zeros that can get dropped using this method.

i.e. 011-01-0111 wil lose the first zero and become 11010111


Gord Dibben MS Excel MVP

On 22 Feb 2007 11:41:29 -0800, "Deb" wrote:

I need to convert SSN to number currently my cell has 111-11-1111 and
I need to format to numberican value of 111111111

Thanks for you assistance


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Convert SSN to Number

Try using Edit/Replace.
In the Replace what enter a -
In the with leave it blank
~Kristin

"Deb" wrote:

I need to convert SSN to number currently my cell has 111-11-1111 and
I need to format to numberican value of 111111111

Thanks for you assistance




  #6   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 12
Default Convert SSN to Number

Thanks for your comments but I think I need to clarify.

Currently by cell does not include leading zeros but I need the
leading zeros.

Current Cell 111111111
Update to 011111111

or

Current Cell 1111111
Update to 001111111

Thanks again


  #7   Report Post  
Posted to microsoft.public.excel.misc
Deb Deb is offline
external usenet poster
 
Posts: 12
Default Convert SSN to Number

On Feb 22, 2:45 pm, "Deb" wrote:
Thanks for your comments but I think I need to clarify.

Currently by cell does not include leading zeros but I need the
leading zeros.

Current Cell 111111111
Update to 011111111

or

Current Cell 1111111
Update to 001111111

Thanks again



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Convert SSN to Number

=REPT(0,9-LEN(A1))&A1 if you want text, or just format the cell to 000000000
if you want to leave as a number.
--
David Biddulph

"Deb" wrote in message
ps.com...
Thanks for your comments but I think I need to clarify.

Currently by cell does not include leading zeros but I need the
leading zeros.

Current Cell 111111111
Update to 011111111

or

Current Cell 1111111
Update to 001111111

Thanks again




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 i convert to arbic number from english number ? Nabil Said Excel Discussion (Misc queries) 1 January 22nd 06 11:41 AM
how do I convert a number to number of years, months and days because Excel Worksheet Functions 2 October 12th 05 06:15 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
not able to convert text, or graphic number to regular number in e knutsenk Excel Worksheet Functions 1 April 2nd 05 08:41 AM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM


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