+ Reply to Thread
Results 1 to 3 of 3

Formula to automatically assign Postcode (aka ZIPCODE)

  1. #1
    Registered User
    Join Date
    09-20-2015
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    1

    Formula to automatically assign Postcode (aka ZIPCODE)

    Hi,
    I have a spreadsheet with various columns of data and one of those is the suburb of the client. The next column is for the Postcode (also known as ZIPCODE in the US).
    I'm after a formula that will read the Suburb in Column J and automatically insert the correct Postcode in Column K. I already have a lookup table of postcodes in another worksheet (within the same workbook).
    Anyone have any ideas? Thanks in anticipation.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Formula to automatically assign Postcode (aka ZIPCODE)

    Sounds like you want this...

    http://contextures.com/xlFunctions02.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Formula to automatically assign Postcode (aka ZIPCODE)

    Hi, welcome to the forum

    Perhaps something like this...
    A
    B
    C
    D
    E
    2
    aa
    123
    cc
    345
    3
    bb
    234
    4
    cc
    345
    5
    dd
    456
    6
    ee
    567

    D2=your suburb
    E2=VLOOKUP(D2,$A$2:$B$6,2,0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Assign area to postcode from multiple arrays function
    By gingerbug in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-17-2015, 10:29 AM
  2. Postcode to postcode distance checker
    By KerryLL1221 in forum Excel General
    Replies: 1
    Last Post: 02-21-2014, 09:42 AM
  3. Lookup postcode zone from postcode
    By Elmholt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2013, 09:26 AM
  4. Replies: 2
    Last Post: 08-07-2013, 09:01 AM
  5. [SOLVED] Help needed trimming full postcode address to postcode sector.
    By Mikey7346 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-10-2012, 05:11 PM
  6. trying to assign a person to call to a postcode (turns out to be a big problem)
    By operationmayhem in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-01-2011, 06:40 PM
  7. Replies: 1
    Last Post: 04-15-2006, 12:45 PM

Tags for this Thread

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