+ Reply to Thread
Results 1 to 4 of 4

looking up zipcodes from another workbook

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    7

    looking up zipcodes from another workbook

    Hi all,

    I have a set of zipcodes that I need to find the neighborhoods for in one workbook. In another workbook, I have zipcodes and their corresponding neighborhoods. I used this formula in the first workbook: =VLOOKUP(A2,[Book1]Sheet1!$A:$B,1,FALSE)

    What am I doing wrong?

    EDIT: I added the file, added the second workbook as the second tab.
    Attached Files Attached Files
    Last edited by ilostmygummy; 06-28-2015 at 09:46 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2014
    Location
    United States
    MS-Off Ver
    Office 365 ProPlus
    Posts
    853

    Re: looking up zipcodes from another workbook

    Easier if you could post the file to look at.

    But I've stopped using Vlookup's and using an Index Match instead, which IMO is a better method.

    Here is good tutorial on it.
    http://www.randomwok.com/excel/how-to-use-index-match/

    Wait. I just realized your trying to do compare to another workbook, not a worksheet in the same workbook. Index/Match should still work, but if you have the sample files it could be easier to look at.

    I also did a quick test and this formula, which looks same as yours works with both files open.

    =VLOOKUP(C2,[Book2]Sheet1!$B:$C,2)

    In book2 Column 1 has the ZipCode and Column 2 is the Neighborhood.
    Last edited by ptmuldoon; 06-28-2015 at 09:39 AM.

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: looking up zipcodes from another workbook

    I've posted the file. I used the formula below after moving it into the second tab. In tab 2, Column 1 has the Neighborhood, column 2 has the zipcode.

    =VLOOKUP(A2,Sheet2!$A:$B,1,FALSE)

    Still returning #N/A

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: looking up zipcodes from another workbook

    Using your example file and creating a Book1 this formula works. Your formula was missing the file extensions.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by newdoverman; 06-28-2015 at 10:10 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Help! Need to Filter Out Certain Zipcodes from Leads
    By Aiolus in forum Excel General
    Replies: 2
    Last Post: 04-23-2013, 11:45 AM
  2. Return value after searching 3 col's of zipcodes
    By Oscar Fox in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-13-2011, 03:37 AM
  3. VBA to fix ZipCodes
    By davidsons in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-28-2011, 11:27 AM
  4. Macro to fix zipcodes
    By martinez_pedro in forum Excel General
    Replies: 3
    Last Post: 03-31-2009, 01:42 PM
  5. Vlook up and Zipcodes
    By ChefBacon in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-09-2009, 11:52 AM

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