Perform a Lookup with Multiple Criteria

If you've perform lookup before it's usually looking up something with one criteria (i.e., finding the sales for SKU 123). But what if you had multiple criteria to lookup like sales for SKU 123 that are blue and size is small? Wow that's a lot of criteria to put into a lookup function. But it's actually not that hard to do a lookup with two or more values. In this video I'll show two examples of how you can accomplish this task. One example uses VLOOKUP and the other uses INDEX / MATCH. This can be considered a two way lookup, but your can also use this method for a three way ( or more) lookup to do a multiple match (when there a values to lookup in multiple cells or multiple columns).
🔔 SUBSCRIBE to my channel ➜ goo.gl/wN3c3p
🏫 Excel Training ➜ www.exceltraining101.com/p/tr...
📚 Excel Books & Tech Gear ➜ www.amazon.com/shop/dough
⚙️ Tools: Screencasting ➜ techsmith.z6rjha.net/5Qe53
⚙️ Tools: Microsoft Office ➜ microsoft.msafflnk.net/rKL0G
⚙️ Tools: TubeBuddy ➜ www.tubebuddy.com/et101
📝 This description may contain affiliate links and we'll receive a small commission if a purchased is made using the links (but at no additional cost to you). It'll support the channel and so more videos like this can be made. Thanks for your support!
🎁 If you find these videos useful and want to support my channel go to www.buymeacoffee.com/dough
#excel
#msexcel
#doughexcel
~-~~-~~~-~~-~
Please watch: "Convert Table in a PDF File to Excel"
• Convert Table in a PDF...
~-~~-~~~-~~-~

Пікірлер: 130

  • @DougHExcel
    @DougHExcel4 жыл бұрын

    For more videos that cover more lookup concepts see the playlist at kzread.info/head/PL-n8f1cY_Qw95JHWjCjPofsCd7hCWjI8l

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    ...

  • @petermaina7111
    @petermaina71113 жыл бұрын

    This did not just help.....it saved a life..thanks so much Doug H....

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    Glad it helped!

  • @devinkennemore3986
    @devinkennemore39862 жыл бұрын

    Lord have mercy, Doug! I don't have time to watch multiple long advertisements, just to find out if this particular video is going to answer my question! Even if it does answer my question, that's too much advertising time! Sheeeez. At least let me opt out of the ads after 30 seconds!

  • @alexrosen8762
    @alexrosen87627 жыл бұрын

    This tutorial was extremely useful to me because of my work as a business controller. I work with big loads of data and every now and then I need to bring data from other tables and in most cases I will get duplicates if I don't do what you just taught me, and you even gave alternative ways in a 10 minute tutorial! Amazingly useful and effective tutorial. Yet again, thanks a lot Doug. P.S. I am now officially a contextures.com subscriber :-)

  • @DougHExcel

    @DougHExcel

    7 жыл бұрын

    Hi Alex Rosén, glad you liked it, thanks for commenting! Debra at contextures is great!

  • @adelyra
    @adelyra5 жыл бұрын

    Omg! It was that simple! Thank you so much for this video and for explaining how this works so clearly. 👍

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Thanks!

  • @zhaozhang4047
    @zhaozhang40476 жыл бұрын

    very good vid! clear and well-thought detailed instructions! cheers

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    +Zhao Zhang thanks....glad u liked!

  • @MuhammadAhmadseowordpress
    @MuhammadAhmadseowordpress5 жыл бұрын

    Very helpful for me. Thanks a lot for such unique function.

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Thanks Muhammad Ahmad, glad it helped!

  • @pascaltorvic6246
    @pascaltorvic62466 жыл бұрын

    This is Great..I love excel videos from this man

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    Hi Pascal Torvic, glad you liked it, thanks for commenting!

  • @nateamus3920
    @nateamus39204 жыл бұрын

    Solved a MASSIVE headache for me. It took me far too long to find it because I had to learn the limitations of VLOOKUP before I could even understand how to entertain this type of solution. Excellent explanation, wonderful video. Thank you, thank you, thank you!

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Thanks Nateamus, glad it helped!

  • @1krista1969
    @1krista19696 жыл бұрын

    This was a tremendous help! Thank you!!!!!

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    You're Welcome!

  • @neerajraja81
    @neerajraja815 жыл бұрын

    Very well presented and explained !!!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Neeraj Kumar Gupta, glad you liked it, thanks for commenting!

  • @jayeshsuthar8161
    @jayeshsuthar81614 жыл бұрын

    Thanks for this simple explanation

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    You're Welcome!

  • @SnehaAnand2020
    @SnehaAnand20206 жыл бұрын

    Thank you! It's really helpful

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    You're welcome!

  • @fandew30
    @fandew306 жыл бұрын

    Thank you very much for this tutorial :)

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    You're Welcome!

  • @sivasakthisivagnanam886
    @sivasakthisivagnanam886 Жыл бұрын

    Thank you, this helped me tremendously. Cheers.

  • @DougHExcel

    @DougHExcel

    Жыл бұрын

    Thanks, glad it helped!

  • @BachkaBB
    @BachkaBB6 жыл бұрын

    It's very important to me, very helpful, thks bro

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    Thanks Batbayar Nergui, glad it helped!

  • @topeiyiola2803
    @topeiyiola28035 жыл бұрын

    Thank you so much, this was very helpful.

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Tope Iyiola, glad you liked it, thanks for commenting!

  • @TheRoseFloyd
    @TheRoseFloyd4 жыл бұрын

    Super clear, thanks for the guide!

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Hi TheRoseFloyd, thanks for the comment!

  • @azoozsyr7806
    @azoozsyr78065 жыл бұрын

    literally was stuck for 3 hours, thank you! thank you very much!!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Thanks Azooz Syr, glad it helped!

  • @sanupvaidya
    @sanupvaidya4 жыл бұрын

    Great solution. Thanks for the providing multiple solutions!! 👍

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Hi SANUP VAIDYA, glad you liked it, thanks for commenting!

  • @andrewscott9697
    @andrewscott96975 жыл бұрын

    This video is what I have been looking for. Thank you very much very clear

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Andrew Scott, glad you liked it, thanks for commenting!

  • @ibrahimezz4317
    @ibrahimezz43175 жыл бұрын

    Excellent here the example is so simple and effective thanx alot

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Thanks ibrahim ezz!

  • @shrekikiki
    @shrekikiki4 жыл бұрын

    Great video. Thank you sooo much. i watched bunch of videos and yours was so into point and easy to understand. Now my problem solved. Keep up the great work

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Glad it helped!

  • @Dimas-yq3yx
    @Dimas-yq3yx5 жыл бұрын

    Thank you!! This help me so much

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Thanks Dimas, glad it helped!

  • @vanshikachawla1551
    @vanshikachawla15517 жыл бұрын

    Amazing absolutely, you solved one of my biggest problem

  • @DougHExcel

    @DougHExcel

    7 жыл бұрын

    Hi Vanshika Chawla, glad you liked it, thanks for commenting!

  • @harinadhsharma2322
    @harinadhsharma23225 жыл бұрын

    thanks allotted sir very useful

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Harinadh Sharma, glad you liked it, thanks for commenting!

  • @OzduSoleilDATA
    @OzduSoleilDATA6 жыл бұрын

    Ahhhh! You went into spooky land with the array formulas. 😄 Great stuff!!!

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    Thanks Oz! yeh...i try not to get toooo deep with array formulas cause they make my mind melt😵

  • @sasavienne
    @sasavienne5 жыл бұрын

    Thank you so much. That is what I was looking for.

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Glad it helped

  • @sasavienne

    @sasavienne

    5 жыл бұрын

    Yes indeed. It is more than amazing. 🌟 🌟 🌟 🌟 🌟

  • @tamimsajid
    @tamimsajid6 жыл бұрын

    Thank you sir after a long hours search,I got this video. I work for Transport industry which has different location with different prices. It is hectic job, I hope implementing you ideas may work. Thanks

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    Hi Tamim SAJID RASHEED, glad you liked it, thanks for commenting!

  • @JonnyMHenderson
    @JonnyMHenderson5 жыл бұрын

    I've been searching for this solution for hours! Thanks so much. The only critique is that the ads were placed in really inconvenient spots

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Thanks Jonny Henderson, glad it helped!

  • @ThJTP1979
    @ThJTP19794 жыл бұрын

    Thanks finally it help me alot

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Glad it helped!

  • @robertwallace4471
    @robertwallace44715 жыл бұрын

    you saved me man thank you so much

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    You're Welcome!

  • @jasonjackson4555
    @jasonjackson45555 жыл бұрын

    Mind blown!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Jason Jackson, thanks for the comment!

  • @varuninnz
    @varuninnz5 жыл бұрын

    Great!!!!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi varuninnz, thanks for the comment!

  • @ennykraft
    @ennykraft7 жыл бұрын

    I would've done it with advanced filters but it's always interesting to see how people approach these problems.

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    Hi Enny Kraft, thanks for the comment!

  • @user-zq1zq4kg8e
    @user-zq1zq4kg8e5 жыл бұрын

    Thanks

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    You're Welcome!

  • @ziyizhou2501
    @ziyizhou25015 жыл бұрын

    Smart!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi ziyi zhou, thanks for the comment!

  • @rishavchowdhury8426
    @rishavchowdhury84265 жыл бұрын

    fantastic

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi rishav chowdhury, thanks for the comment!

  • @yomaaaaaaan
    @yomaaaaaaan5 жыл бұрын

    First tip with helper coloumn = pure magic!!!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Jens Søgaard, thanks for the comment!

  • @mark91345
    @mark913454 жыл бұрын

    It worked! I am curious, when you entered "Match(1,"... exactly what is it that the "1" (row 1) is doing?

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    The "1" will try to match the number one with the product of the bunch of TRUEs and FALSEs. When the array of TRUEs and FALSEs are multiplied together it becomes an array of zeros or ones. The MATCH of the number one is looking at that array and when it matches, it will bring back the position number of where it matched.

  • @karthickenigoo2476
    @karthickenigoo24765 жыл бұрын

    How to use MAX fun. with including this formula I have table that (Text, Text, Date, Text, Number) how can i find the max size in number column with combination of INDEX Fun. used

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    maybe countif or maxif kzread.info/dash/bejne/o6B5x8l7eM-2fco.html kzread.info/dash/bejne/maiosLuvl8m3dbw.html

  • @amerazazizan5466
    @amerazazizan54666 жыл бұрын

    can a format cell applicable using this vlookup?pls answer this.

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    the output will determine the conditional formatting

  • @JV-xg5jk
    @JV-xg5jk6 жыл бұрын

    Just one thing. I didn't understand why we add 1 in the match function??

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    when the multiplication of the columns occur in the 2nd argument of match it's TRUE/FALSE that essentially become 1s or 0s. The 1st argument in the MATCH function is looking up that number 1 to match those 1s or 0s.

  • @williampeter3441
    @williampeter34415 жыл бұрын

    great yaar

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi +William Peter, thanks for the comment!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi +William Peter, thanks for the comment!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi +William Peter, thanks for the comment!

  • @SanketDube
    @SanketDube4 жыл бұрын

    Index match is awesome

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Yes it is!

  • @apuparmar5995
    @apuparmar59956 жыл бұрын

    Hi there, is there a way to get an output but only based on one of the criteria? lets say you only put in Green, how would it show you a list of all possible greens? I would want to use that in combination to bring up other columns as well, so if I type in green in the cell, it would show widget A small green and widget b medium green (in multiple rows if possible) showing ALL things that contain green? Thanks, I am trying to figure this one out myself.

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    For your situation, maybe try advanced filter kzread.info/dash/bejne/dYVpydCHd5PalbQ.html

  • @waynestrydom6522
    @waynestrydom65226 жыл бұрын

    Is there way to do this with two different formats of data? I want to lookup against a name and a date to return clock in / clock out data, but the data auto formats to an integer when combined..

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    when number value are combined with text, it should end up as a text string. See these other video for insight kzread.infosearch?view_as=subscriber&query=lookup+two

  • @waynestrydom6522

    @waynestrydom6522

    6 жыл бұрын

    Thanks!

  • @markuswinter-cdps3008
    @markuswinter-cdps30084 жыл бұрын

    Thanks for your videos!! Would this work into a data validation list? What I'm trying to do is (using your data set as the example) list all of the various colors for WidgetB, size med in a drop down. Beyond that, let's consider that one of those (say the Blue WidgetB) was a large, not a medium. How would I go about doing this? What I would also like to do (if possible), is create size data validation list based on WidgetB, that removes any repeat answers. So, what I'm running into using an OFFSET formula, is that I'm getting the answers, but I would get this: [Med, Med, Large, Med] as my data validation list, when I would like to only get [Med, Large]. Thanks so much for your time!!

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Hi Markus Winter - CDPS, sorry I don't do consulting. But this video might give some insight kzread.info/dash/bejne/dXuupsyjo9jHic4.html

  • @thechau2490
    @thechau24905 жыл бұрын

    I have oe problem when i use this method to look up 4 conditons. It says N/A when i look up for mobile phone. If i seperate the row that has problem to a new sheet and rewrite the array lookup, it matches

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    Sorry, don’t understand the comment/ question...

  • @amirsultan2877
    @amirsultan28777 жыл бұрын

    Wonderful, but i want to know why you put 1 in the lookup value in match equation.

  • @DougHExcel

    @DougHExcel

    7 жыл бұрын

    The multiplication within the match functions returns a bunch of true/false which relates to 1s and 0s. We want to match the trues (1s) so that is why the number 1.

  • @amirsultan2877

    @amirsultan2877

    7 жыл бұрын

    Thank you very much. It is really helpful tutorial.

  • @Vakies
    @Vakies7 жыл бұрын

    Is there a way to sum up the quantity after you the criteria has been identified? Let's say, we need to know the total quantity under multiple criteria - "Widget A" and "Small" as per your example, and add up the quantity.

  • @DougHExcel

    @DougHExcel

    7 жыл бұрын

    See if this video gives some insights kzread.info/dash/bejne/jHqJxa6Lns-oqbw.html

  • @jakeguydan4332
    @jakeguydan43325 жыл бұрын

    sticking with your example is there anyway for me to lookup ALL widgetBs and have them listed in multiple rows so that you can see all of the data on all of the widgetBs no matter size?

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    there are several ways kzread.info/dash/bejne/YmF-l5iGqa3ZmLQ.html kzread.info/dash/bejne/qZegz6uchNbIpMo.html kzread.info/dash/bejne/lqyY1pRucrebnaQ.html

  • @yvonnedelatorre725
    @yvonnedelatorre7255 жыл бұрын

    What if I want to look up the total quantity for ALL WidgetB’s? I’m trying to figure that out but having the hardest time in doing so!

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Maybe this video will help kzread.info/dash/bejne/jHqJxa6Lns-oqbw.html

  • @cynthiacoc6400
    @cynthiacoc64006 жыл бұрын

    01-02-03-08-09-10-12-15-16-18-22-24​ 02-03-04-05-06-08-14-15-16-17-22-23​ 03-06-07-08-09-10-12-15-16-17-20-23​ 07-08-09-10-12-14-16-17-19-22-23-24 02-03-06-07-09-11-14-15-16-18-21-22​ 03-05-06-07-08-09-11-16-17-20-21-22​ Question: Is there an excel formula that I can use to find a duplicate of all 12 numbers chosen in a lottery database over a series of data collected from 2014 to 2018. Example: I want to see how many times the 12 numbers altogether in row 1 have been duplicated in the whole database. Question 2: Once i am able to find that, is there a way in one formula to have the second row be locate in the series and so on...

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    Seems like the pattern is number and dashes in your list so you could set up the lookup string as the number and then the dash with the repeats (i.e XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX-XX). There a couple options you can use --> FIND function, SEARCH function or the FIND command. Here's some videos for insight kzread.info/dash/bejne/nq2l2qhvepWeos4.html kzread.info/dash/bejne/e4Ces8eJXcWuXbQ.html kzread.info/dash/bejne/nq2l2qhvepWeos4.html this one is FIND&REPLACE, but you select the button to find all

  • @cynthiacoc6400

    @cynthiacoc6400

    6 жыл бұрын

    thank youso much :))

  • @geekybasket
    @geekybasket5 жыл бұрын

    I'm trying so hard to figure this out - but - I want to use drop down lists that I can choose that will show all Widgets, 2nd column to populate with sizes available on widget chosen, 3rd to populate colors available for widget/size combo and then result showing quantity, rather than allowing text input. Your video is the closest I've come to figuring that out - but I also wonder, is it possible for any output to be an image?

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    maybe one of these might help kzread.infosearch?view_as=subscriber&query=lookup+picture

  • @Eric-nb7vg
    @Eric-nb7vg4 жыл бұрын

    hello, do you know a formula equivalent to CTRL + F? thanks

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    Try kzread.infosearch?query=search

  • @AbdullaMadhih
    @AbdullaMadhih6 жыл бұрын

    I've a question. My columns are month, year and sales.I may have more than one Jan and more than one 2018. Let me put is this way, Widget C, Med, Green = 41, and there is this (fake), Widget C, Med, Green = 51. I need a formula to calculate the total of Widget C, Med, Green.

  • @DougHExcel

    @DougHExcel

    6 жыл бұрын

    Have you tried the SUMIFS function? kzread.info/dash/bejne/g6yCyK-jo8vcf84.html

  • @tienchau2984
    @tienchau29844 жыл бұрын

    with the option 2 and using the INDEX function, I was not able to do this for multiple records. I tried to change the array and excel gave me an error. How to do this for multiple records. Your example only showed one record. Thanks.

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    power query may help kzread.infosearch?query=lookup+power+query

  • @neotech2611
    @neotech26115 жыл бұрын

    Why have u put 1 as a look up value in MATCH function

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    it's for an exact match

  • @MehediHasan-de3ku
    @MehediHasan-de3ku6 жыл бұрын

    YOU solved it with 3 Criteria but how will we solve it when this are 4 Criteria? please help

  • @2023noone

    @2023noone

    5 жыл бұрын

    you have to put four arguments instead of 3 in the array functions, i guess

  • @DougHExcel

    @DougHExcel

    3 жыл бұрын

    This might give an idea kzread.info/dash/bejne/mK6asJptm6fXl7g.html

  • @rickeynolte3859
    @rickeynolte38595 жыл бұрын

    Use the DGET function. It's so much simpler.

  • @DougHExcel

    @DougHExcel

    5 жыл бұрын

    Hi Rickey Nolte, thanks for adding to the thread! DGET is sometimes an unknown feature to folks and I've got a video here kzread.info/dash/bejne/YmF-l5iGqa3ZmLQ.html

  • @louiseparrock7997
    @louiseparrock79974 жыл бұрын

    so helpful! Thank you

  • @DougHExcel

    @DougHExcel

    4 жыл бұрын

    You're Welcome!