+ Reply to Thread
Results 1 to 14 of 14

Vlookup multiple criteria returning multiple values

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    102

    Vlookup multiple criteria returning multiple values

    I was able to search for Excel FORMULA that returns multiple values with only one criteria (I believe this function has been asked quite frequently). What I am needing right now is to return multiple values with multiple criteria (at least 3).

    I attached a sample file for you guys to have a better understanding of my query.
    LOOKUP MULTIPLE VALUES WITH MULTIPLE CRITERIA.xlsx

    Hope you guys can help me with this.

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Vlookup multiple criteria returning multiple values

    HI,

    Find the updated sheet
    Punnam

  3. #3
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Vlookup multiple criteria returning multiple values

    Here!

    On Summary sheet Cell A11 -

    Please Login or Register  to view this content.
    Commit Using Ctrl+Shift+Enter
    Last edited by NeedForExcel; 04-16-2015 at 05:05 AM. Reason: Corrected Formula
    Cheers!
    Deep Dave

  4. #4
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    102

    Re: Vlookup multiple criteria returning multiple values

    Wow! That was fast guys! And both suggestions work great!

    One last help though, can you guys add, say, I wish to display every thing without the filters by default. Meaning, by having the cells B1:B3 empty, all record will show up. You may modify the structure if that will make it easier.

    Once again, thanks a lot!!
    Last edited by ykobure; 04-16-2015 at 05:14 AM.

  5. #5
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Vlookup multiple criteria returning multiple values

    Here!

    Please Login or Register  to view this content.
    By the way this formula is a bit flexible too, if you change the heading number on the summary sheet, the formula will always get the right data..

  6. #6
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Vlookup multiple criteria returning multiple values

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Paste this in Cell B11 and use Ctrl+Shift+Enter an drag it down

    Punnam

  7. #7
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    102

    Re: Vlookup multiple criteria returning multiple values

    You work wonders, guys!

    But as my last request (hopefully the last one), I was trying to incorporate all your formulas into my workbook, however I am having a tough time customizing it. If it is not that too much ask, I am attaching the "sanitized" workbook I am working. Would appreciate if you can incorporate all your formula here instead.

    LOOKUP MULTIPLE VALUES WITH MULTIPLE CRITERIAV2.xlsx

    Really appreciate you guys. Thanks

  8. #8
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    102

    Re: Vlookup multiple criteria returning multiple values

    Sorry, the A3 Label should be Model, and not Number.

    Thanks

  9. #9
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Vlookup multiple criteria returning multiple values

    Here!

    Please Login or Register  to view this content.
    Ctrl+Shift+Enter

  10. #10
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Vlookup multiple criteria returning multiple values

    Hi ykobure ,

    Thus the data in " REFRIGERANT " are dupicate or unique ?

    Punnam

  11. #11
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    102

    Re: Vlookup multiple criteria returning multiple values

    Quote Originally Posted by Punnam View Post
    Hi ykobure ,

    Thus the data in " REFRIGERANT " are dupicate or unique ?

    Punnam
    Hi Punnam,

    They are not unique as their difference lies on the Number column.

    Thanks!

  12. #12
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Vlookup multiple criteria returning multiple values

    Did the formula I posted above work?

  13. #13
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    102

    Re: Vlookup multiple criteria returning multiple values

    I was able to complete this task thanks to you guys, @Punnam and @NeedForExcel!!Really appreciate your efforts, you guys got different approaches but both worked well.

    I think I am already good with what you guys have provided, but if you still want to stretch some brain muscles, my challenge is to have it behave like the Excel Filter function.
    • If B1:B3 are empty, display all records
    • If B1 gets an entry (B2:B3 are still empty), the list will adjust base on the criterion in B1
    • If B2 gets an entry (B1 has the previous entry, B3 is still empty), the list will adjust base on the criteria in B1 and B2
    • If B3 gets an entry (B1:B2 have the previous entries), the list will adjust based on the criteria in B1:B3
    • If any from B1:B3 gets an entry (the other two are empty), the list will adjust based on the criteria on the selection between B1:B3

    Again, thanks for all your inputs!

  14. #14
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Vlookup multiple criteria returning multiple values

    hi ykobure ,

    Find the updated sheet,

    Punnam

+ 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. Vlookup returning multiple values
    By mridul127 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-01-2015, 09:18 PM
  2. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  3. Replies: 6
    Last Post: 03-24-2011, 06:19 AM
  4. Vlookup, returning multiple values
    By alex.radford in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2007, 09:47 AM
  5. [SOLVED] vlookup returning multiple values
    By soph in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2005, 01:05 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