#1   Report Post  
Posted to microsoft.public.excel.misc
DA DA is offline
external usenet poster
 
Posts: 104
Default Change number format

hello
Is there a way to change the SS# in the following format from an existing
table of SS#?
99-999-9999
change to
xx-xxx-9999
Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Change number format

I am not sure is this what you are looking for. If not post more examples.

="XX-XXX"&MID(A1,FIND("-",A1,FIND("-",A1)+1),LEN(A1))

If this post helps click Yes
---------------
Jacob Skaria


"da" wrote:

hello
Is there a way to change the SS# in the following format from an existing
table of SS#?
99-999-9999
change to
xx-xxx-9999
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
DA DA is offline
external usenet poster
 
Posts: 104
Default Change number format

I am not sure I understand the formula. I tried it and I got an error #N/A.
Is there any other way, more simple formula?
You can use any numbers as long as they are in SS# format, e.g. 123-45-6789
Thank you

"Jacob Skaria" wrote:

I am not sure is this what you are looking for. If not post more examples.

="XX-XXX"&MID(A1,FIND("-",A1,FIND("-",A1)+1),LEN(A1))

If this post helps click Yes
---------------
Jacob Skaria


"da" wrote:

hello
Is there a way to change the SS# in the following format from an existing
table of SS#?
99-999-9999
change to
xx-xxx-9999
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Change number format

Type your number in A1
In B1 enter the below formula
="XX-XXX"&MID(A1,FIND("-",A1,FIND("-",A1)+1),LEN(A1))

If this post helps click Yes
---------------
Jacob Skaria


"da" wrote:

I am not sure I understand the formula. I tried it and I got an error #N/A.
Is there any other way, more simple formula?
You can use any numbers as long as they are in SS# format, e.g. 123-45-6789
Thank you

"Jacob Skaria" wrote:

I am not sure is this what you are looking for. If not post more examples.

="XX-XXX"&MID(A1,FIND("-",A1,FIND("-",A1)+1),LEN(A1))

If this post helps click Yes
---------------
Jacob Skaria


"da" wrote:

hello
Is there a way to change the SS# in the following format from an existing
table of SS#?
99-999-9999
change to
xx-xxx-9999
Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Change number format

It looks like you're trying to hide the digits? Could use something like:

="xx-xxx-"&RIGHT(A2,4)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"da" wrote:

hello
Is there a way to change the SS# in the following format from an existing
table of SS#?
99-999-9999
change to
xx-xxx-9999
Thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Change number format

Does this work for you
="xx-xxx-"&RIGHT(A1,4)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"da" wrote in message
...
hello
Is there a way to change the SS# in the following format from an existing
table of SS#?
99-999-9999
change to
xx-xxx-9999
Thanks


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
Change number (in text format) to numeric format Pam Excel Discussion (Misc queries) 5 October 24th 05 07:45 PM
Hoe to change text format .126 to number format 0.126 vitality Excel Discussion (Misc queries) 3 October 6th 05 01:31 PM
How to change text format .126 to number format 0.126 ? vitality Excel Worksheet Functions 2 October 6th 05 01:02 PM
why does currency format change to number format? Cassie Excel Discussion (Misc queries) 3 March 18th 05 06:57 PM
How do i change numbers in text format to number format? Greg New Users to Excel 1 December 14th 04 05:22 PM


All times are GMT +1. The time now is 04:53 PM.

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"