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 Help 51,912 discussions
icon
Computer Newbies 10,498 discussions
icon
Laptops 20,411 discussions
icon
Security 30,882 discussions
icon
TVs & Home Theaters 21,253 discussions
icon
Windows 10 1,672 discussions
icon
Phones 16,494 discussions
icon
Windows 7 7,855 discussions
icon
Networking & Wireless 15,504 discussions

REVIEW

Meet the drop-resistant Moto Z2 Force

The Moto Z2 Force is really thin, with a fast processor and great battery life. It can survive drops without shattering.