Office & Productivity Software forum

General discussion

Excel

by jralbiar / October 25, 2004 12:25 AM PDT

I am trying to copy a nine digit number to excel and then adding dashes to turn that number to look like a Social Security Number. From 123456789 to 123-45-6789. Can anyone help?

Discussion is locked
You are posting a reply to: Excel
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Excel
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: Excel
by Poorgrunt / October 25, 2004 3:32 AM PDT
In reply to: Excel

Are you using Excel 2002? (this may be available in earlier versions)

If so, please note that under Special Number Format there is the choice of Social Security Number. That is choose FORMAT- CELLS- NUMBER (tab)- SPECIAL- SOCIAL SECURITY NUMBER.

If not, then you can customize the cell number format by choosing CUSTOM and under TYPE enter: 000-00-0000. That is choose FORMAT- CELLS- NUMBER (tab)- CUSTOM- {enter under "TYPE:"} 000-00-0000.

Hope this helps.

Collapse -
Re: Excel
by jralbiar / October 25, 2004 5:54 AM PDT
In reply to: Re: Excel

This works when I enter the number, but not when I copy if from a query that I have run.

Collapse -
Re: Excel
by Kees Bakker / October 25, 2004 7:50 AM PDT
In reply to: Re: Excel

What query? Copy from where? How?

If I type a number in Notepad and transfer it to Excel using ctrl-c, ctrl-v it's being formatted with the format specified for the cell. Does this work with you the same way?
If I copy a number from an Excel cell to another Excel cell, it changes the format in the target cell to that of the source cell. Use Edit>Paste Special>Values to keep the format.

If all else fails, try to put something like =A7 in the target cell, with the right format, and copy the selection from the query to A7. This should work, in my opinion, whatever the source of the copy.

Hope this helps.


Kees

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?