XLOOKUP with Multiple Conditions

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 108

  • @wildchildOz
    @wildchildOz 10 месяцев назад +12

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

  • @backwardsbikeguy7769
    @backwardsbikeguy7769 День назад

    thank you so much! I was rushing the end of a project and needed this refresher! 10/10

  • @zeromeansnada
    @zeromeansnada 6 месяцев назад +2

    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.

  • @GreatDataVideos
    @GreatDataVideos 11 месяцев назад +5

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

  • @Uvaz78
    @Uvaz78 7 месяцев назад +1

    Briliant!! Very clear instructions !!👏

  • @jwarn9742
    @jwarn9742 2 месяца назад

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

  • @alyssaschiffmann2416
    @alyssaschiffmann2416 27 дней назад

    Agreed on all the other comments - simple solution! No other videos were what I was looking for. Thanks!

  • @elizabethacerra2598
    @elizabethacerra2598 6 месяцев назад +1

    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?

  • @wminnebo
    @wminnebo Год назад +4

    Very clear and concise. Great tutorial!

  • @TeamHuanimal
    @TeamHuanimal 3 месяца назад +1

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

  • @luigig867
    @luigig867 2 года назад +6

    Great tutorial!!! Simple and effective

  • @percyveer2355
    @percyveer2355 Год назад +1

    easy to follow, short and to the point. excellent, thank you very 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.

  • @rishabhp90
    @rishabhp90 Месяц назад +1

    Really helpful ❤

  • @johnwilson7845
    @johnwilson7845 13 дней назад

    Very nicely done! Thank you. In this specific example though, wouldn't you think Slicers would be a faster intuitive way of solving the problem?

    • @OfficeMystic
      @OfficeMystic  12 дней назад

      Yes. That would definitely be a viable option. I will cover it in a future video once I have time to focus on the channel again.

  • @LIV-FREE-VET
    @LIV-FREE-VET 3 месяца назад

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

  • @issamkhirallah5288
    @issamkhirallah5288 21 день назад

    great explanation and easy solution. Thank you!

  • @mandypaulissen
    @mandypaulissen 16 дней назад

    Simple but good solution!!!👍🏻

  • @Joda-es5xd
    @Joda-es5xd 5 месяцев назад

    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

  • @aquayum72
    @aquayum72 Год назад

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

  • @turoochoa2546
    @turoochoa2546 8 месяцев назад

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

  • @momofisher4410
    @momofisher4410 2 месяца назад

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

  • @mukundsetlur3141
    @mukundsetlur3141 3 месяца назад

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

  • @AvgAsianJoe
    @AvgAsianJoe Месяц назад

    HI.. I am trying to do a X lookup to match conditions for 2 cells. The first condition is a column and the 2nd condition is a row. Match the 2 conditions and than go down that columns to return that value that match the row. Can you help.

  • @713theresa
    @713theresa 2 месяца назад

    this saves me so much time. Thank you!

  • @tnex
    @tnex Год назад

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

  • @mikaleenmellor9125
    @mikaleenmellor9125 Месяц назад

    I'm trying to use two drop down menus that would determine which colomn. I have a list of states with tax rates for sigle or married filers. I have another sheet that has the state drop down and tax filing status, but it needs to reference the single rates when that drop down is selected and the MFJ aray column when that is selected in the drop down. to complicate things a bit more. some states have multiple tax rates depending on income ranges. so I'm not quite sure how to use the xlook up with "if" formulas to accomplish my goal.

  • @tanweerabbasabbas649
    @tanweerabbasabbas649 Год назад

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

  • @black_south5222
    @black_south5222 10 месяцев назад

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

  • @PK-iu9nc
    @PK-iu9nc 2 месяца назад

    Could you please explain the last parameter in the formula

  • @juancarlospaz4071
    @juancarlospaz4071 8 месяцев назад

    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!

  • @peculiarfilm
    @peculiarfilm 9 месяцев назад

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

  • @nm90halisi
    @nm90halisi Год назад

    Exactly what I was looking for. Cheers!

  • @LesliePobee
    @LesliePobee Месяц назад

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

  • @learner745
    @learner745 Месяц назад

    My second criteria/condition is to check if B2 is equal or greater than today.
    without what I'm calling a 2nd condition, my formula looks like this =XLOOKUP(DataTable[NAME],LoansTable[Name],LoansTable[Installment],"") but i want it to return blank if the date in the data table from G5 is less than today.
    Would be able to guide?

  • @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

  • @lanceross1035
    @lanceross1035 10 месяцев назад

    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.

  • @AnferAlan
    @AnferAlan 7 месяцев назад

    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

  • @azharmubarok7790
    @azharmubarok7790 Год назад

    Amazing tutorial...thanks

  • @Indrastemcart
    @Indrastemcart 5 месяцев назад

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

  • @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.

  • @reyt7349
    @reyt7349 Месяц назад

    Love it!!! Thank you

  • @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

  • @james338
    @james338 3 месяца назад

    Excellent!

  • @mitchell123456789011
    @mitchell123456789011 Месяц назад

    Thank you!

  • @destineem8975
    @destineem8975 Год назад

    THANK YOU! You are a lifesaver!

  • @RustonRemote
    @RustonRemote Год назад

    THIS IS WHAT I NEEDED

  • @felicetapaganao3873
    @felicetapaganao3873 6 месяцев назад

    great tutorial. Thank you!!!

  • @yoongiwifeinthenextlife
    @yoongiwifeinthenextlife Год назад

    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?

  • @MelBaena
    @MelBaena 8 месяцев назад

    So helpful, thank you!!

  • @j_barrett
    @j_barrett 11 месяцев назад

    Very helpful! Thanks!

  • @sandeepkumar270
    @sandeepkumar270 9 месяцев назад

    THANKS A LOT VERY USEFUL

  • @ElMakk_Med
    @ElMakk_Med 3 месяца назад

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

  • @waqassm1
    @waqassm1 11 месяцев назад

    Really helpful.

  • @orangecountyhouse
    @orangecountyhouse 5 месяцев назад

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

  • @danielrosochacki1761
    @danielrosochacki1761 7 месяцев назад

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

  • @usmaniqbal1836
    @usmaniqbal1836 Год назад

    Perfect! Please share data file for practice

  • @sidghosalkar8291
    @sidghosalkar8291 6 месяцев назад

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

  • @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: ruclips.net/video/5rFWLgL0sHk/видео.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

  • @KB-nk7nk
    @KB-nk7nk 11 месяцев назад

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

  • @avramidisjeremy
    @avramidisjeremy 8 месяцев назад

    so good, so easy!

  • @TheKotakot
    @TheKotakot 4 месяца назад

    this really help me thank you

  • @rishikeshjoshi770
    @rishikeshjoshi770 2 месяца назад

    Thanks.

  • @DomiVersaix
    @DomiVersaix 8 дней назад

    Hi, thank you for the video! Can you help me to combine multiple conditions on a single array? For example, IF( XLOOKUP(lookValue, lookupArray, returnArray) = {"Condition1" OR "Condition2"}, "ThenValue", "ElseValue")
    My multiple condition is all within the same column for my IF statement, if this makes sense...Arrrgh!

    • @DomiVersaix
      @DomiVersaix 8 дней назад

      Found it!! This can be done by combining the IF statement with an OR statement: IF(OR(Xlookup_condition1,Xlookup_condition2), ThenValue, ElseValue)...maybe, we'll see :)

  • @shoaibmohammad9847
    @shoaibmohammad9847 Год назад

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

  • @SAFIULLAHSUMON1
    @SAFIULLAHSUMON1 3 месяца назад

    Thanks a lot.

  • @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!

  • @tanweerabbasabbas649
    @tanweerabbasabbas649 Год назад

    learnt from you😘

  • @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?

  • @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.

  • @lianchingyap5023
    @lianchingyap5023 7 месяцев назад

    Thanks!!!

  • @leequist2908
    @leequist2908 17 дней назад +1

    But this Not multiple conditions. This is multiple criteria. This video title is misleading though the content is solid.

    • @OfficeMystic
      @OfficeMystic  16 дней назад +1

      You're right. I don't know what I was thinking.

    • @leequist2908
      @leequist2908 14 дней назад

      @ Don’t be too hard on yourself. The content is solid and the delivery is flawless. Kudos and keep serving us with these career boosting videos. Cheers

  • @fliptop157
    @fliptop157 7 месяцев назад

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

  • @vai_ieky
    @vai_ieky Год назад

    thankyou

  • @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.

  • @JoriammarieSanchez
    @JoriammarieSanchez Год назад

    YESSSS

  • @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 "&"

  • @IsrafilHossein-t6i
    @IsrafilHossein-t6i 4 месяца назад

    Not working in my google sheet

    • @OfficeMystic
      @OfficeMystic  4 месяца назад

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

  • @AdebolaAnimashaun-b1y
    @AdebolaAnimashaun-b1y 4 месяца назад

    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  4 месяца назад +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 4 месяца назад

      @@OfficeMystic Got it, thanks for responding

  • @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.

  • @brianross3983
    @brianross3983 9 месяцев назад

    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)

  • @markk364
    @markk364 4 месяца назад +1

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