XLOOKUP with Multiple Conditions

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • XLOOKUP is one of the most useful formulas in Excel, and in this video, we explore how to use it with multiple conditions. You would use an XLOOKUP with multiple conditions if you want to satisfy more than one condition, and in this case, there are two, the month and the year. If the formula finds a match for both the month and the year, it will pull the corresponding data.
    The XLOOKUP function is only available in Excel 365.
    I also have a video exploring a single condition XLOOKUP scenario.
    #xlookup #excel #formulas #office365 #excel365 #multiple #conditions
    ~-~~-~~~-~~-~
    Please watch: "Excel Top 5 Flash Fill Excel"
    • Excel Top 5 Flash Fill...
    ~-~~-~~~-~~-~

КОМЕНТАРІ • 92

  • @wildchildOz
    @wildchildOz 8 місяців тому +12

    The cleanest solution that I've seen! Thanks a lot for this!

  • @GreatDataVideos
    @GreatDataVideos 9 місяців тому +5

    I've looked at many videos and yours was the best by far!

  • @OfficeMystic
    @OfficeMystic  2 роки тому +2

    Subscribe for more! tinyurl.com/mu8f835c
    Welcome to Office Mystic! If you have any questions on this function or have recommendations, please comment below. Here is a link to a single condition XLOOKUP: ua-cam.com/video/5rFWLgL0sHk/v-deo.html

  • @cradlemoutain
    @cradlemoutain Рік тому +1

    good example, what if I have more than 1 record that match the multiple conditions, in you example, I have >1 record with January 2011, say 1265, 1111,2111 and so on

  • @wminnebo
    @wminnebo 10 місяців тому +4

    Very clear and concise. Great tutorial!

  • @luigig867
    @luigig867 2 роки тому +6

    Great tutorial!!! Simple and effective

  • @Takeair_Israel
    @Takeair_Israel Рік тому +1

    Thanks a lot for the video. It is very useful. But i still have a question. If i have returt array under conditions how i make it? In your example you have only one correct number "record". If i have 4 different records a,b,c,d where
    1. If a>0, b>=0, c>=0, d>=0 choose a,
    2. If a=0, b>0, c>=0, d>=0 choose b,
    3. If a=0, b=0, c>0, d>=0 choose c,
    4. If a=0, b=0, c=0, d>0 choose d
    Thanks in advance

  • @markk364
    @markk364 2 місяці тому

    This is NOT multiple conditioned IF statement -- this is using concatenation to combine lookup values. Misleading

  • @AnferAlan
    @AnferAlan 5 місяців тому

    I have problems with this formula, what happens if I have 2 instances of the result and I want to see them as you would do, for example if you have 2 records in June 2010, how can I visualize them, because I know that it will find it, but it will only return the value of the first one I really appreciate the hep

  • @LesliePobee
    @LesliePobee День тому

    How do you use the lookup value is a range instead of a single value?

  • @TeamHuanimal
    @TeamHuanimal Місяць тому +1

    THANK YOU!! You saved me nearly two hours of work each week 🙌🏼🙌🏼🙌🏼🙌🏼

  • @juancarlospaz4071
    @juancarlospaz4071 6 місяців тому

    How do I have it return multiple records that meet that condition and add them up. It returns only the first record that meets the criteria, but there are more that need to be added into one. Thank you!

  • @Indrastemcart
    @Indrastemcart 3 місяці тому

    if january and 2011 there, how to show in only one column ? thankyou

  • @orangecountyhouse
    @orangecountyhouse 3 місяці тому

    trying to do it on Google sheets and getting error message "array argument to xlook up are of a different size".

  • @PK-iu9nc
    @PK-iu9nc Місяць тому

    Could you please explain the last parameter in the formula

  • @ElMakk_Med
    @ElMakk_Med Місяць тому

    hh just waw, so neat, so clean, thank you so much

  • @eehutchings
    @eehutchings Рік тому +2

    Honestly best example and also short and sweet. Thank you very much.

    • @OfficeMystic
      @OfficeMystic  Рік тому

      Thanks for commenting! I'm glad you found the video helpful.

  • @fliptop157
    @fliptop157 5 місяців тому

    Thanks! Have a use case at work, and this fits the bill!

  • @percyveer2355
    @percyveer2355 10 місяців тому +1

    easy to follow, short and to the point. excellent, thank you very much.

  • @Uvaz78
    @Uvaz78 6 місяців тому +1

    Briliant!! Very clear instructions !!👏

  • @713theresa
    @713theresa 11 днів тому

    this saves me so much time. Thank you!

  • @elizabethacerra2598
    @elizabethacerra2598 4 місяці тому

    Such a clear video and something I really needed. At my job we use Google Sheets, and excel is very slow on my computer. This formula returns an error in sheets "Array arguments to XLOOKUP are of different size." Any idea how to fix this?

  • @brianross3983
    @brianross3983 7 місяців тому

    Do you see any issues with this formulae as it doesn't return a value. All references are correct =XLOOKUP(A7&B7,'Asia Pacific Master'!B:B&'Asia Pacific Master'!C:C,'Asia Pacific Master'!E:E,"-",0,1)

  • @reyt7349
    @reyt7349 2 дні тому

    Love it!!! Thank you

  • @TheKotakot
    @TheKotakot 2 місяці тому

    this really help me thank you

  • @momofisher4410
    @momofisher4410 19 днів тому

    Thanks à lot, really appreciated. I have been struggling to get my way out until I got this video. 😊

  • @LIV-FREE-VET
    @LIV-FREE-VET 2 місяці тому

    That & concatenate in xlookup is a game changer. Exactly what I needed. Thank you soo much! Subscribing.

  • @jwarn9742
    @jwarn9742 10 днів тому

    I spent an inordinate amount of time today researching what everyone else made soooo complicated. Thanks 😊!

  • @lanceross1035
    @lanceross1035 8 місяців тому

    Good video. Also really liked you you kept it short. I kept trying to nest and couldn't get it to work. I would be old and gray by the time I figured your solution out. Wait. I am already old and gray, but you know what I mean.

  • @Joda-es5xd
    @Joda-es5xd 4 місяці тому

    Great video, wanted to know the difference of this approach to Boolean ? I deal with large data sets snd andand and more guidance on the approach. Thanks

  • @tanweerabbasabbas649
    @tanweerabbasabbas649 Рік тому

    Have aquestion. For lookup range can we select 2 or 3 columns together without using &....????

  • @Shelly-s4o
    @Shelly-s4o Рік тому

    It's a great video. I want to x lookup data in to one column but only if that column is empty then i want to take data from other column. so basically i want to x look up data from two columns in one cell. how can i do. when i use two xlookup it gets data from first column and doesn't take data from other column. Would you be able to help ? Thank you

  • @zeromeansnada
    @zeromeansnada 4 місяці тому

    I needed to know how to do an XLOOKUP across two sheets and two conditions and watched countless videos that took forever to give the most complicated way to do XLOOKUP. I've now learned there are multiple ways to write these formulas that still follow the same general rules. The difference is you can go super complicated OR you can do it this way by Office Mystic. By far the most straight-forward explanation. A short video that gets straight to the point and easy to understand. WOW!! Thank you and Subscribed.

  • @yoongiwifeinthenextlife
    @yoongiwifeinthenextlife 11 місяців тому

    Can you do this for many columns? What if you want a "fuzzy" lookup where there may be a slight change in spelling in one of your columns?

  • @mukundsetlur3141
    @mukundsetlur3141 Місяць тому

    Awesome! I badly needed in one of my work needs, thank you very much for sharing!

  • @peculiarfilm
    @peculiarfilm 7 місяців тому

    Wow life saver! I wonder what the performance is compared to something like index match

  • @AdebolaAnimashaun-b1y
    @AdebolaAnimashaun-b1y 2 місяці тому

    Couldn't you have just looked up using a single data since they're in different columns? Like just using the year, or just the month? I don't really understand the use case here

    • @OfficeMystic
      @OfficeMystic  2 місяці тому +1

      Good afternoon. I just wanted to show the process in action and thought it would be easier by keeping everything on the same tab to cut down on the time.

    • @AdebolaAnimashaun-b1y
      @AdebolaAnimashaun-b1y 2 місяці тому

      @@OfficeMystic Got it, thanks for responding

  • @turoochoa2546
    @turoochoa2546 7 місяців тому

    First time seeing one of your videos..... Well deserved LIKE, and sub!

  • @SAFIULLAHSUMON1
    @SAFIULLAHSUMON1 Місяць тому

    Thanks a lot.

  • @tnex
    @tnex 11 місяців тому

    God bless you, being looking for this video for weeks now, hope it works on Table.

  • @james338
    @james338 Місяць тому

    Excellent!

  • @rishikeshjoshi770
    @rishikeshjoshi770 27 днів тому

    Thanks.

  • @KB-nk7nk
    @KB-nk7nk 9 місяців тому

    What if I have three criteria, where two are in columns and one is in a row?

  • @akashpatil2676
    @akashpatil2676 Рік тому

    How can we do xlookup if we have several variables
    Like if cell A1 = 1234 AND B1 = PPPP, PUT value as correct ESLE Other condition like mention above

    • @OfficeMystic
      @OfficeMystic  Рік тому

      Sorry for the long delay, I'm sure you've figured it out by now. I've been away but will be returning soon. You can string as many conditions you want with a "&"

  • @danielrosochacki1761
    @danielrosochacki1761 5 місяців тому

    Cool stuff! Thx for this, helped me a lot 😀

  • @stevegayle6923
    @stevegayle6923 Рік тому

    hello I am trying to use the xlookup. i have 2 criteria but based on this criteria i need to pull data from 2 different sources. example: i have a choice between service and construnction (first criteria) and 2 different lists of locations (i have both of these in dropdowns and working.) the result of these 2 criteria need to return the labor dollar based on whether service or construction. please help

    • @OfficeMystic
      @OfficeMystic  Рік тому

      Hello Steve. I'll need to take a look at the spreadsheet. If you're comfortable with sending me a modified version that contains only the first 5 rows, I can take a look at it; OfficeMystic@protonmail.com. I think it just needs an IF statement with the XLOOKUP nested in. I'm working on another project tonight, but I can take a look at it tomorrow.

  • @black_south5222
    @black_south5222 8 місяців тому

    You are the best i was looking for this 2 days now

  • @IsrafilHossein-t6i
    @IsrafilHossein-t6i 2 місяці тому

    Not working in my google sheet

    • @OfficeMystic
      @OfficeMystic  2 місяці тому

      I'm sure there are different functions in Google sheets. Unfortunately, I'm not familiar with it.

  • @MelBaena
    @MelBaena 6 місяців тому

    So helpful, thank you!!

  • @felicetapaganao3873
    @felicetapaganao3873 4 місяці тому

    great tutorial. Thank you!!!

  • @nm90halisi
    @nm90halisi Рік тому

    Exactly what I was looking for. Cheers!

  • @jeffsteinhauer3885
    @jeffsteinhauer3885 Рік тому

    Having an issue when using data in tables. Does this method not work in tables?

    • @OfficeMystic
      @OfficeMystic  Рік тому

      It should work in tables as well. What kind of problem are you having?

  • @aquayum72
    @aquayum72 Рік тому

    Fantastic, the formula worked first time. Great, should be saving me a tonne of time at work now.

  • @shoaibmohammad9847
    @shoaibmohammad9847 Рік тому

    thank you so much sir
    but i have one question can you help me please ?

  • @sandeepkumar270
    @sandeepkumar270 7 місяців тому

    THANKS A LOT VERY USEFUL

  • @azharmubarok7790
    @azharmubarok7790 11 місяців тому

    Amazing tutorial...thanks

  • @1HDBIZ
    @1HDBIZ Рік тому

    It's so easy to demonstrate on a worksheet with so little data. Let's see you try to do this on a worksheet with something like 20,000 rows. Excel chokes, hangs and I have to force-close it (I have 16GB of RAM). So, does not really work in my case.

    • @OfficeMystic
      @OfficeMystic  Рік тому +1

      This is simply to show how a formula works.

    • @BeaverMonkey
      @BeaverMonkey Рік тому +1

      16gb? What is this 2015? I've had over 100k rows and excel doesn't choke.

    • @1HDBIZ
      @1HDBIZ Рік тому

      @@BeaverMonkey Well, I've entered the formula on my Excel data (with 3 conditions). Now, after about an hour of calculating, Excel shows at the bottom 1%. The computer is barely responsive, CPU at 100%. This is going to be an all nighter...hope the computer doesn't crash mid way.

  • @TheFroman09
    @TheFroman09 2 роки тому +1

    Exactly what I needed. Thanks!

    • @OfficeMystic
      @OfficeMystic  2 роки тому

      I'm glad it was helpful and that you were able to find my video! Have a great weekend.

  • @j_barrett
    @j_barrett 9 місяців тому

    Very helpful! Thanks!

  • @usmaniqbal1836
    @usmaniqbal1836 Рік тому

    Perfect! Please share data file for practice

  • @tanweerabbasabbas649
    @tanweerabbasabbas649 Рік тому

    learnt from you😘

  • @lianchingyap5023
    @lianchingyap5023 5 місяців тому

    Thanks!!!

  • @avramidisjeremy
    @avramidisjeremy 7 місяців тому

    so good, so easy!

  • @sidghosalkar8291
    @sidghosalkar8291 5 місяців тому

    This video help me a lot and saved my time👍thanks

  • @vai_ieky
    @vai_ieky Рік тому

    thankyou

  • @waqassm1
    @waqassm1 9 місяців тому

    Really helpful.

  • @JoriammarieSanchez
    @JoriammarieSanchez Рік тому

    YESSSS

  • @RustonRemote
    @RustonRemote Рік тому

    THIS IS WHAT I NEEDED

  • @jofartknocker
    @jofartknocker Рік тому

    You don't need absolute values?

    • @OfficeMystic
      @OfficeMystic  Рік тому

      No, it's not necessary. If you can provide an example where it's not working, I can take a look at it.

  • @destineem8975
    @destineem8975 Рік тому

    THANK YOU! You are a lifesaver!

  • @bella1210
    @bella1210 2 роки тому

    Thank you so much, sir! so so helpful.

    • @OfficeMystic
      @OfficeMystic  2 роки тому

      Thanks for dropping by and leaving a comment. I'm glad the video was helpful!