#1   Report Post  
NH
 
Posts: n/a
Default SSN Format

Please help!!!

Is there a way to change SSN format from "123-45-6789" to "123456789"?
  #2   Report Post  
NH
 
Posts: n/a
Default SSN Format

More information added...

"NH" wrote:

Please help!!!

Is there a way to change SSN format from "123-45-6789" to "123456789"? I have a very long list with SSN in "123-45-6789" format, but need to change to the format without the dash "123456789".

  #3   Report Post  
Dave O
 
Posts: n/a
Default SSN Format

How about a search and replace? Search for the dash and replace with
nothing. Or, you could use a couple of text parsing functions in a
formula:
=left(A1,3)&mid(A1,4,2)&right(A1,4)
.... where A1 contains the SSN.

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default SSN Format

How about selecting the range.
Edit|replace
what: - (hyphen)
with: (leave blank)
replace all

Then give it a nice custom format: 000000000



NH wrote:

Please help!!!

Is there a way to change SSN format from "123-45-6789" to "123456789"?


--

Dave Peterson
  #5   Report Post  
NH
 
Posts: n/a
Default SSN Format

Your suggestion is so helpful...thanks a lot!

"Dave O" wrote:

How about a search and replace? Search for the dash and replace with
nothing. Or, you could use a couple of text parsing functions in a
formula:
=left(A1,3)&mid(A1,4,2)&right(A1,4)
.... where A1 contains the SSN.




  #6   Report Post  
NH
 
Posts: n/a
Default SSN Format

Thanks so much for your very helpful suggestion.

"Dave Peterson" wrote:

How about selecting the range.
Edit|replace
what: - (hyphen)
with: (leave blank)
replace all

Then give it a nice custom format: 000000000



NH wrote:

Please help!!!

Is there a way to change SSN format from "123-45-6789" to "123456789"?


--

Dave Peterson

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
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM
How to format a date to a different format Laura Excel Discussion (Misc queries) 1 March 5th 05 09:59 PM
protecting format Esmerelda Excel Discussion (Misc queries) 1 February 25th 05 12:53 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM


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