+ Reply to Thread
Results 1 to 21 of 21

how to make multiple vlookup?

  1. #1
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    how to make multiple vlookup?

    i want know how to make multiple vlookup. I know vlookup. I want lookup like this.. I have 2excel files. First i want look up in excel 1, if no data in excel 1 then lookup in excel 2. Then give result. If no data in excel 2, then show #N/A. Please explain step by step.

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: how to make multiple vlookup?

    Hi,

    =IF(ISNA(VLOOKUP(lookup_value,[Book1.xlsx]Book1_range,Book1_col_index_number,range_lookup)),VLOOKUP(lookup_value,[Book2.xlsx]Book2_range,Book2_col_index_number,range_lookup))

    where Book1 and Book2 should obviously be amended to match your filenames.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: how to make multiple vlookup?

    You would need a construct like this:

    =IFERROR(first_lookup,second_lookup)

    where first_lookup is looking at excel1 and second_lookup is looking at excel2.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    hi XOR LX,
    in your forumula give result FALSE, i need result , is there anyother forumula?

  5. #5
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    your formula not working, pls tell me breifly.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: how to make multiple vlookup?

    I would need to see how you've adapted it so suit your ranges/sheet names, ideally in an attached Excel sheet, in order to tell you why it is giving you a FALSE result.

    Regards

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: how to make multiple vlookup?

    Here is an example of VLOOKUP for two sheets:

    =IFERROR(VLOOKUP(A1,Sheet2!$A$1:$C$18,3,0),VLOOKUP(A1,Sheet3!$A$1:$C$18,3,0))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  8. #8
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    hi all, problem solved, i tried your formula its working, thanks to all.

  9. #9
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    hi alkey i tried three lookup, its not working, just give me some example to write three , four lookups.. please...

  10. #10
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: how to make multiple vlookup?

    This is the general approach:

    =IFERROR(first_lookup,second_lookup)

    =IFERROR(first_lookup,IFERROR(second_lookup,third_lookup))

    =IFERROR(first_lookup,IFERROR(second_lookup,IFERROR(third_lookup,fourth_lookup)))

    and so on.

    Hope this helps.

    Pete

  11. #11
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    pete_uk, this formula is working, pls tell me three four lookup, give me example like this =IFERROR(VLOOKUP(A1,Sheet2!$A$1:$C$18,3,0),VLOOKUP(A1,Sheet3!$A$1:$C$18,3,0))

  12. #12
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: how to make multiple vlookup?

    For three lookups:

    =IFERROR(VLOOKUP(A1,Sheet2!$A$1:$C$18,3,0),IFERROR(VLOOKUP(A1,Sheet3!$A$1:$C$18,3,0),VLOOKUP(A1,Sheet4!$A$1:$C$18,3,0)))

    Four lookups:

    =IFERROR(VLOOKUP(A1,Sheet2!$A$1:$C$18,3,0),IFERROR(VLOOKUP(A1,Sheet3!$A$1:$C$18,3,0),IFERROR(VLOOKUP(A1,Sheet4!$A$1:$C$18,3,0),VLOOKUP(A1,Sheet5!$A$1:$C$18,3,0))))

  13. #13
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    hi, i want to know three or four lookup,
    i attached a file, please make lookup in sheet1 , sheet 2, sheet 3 shee4 datas there.
    Attached Files Attached Files

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

    Re: how to make multiple vlookup?

    If you have "many" sheets to check I think you're better off using a separate formula for each sheet and then pulling the result from the separate formulas.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  15. #15
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: how to make multiple vlookup?

    Change the sheet names in the cell marked in red.
    Attached Files Attached Files
    Please click 'Add reputation', if my answer helped you.

  16. #16
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: how to make multiple vlookup?

    Basically post number 12 & 10 will give you what you want. you just have to change the references.
    so the given formula would be
    In sheet1 B4 fill formula down
    =IFERROR(IFERROR(VLOOKUP(A4,venkat!$A$1:$B$2,2,0),IFERROR(VLOOKUP(A4,santhosh!$A$1:$B$2,2,0),IFERROR(VLOOKUP(A4,vinoth!$A$1:$B$2,2,0),VLOOKUP(A4,Sheet5!$A$1:$B$2,2,0)))),"")


    note: Sheet5 is not in your sample file this is just to show you four vlookup with regards to post#12 & 10 of Alkey & Pete
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  17. #17
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: how to make multiple vlookup?

    Check this.. one also..

    http://www.excelforum.com/showthread...=1#post3405933

    try to adapt according to your file..
    if you face any problem let us know..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  18. #18
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    Hi vlady. And all, now i understand how to make multiple lookup. Thanks to all dear friends....

  19. #19
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: how to make multiple vlookup?

    In your first post in this thread you said "I know vlookup", which is why I kept my replies in a general format - I assumed that you would be able to substitute your VLOOKUP formulae in the appropriate places.

    Pete

  20. #20
    Forum Contributor
    Join Date
    09-19-2013
    Location
    chennai
    MS-Off Ver
    Excel 2007
    Posts
    252

    Re: how to make multiple vlookup?

    its ok pete.. anyway my problem solved, and i understand well about multiple vlookup.. if i need any information i will ask you pete_uk, i sent a friend request to you..

  21. #21
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: how to make multiple vlookup?

    As per your last post.. i think the original problem has been solved..

    please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Make new Masterworksheet out of multiple workbooks with multiple worksheets
    By wali in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-08-2011, 07:11 PM
  2. How to make Vlookup find a record ONLY ONCE ?
    By Mark53 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2011, 02:33 PM
  3. [SOLVED] How to make VLOOKUP work for this
    By DavidJ726 in forum Excel General
    Replies: 3
    Last Post: 05-13-2006, 01:25 PM
  4. [SOLVED] How do I remove the #div or N/A and make it 0 when using VLookup?
    By JeaneIsaac in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-27-2005, 08:06 AM
  5. Using SUM with VLOOKUP can I make it work for me?
    By Julia Osborne in forum Excel General
    Replies: 0
    Last Post: 03-03-2005, 11:36 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