Excel Two-Way XLOOKUP - How to use XLOOKUP with two criteria in Excel | Nested XLOOKUP Tutorial

Тәжірибелік нұсқаулар және стиль

The XLOOKUP function in Excel allows you to perform a two-way lookup. The XLOOKUP function came out in 2019 and provides much more versatility than VLOOKUP and HLOOKUP. The XLOOKUP function will look up values LEFT, RIGHT, VERTICALLY, and HORIZONTALLY, it returns results based on multiple criteria, it performs an exact match by default, and finally, XLOOKUP will look from last to first.
The key to creating a two-way lookup is to use nested XLOOKUP functions in a single statement or formula. In this video, I demonstrate how to do that by creating a two-way lookup across Q1, Q2, Q3, Q4, and also a number of employees to retrieve values in a bi-dimensional table... effectively creating a double XLOOKUP.
XLOOKUP is much easier to explain, as a trainer, than VLOOKUP, and it's straightforward to demonstrate what it does and to verify if the values you're obtaining are correct.
More relevant XLOOKUP videos:
XLOOKUP presentation:
• XLOOKUP - Excel's new ...
XLOOKUP vs VLOOKUP:
• XLOOKUP vs VLOOKUP & M...
Index & Match vs XLOOKUP:
• Vlookup vs Index and M...
More Microsoft Excel Videos:
• Microsoft Excel Videos
Visit my Microsoft Excel Blog:
chrismenardtraining.com/train...
#xlookup #excel #exceltutorial
And make sure you subscribe to my channel!
- EQUIPMENT USED --------------------------------
○ My camera - amzn.to/3vdgF5E
○ Microphone - amzn.to/3gphDXh
○ Camera tripod - amzn.to/3veN6Rg
○ Studio lights - amzn.to/3vaxyy5
○ Dual monitor mount stand - amzn.to/3vbZSjJ
○ Web camera - amzn.to/2Tg75Sn
○ Shock mount - amzn.to/3g96FGj
○ Boom Arm - amzn.to/3g8cNi6
- SOFTWARE USED --------------------------------
○ Screen recording - Camtasia - chrismenardtraining.com/camtasia
○ Screenshots - Snagit - chrismenardtraining.com/snagit
○ KZread keyword search - TubeBuddy - www.tubebuddy.com/chrismenard
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!

Пікірлер: 108

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

    You just saved our company dozens of hours with this simple little formula. THANK YOU!!!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Glad to help. Thanks, Deidra.

  • @natozeleo7579
    @natozeleo75797 ай бұрын

    o my god .. finally i found this video .... i was literally exhausted to find a solution regarding this .... and u came to my rescue at the right time .. thank you beardo .❤❤

  • @ChrisMenardTraining

    @ChrisMenardTraining

    7 ай бұрын

    Most welcome 😊

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

    Thank you soooo much Chris! I've spent almost an hour trying to figure this out. All the other videos on XLookup were very unhelpful. I just followed yours and got the answer I was looking for. Video saved and subscribed!

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

    This is just what I needed. What an awesome feature. So easy to use. So easy to make work!

  • @user-gd2bd7gh5o
    @user-gd2bd7gh5o10 ай бұрын

    Thank you Chris! Your videos are quick effective and clear!

  • @mlbb-samik679
    @mlbb-samik6793 ай бұрын

    This is the best tip so far for Xlookup, thank you, Sir.

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

    I was about to go towards Index Match from XLookup for the same issue. Didn't know it has nested feature. Saved my day!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Xlookup is amazing. Thank you!

  • @frasman4eva
    @frasman4eva3 ай бұрын

    Chris you are the GOAT!!!! Thank you so much!

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

    Thank you so much! Great explanation - worked perfectly

  • @CDX89treme
    @CDX89treme9 ай бұрын

    The simple explanation, love it

  • @osvaldolagares9639
    @osvaldolagares96395 ай бұрын

    Excellent example. It worked for me transforming cross-sectional data to panel data

  • @johnodor8635
    @johnodor86352 жыл бұрын

    Really straight forward, this helped me solve a complex problem without lots of calcs. many thanks

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    Thank you, John.

  • @fraseroliver17
    @fraseroliver172 жыл бұрын

    Simplest video I found on this. Took this and applied to a massive sheet. Thanks

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    I'm glad it worked. Thank you, Fraser.

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

    That's exactly what i was looking for, thanks Chris!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Glad I could help!

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

    Absolute lifesaver! very well explained, worked perfectly :)

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Great to hear! Thanks, Heath.

  • @ChickenNuggets2028
    @ChickenNuggets202817 күн бұрын

    Thankyou so much for this!! Very helpful

  • @ChrisMenardTraining

    @ChrisMenardTraining

    15 күн бұрын

    You're so welcome!

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

    Very comprehensive for beginners and novices.

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Thank you!

  • @elmhurstenglish5938
    @elmhurstenglish59387 ай бұрын

    Perfect and succinct. Thanks.

  • @DailyMemeZone
    @DailyMemeZone2 жыл бұрын

    This video was very helpful and saved me so much time! Thank you!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    I'm so glad! Thanks, Travis.

  • @helium_globe
    @helium_globe9 ай бұрын

    This is a very helpul tutorial. Thanks!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    9 ай бұрын

    You're welcome!

  • @yun3ro
    @yun3ro9 ай бұрын

    thank you chris this is very2 helpful for me

  • @rexbk
    @rexbk2 жыл бұрын

    Fantastic. Thanks, Chris.

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    Glad you enjoyed it!

  • @patriciamckay9611
    @patriciamckay96112 жыл бұрын

    Thank you, that was so helpful.

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    You're welcome!

  • @dc512
    @dc5122 жыл бұрын

    Life saver! Thanks!!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    Happy to help!

  • @user-ix6uf8jo5w
    @user-ix6uf8jo5w7 ай бұрын

    Extremely helpful. Thank you

  • @ChrisMenardTraining

    @ChrisMenardTraining

    7 ай бұрын

    You're welcome!

  • @MAFA.ACADEMY
    @MAFA.ACADEMY Жыл бұрын

    u are making life easier for me. thank you so much

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Happy to help!

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

    you sir just earned a new sub, thank you

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Awesome, thank you!

  • @jagoag6247
    @jagoag62475 ай бұрын

    Thank you! very well explained!!!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    5 ай бұрын

    You are welcome!

  • @reenadevisingh1007
    @reenadevisingh10073 жыл бұрын

    Awesome! Thank you

  • @ChrisMenardTraining

    @ChrisMenardTraining

    3 жыл бұрын

    You're welcome! XLOOKUP is awesome

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

    Thanks. Very useful!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    I appreciate the positive feedback. TY

  • @SWFT-ld2ru
    @SWFT-ld2ru Жыл бұрын

    Hi Chris, This is really helpful. Thank you for this. However, do you have any idea what the formula should be if both lookup values are approximate values? Example: Temperature Values(Row): Values from 10 to 50 with increments of 1.1 and Humidity Values (Column): Values from 10 to 85 with increments of 5 - Return array is X Values What should be the formula if entered data is Temperature = 22 and Humidity = 37.5? I've tried different lookups and didn't get any luck so far.

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

    Well explained. thank you for sharing :)

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    My pleasure!

  • @simoncodringtoniii8035
    @simoncodringtoniii80352 жыл бұрын

    Got a question. What if I wanted to search for a value in multiple non continuous columns and return they adjacent cell. For example, look up a value in a1 and look up array in b1 to b5 and return c1 to c5 but also do the same for a second lookup array in e1 to e5 with return f1 to f5. So if value from a1 is found in b OR e it will return whats in c or f. Hope that makes sense.

  • @tedelctro6849
    @tedelctro68495 ай бұрын

    you made it easy

  • @GpD79
    @GpD792 жыл бұрын

    This is great. Is it possible to nest if functions in an xlookup? For example, I have a spreadsheet with a bunch of names on there and may see the same Timmy Jones on the spreadsheet 6 times, but I only want the info that has a date between a certain range of dates. For example, only the February date. Could xlookup look for Timmy Jones and spit back info for the entry for February? Does that sound like something xlookup could do?

  • @alimkahya
    @alimkahya2 жыл бұрын

    very helpful, thanks for you

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    You're welcome!

  • @technihal7573
    @technihal75732 жыл бұрын

    Question : how can i derive results for list of lookup_values in one row looking in list of values in column ?

  • @kajipasang
    @kajipasang2 жыл бұрын

    Hi Chris, formula looked simple and easy to understand. But when i use it, it does not work. Return array and lookup array is in different worksheet. Does that make any difference?

  • @mr.strange7944
    @mr.strange79443 ай бұрын

    Great 🤘🤘

  • @ChrisMenardTraining

    @ChrisMenardTraining

    3 ай бұрын

    thank you

  • @skip031890
    @skip0318908 ай бұрын

    You can also use an ampersand to add additional criteria instead of nesting another xlookup.

  • @nafilyounnes2960
    @nafilyounnes29602 жыл бұрын

    Can we use =xlookup(h2&h3,a2:a4&b1:e1,b2:e4)? What's the difference

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

    Thank you! I was looking for a way to do this.

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Glad I could help!

  • @amar292
    @amar2923 жыл бұрын

    Any idea how i can create a criteria for numbers in xlookup?

  • @shahidjawaid6137
    @shahidjawaid61372 жыл бұрын

    What if I have two lookup values, and lookup array in four column, how we will apply formula ?

  • @maimisa
    @maimisa10 ай бұрын

    Great!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    10 ай бұрын

    TY

  • @catherineturner2741
    @catherineturner27413 жыл бұрын

    Chris, how can I combine this with your =TRIM(CLEAN(SUBSTITUTE(CELL,CHAR(160),"")))? I'm trying to run xlookup on data that is copied from a table in word and pasted into excel, but the formatting in the word table seems to be keeping xlooup from returning the data.

  • @mornahum1709
    @mornahum17093 жыл бұрын

    Hey, what can i do if i have a multiple rows for the same name and i want to spill all of them. Thanks

  • @questionresearch8721
    @questionresearch87215 ай бұрын

    Thank you SIR😊😊😊😊😊

  • @ChrisMenardTraining

    @ChrisMenardTraining

    5 ай бұрын

    Most welcome

  • @cristianmottillo4441
    @cristianmottillo44419 ай бұрын

    How would you write the same formula using index and match?

  • @Degio-lb7ei
    @Degio-lb7ei Жыл бұрын

    The Kratos of Excel

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Thank you!

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

    thank you

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    You're welcome

  • @bvargas428
    @bvargas4282 жыл бұрын

    Thank You

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    You're welcome

  • @aldypermadi8964
    @aldypermadi89642 жыл бұрын

    Wow thanks

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    Welcome 😊

  • @marcellot.8631
    @marcellot.8631 Жыл бұрын

    Thanks Chris, I understand it better now, still have a question about it, Can XLOOKUP be used to look up employee birthdays and list their names and dept, etc.. in a dynamic list

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Yes. I would use the Employee ID.

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

    Hi, I, wondering if you can help me craft a formula. I have sheet one where columns beginning with E2 & F2 tho not all complete contain contract & delivery order # s that I want to match against columns beginning with C2 & D2 on sheet 2 (from another source) to obtain a plan # in B2 also on sheet 2. Whatever the right formula is I will just double click to have it expand to the columns I need. Is there a way to craft a formula of sheet 1 to have it use E2 & F2 values (contract & delivery order #) search array of contract # & delivery orders on sheet 2’s C2 and D2 to then give me the corresponding plan # in B2?

  • @GustavoBaner
    @GustavoBaner2 жыл бұрын

    Tks!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    Welcome.

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

    I need help. I have first name, last name and ID needed in another workbook. The workbooks have a different amount of rowa.

  • @PeaceTheBeagle
    @PeaceTheBeagle2 жыл бұрын

    Hi Chris! Thank you so much for this. I have one question here. I am trying to return blank if error. I put [," "] after the formula you showed in this video but it does not work... Is there other way to return blank for error?? For example if you put "Mike" in name column, #N/A would come back in your example but I would like to get blank on that. Thank you so much!!

  • @PPP333

    @PPP333

    2 жыл бұрын

    Hi there, try this =IFERROR(XLOOKUP(H2,A2:A4,XLOOKUP(H3,B1:E1,B2:E4)),"") It should work.

  • @PaulWork-tx8fg
    @PaulWork-tx8fg Жыл бұрын

    Hi Chris, still building out my tracking Xls for my Project team - I'm trying to use Xlookup to do 2 things - 1 match serials numbers in 2 sheets (1 sheet has 50 no duplications - staff sheet, and the 2nd sheet has 200+ with duplications as its a weekly time sheet) - I find all the people matching ok in col F in the staff sheet ie- =XLOOKUP(A2,'RPV Data'!B:B,'RPV Data'!A:A, "...") fyi The "..." just makes it clear no name, then where I'm stuck is if a have a new name on the time sheet I need to add to my staff sheet col F as this use else where to add their hours each week. How can I show any new names on the first empty row at the bottom of the staff sheet Col F, so then I can manual add them in to the col A, B, this will then allow them to be found.

  • @notesfromleisa-land

    @notesfromleisa-land

    6 ай бұрын

    I might suggest that you use power query. I use this application for identifying people on time entries with no permanent record in payroll yet. (If you haven't learned Power Query, it is a great New Year's resolution) You have two data sets (set up as tables). First table is staff data table. You are looking to add to the population of this data as time is incurred in the second table, your time data. (I presume name + hours). It is important to have an identifier (e.g. employee ID) for the names other than how someone enters a person's name in either of your data sets (staff/time) Using PQ, eliminate duplicate names in the time data. This is your "no dupes time data". Merge this table with your staff data table and then filter for null values. Here, you will have a table that is just null values that you can print out and add to your staff data table. Important note: It is better to have a field other than a name (e.g. employee ID) that you wish to return as names in two data sets can have all sorts of issues.

  • @joshauthomas64
    @joshauthomas642 жыл бұрын

    Is it possible to have one piece of criteria look into two separate columns and if there is a match in either of the columns it returns the correct value

  • @joshauthomas64

    @joshauthomas64

    2 жыл бұрын

    Basically is it possible to have two lookup arrays

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

    Helped me pass a coursera course.

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Excellent. Thanks, Kevin!

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

    It didn't work for me, both of my look up arrays are columns.

  • @unicorn9472
    @unicorn94722 жыл бұрын

    cute!

  • @ChrisMenardTraining

    @ChrisMenardTraining

    2 жыл бұрын

    Thank you.

  • @SM-zp2qi

    @SM-zp2qi

    11 ай бұрын

    Cuter than you

  • @venky_stylez
    @venky_stylez2 жыл бұрын

    Ok how to match with between two dates in xlookup in this show me example

  • @jamieh9551
    @jamieh95512 ай бұрын

    Content starts at 1:28

  • @gaetanomaximus8650
    @gaetanomaximus86502 жыл бұрын

    Worst possible place to inject a "BTW," but other than that, thanks!

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

    Video is so blur. Nothing is visible

  • @ChrisMenardTraining

    @ChrisMenardTraining

    Жыл бұрын

    Plays fine for me.

  • @SM-zp2qi

    @SM-zp2qi

    11 ай бұрын

    change the resolution

Келесі