+ Reply to Thread
Results 1 to 4 of 4

Alternative to Hlookup to deliver correct zone from zip code.

  1. #1
    Registered User
    Join Date
    04-26-2007
    Posts
    32

    Alternative to Hlookup to deliver correct zone from zip code.

    Hello

    I have Googled for over an hour to find a solution to this reverse lookup. I have a table with zip codes and I would like to input the number 92 and that the output is Zone 4.

    I canīt do this with Hlookup or Vlookup and have NOT figured out how to do this.

    Please help.
    Attached Files Attached Files
    Last edited by NBVC; 02-10-2011 at 05:53 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Alternative to Hlookup to deliver correct zone from zip code.

    Assuming the Zone numbers are unique, try:

    =INDEX($D$17:$I$17,SUMPRODUCT(($D$7:$I$16=M4)*((COLUMN($D$7:$I$16)-COLUMN($D$7)+1))))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    02-11-2009
    Location
    Montclair, NJ
    MS-Off Ver
    Excel 365
    Posts
    224

    Re: Alternative to Hlookup to deliver correct zone from zip code.

    Nicely Done NBVC.....I was trying to help him out, but didn't know how to write a 1 line formula to do it....once again, nicely done!

  4. #4
    Registered User
    Join Date
    04-26-2007
    Posts
    32

    Re: Solved - Alternative to Hlookup to deliver correct zone from zip code.

    Thank you very much! Works perfect!! :-)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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