+ Reply to Thread
Results 1 to 4 of 4

two lookups - one formula

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    Newport Beach, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    two lookups - one formula

    I'm trying to figure out how to perform two separate look-ups in one statement:

    I need to search by BOTH email address and Network ID, as my look-up table is sometimes missing either of the values. So, i want it to first match based on the Network ID. If that produces a null return, perform a second look-up matching on email address.
    Attached Files Attached Files

  2. #2
    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,946

    Re: two lookups - one formula

    Hi and welcome to the forum

    I will take a look at your file, but a quick answer...

    =iferror(vlookup()1,vlookup()2)
    with vlookup()1 being the vlookup for the ID and vlookup2 for the email
    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

  3. #3
    Registered User
    Join Date
    08-29-2013
    Location
    Newport Beach, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: two lookups - one formula

    lol..thank you, FDibbins! I was making it way too complicated. Ochham's Razor, Nicole - Ochham's Razor

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: two lookups - one formula

    Hi Nicole,

    Maybe:
    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. Formula Problem - 2 Way Lookups
    By Digiza in forum Excel General
    Replies: 1
    Last Post: 07-22-2011, 07:21 AM
  2. if formula for more than 7 lookups?
    By grounded in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-02-2008, 07:14 PM
  3. Formula Help - Sums&Lookups
    By mkerstei in forum Excel General
    Replies: 1
    Last Post: 07-29-2005, 04:19 PM
  4. Replies: 2
    Last Post: 05-16-2005, 12:07 AM
  5. Replies: 1
    Last Post: 05-15-2005, 07:07 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