+ Reply to Thread
Results 1 to 2 of 2

SSN as number with all 9 digits

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    SSN as number with all 9 digits

    How can I get a SSN to display and be formatted as a number but show all digits.

    I used a formula =LEFT(I2,3)&MID(I2,5,2)&MID(I2,8,4) to pull it into a cell with all digits but when I copy and paste it converts to text.

    If I convert to number, it takes out the 0's at the beginning and I need the 0's to be there.

    HELP PLEASE

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: SSN as number with all 9 digits

    Try this:

    =TEXT(LEFT(I2,3)&MID(I2,5,2)&MID(I2,8,4),"000000000")


    Or even easier,

    =SUBSTITUTE(G5,"-","")



    Also, you can change the cell format of the cell you are copying to and use a custom format of 0000000
    Last edited by Speshul; 08-26-2014 at 04:25 PM.
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Check most frequent number in 1 column that has 4 digits number
    By Merson78 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-07-2014, 10:57 PM
  2. Replies: 4
    Last Post: 09-16-2012, 10:26 AM
  3. Replies: 3
    Last Post: 02-12-2009, 01:08 PM
  4. Replies: 5
    Last Post: 12-08-2008, 11:47 AM
  5. [SOLVED] want only last four digits of number
    By Betsy in forum Excel General
    Replies: 1
    Last Post: 08-09-2006, 04:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1