+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    04-13-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    94

    VLookup with refference from 2 different tables

    I have a sample of two different tables, i want to make a single formula using the vlookup function. please check my formula on the red cell if how to make it work.. thanks
    Attached Files Attached Files
    Last edited by macky1730; 03-09-2010 at 09:30 AM.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,163

    Re: VLookup with refference from 2 different tables

    Try:

    =VLOOKUP(A10,IF(ISNUMBER(MATCH(A10,A1:A8,0)),Group1,Group2),2,0)
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,379

    Re: VLookup with refference from 2 different tables

    I suspect this is a much simplified version of your requirements but perhaps simply:

    B10: =IFERROR(VLOOKUP(A10,Group1,2,0),VLOOKUP(A10,Group2,2,0))
    Last edited by DonkeyOte; 03-09-2010 at 09:27 AM. Reason: changed to Names from Ranges

  4. #4
    Registered User
    Join Date
    04-13-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    94

    Re: VLookup with refference from 2 different tables

    thanks NBVC and DonkeyOte.. two different versions are nice

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.2.0