Ask Experts Questions for FREE Help !
Ask
    Brenc's Avatar
    Brenc Posts: 5, Reputation: 1
    New Member
     
    #1

    Aug 11, 2008, 05:16 AM
    Zip codes in Excel Spreed Sheets
    I have a spreed sheet that contains a 5 digit zip that I need to convert to a 9 digit. How would I go about doingin this?


    I have 1800 enteries
    colbtech's Avatar
    colbtech Posts: 748, Reputation: 66
    Senior Member
     
    #2

    Aug 11, 2008, 06:36 AM
    With leading zeroes? e.g. 51251 = 000051251

    If so select the cells that hold the zip codes and select Format, Cells, Number, Custom. Enter 9 zeroes, hit enter
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #3

    Aug 11, 2008, 06:39 AM
    How would you do this? The Zip+4 coding is specific to an address. If you want to input the plus 4 for an individual just type in -xxxx at the end of the entry.
    Brenc's Avatar
    Brenc Posts: 5, Reputation: 1
    New Member
     
    #4

    Aug 11, 2008, 06:39 AM
    No leadinf zeros... see example below

    Before

    27954
    28510
    28510
    28510

    After

    27506-0000
    27822-0000
    28434-0000
    28473-0000
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #5

    Aug 11, 2008, 06:48 AM
    Ok, so you just want to add the 4 zeros? In a blank Column put the expression:

    =E2 & "-0000"

    where E is the column with the zipcode and to the first row of records. Then copy that formula down the column. Finally, copy the Column with the formulas and use Edit-Paste Special>Values to copy it back to the original column.
    Brenc's Avatar
    Brenc Posts: 5, Reputation: 1
    New Member
     
    #6

    Aug 11, 2008, 06:51 AM
    Quote Originally Posted by Brenc
    I have a spreed sheet that contains a 5 digit zip that i need to convert to a 9 digit. How would I go about doingin this?


    I have 1800 enteries
    I have 1800 entires to correct...
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #7

    Aug 11, 2008, 06:55 AM
    And your point? All you need do is copy and paste one formula down the entire blank column, then copy and paste that column into the original calum as I said. I do this all the time when I have to adjust data in a column.
    Brenc's Avatar
    Brenc Posts: 5, Reputation: 1
    New Member
     
    #8

    Aug 11, 2008, 06:59 AM
    I know close to nothing about excel. The formula to take the first five digits then add -0000 to the end of it is what I am looking for... Sorry
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #9

    Aug 11, 2008, 07:02 AM
    No need to apologize. The ability to copy formulas like I suggested is one of the most basic uses of a spreadsheet, so I assumed you would be familiar with it.
    Brenc's Avatar
    Brenc Posts: 5, Reputation: 1
    New Member
     
    #10

    Aug 11, 2008, 07:09 AM
    I have added a col. In this new col I would like to take the zip and add the -0000
    Col A Col B
    27506 27506-0000
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #11

    Aug 11, 2008, 08:16 AM
    I told you what to do.
    JBeaucaire's Avatar
    JBeaucaire Posts: 5,426, Reputation: 997
    Software Expert
     
    #12

    Aug 11, 2008, 09:39 AM
    I would suggest 3 columns.

    A = Zip
    B = +4 digits
    C = The whole shebang

    Notice the highlighted formula in the picture below...

    Now, highlight cell C3, press CTRL-C to copy it, then highlight all C2-C1800 and press ENTER. This copies your formula from C1 down the rest of the rows and will duplicate the process.

    The benefit of this approach is it allows you to easily add the +4 digits as you get them.
    Attached Images
     
    mdosh01's Avatar
    mdosh01 Posts: 64, Reputation: 8
    Junior Member
     
    #13

    Aug 12, 2008, 04:47 AM
    That is what ScottGem has given you. If column A has your zip codes (assuming you are starting in row 2 of the spreadsheet), then enter his formula in cell B2: =B2 & "-0000" and press enter. You should see the zip code from B1 with "-0000" added on the end.

    Now, with cell B2 active (i.e. use the arrow key to highlight B2), hold down the shift key and at the same time press the page down key repeatedly until you get to the same row as the last entry in column A. Don't worry if you go past the last row, you can delete that later.

    Once there, release the shift key and press CTRL-D to copy the formula down, or click Edit, Fill, Down. All your zip codes should now be in column B with "-0000" added to the end.
    colbtech's Avatar
    colbtech Posts: 748, Reputation: 66
    Senior Member
     
    #14

    Aug 12, 2008, 04:55 AM
    Select the cells that hold the zip codes and select Format, Cells, Number, Custom. Enter 00000-0000, hit enter

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Bed sheets [ 2 Answers ]

An extremely modest man was in the hospital for a Series of tests, the last of which had left his Bodily systems extremely upset. Upon making several false alarm trips to the Bathroom, he decided the latest episode was another And stayed put. He suddenly filled his bed with Diarrhea and was...

Excel Sheets Connection! [ 3 Answers ]

Dear All, (Sorry my question is not about word processor) I want to ask that how can be the data added automaticall to from one excel sheet to another. For e.g I have one excel sheet by the name ex1.xls and 2nd is ex2.xls. Let suppose I want to add something in ex1.xls and want the same addition...

Excel Budget Sheets [ 2 Answers ]

I am preparing for an job exam in Excel and would like to practice building budget sheets using formulas. Does any one now of any website out there were I can find samples of budgets sheets to build off? i.e Sums, then averages within sums> Thank You

Balance Sheets [ 5 Answers ]

I need help with this exercise! During October, the Wilson Company incurred the following costs. For each of the items, identify whether the Wilson Company would record it as an asset or an expense for October. List the dollar amount and explain your reasoning. a. At the...


View more questions Search