Return Multiple Match Results in Excel (2 methods)

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

Комментарии • 1,2 тыс.

  • @LeilaGharani
    @LeilaGharani  4 года назад +26

    Check out the Complete Guide with 7 different approaches including an easy to digest (and remember) 2-step version: ruclips.net/video/5cBUIa31AiA/видео.html
    Grab the file I used in the video from here 👉 pages.xelplus.com/multiple-matches-file

    • @fizz113
      @fizz113 4 года назад +3

      Quick question, what if you have multiple criteria? I want to use an OR function, but excel won't let me.

    • @Mr.Shorts896
      @Mr.Shorts896 4 года назад

      why this video not downloading

    • @davecastro6072
      @davecastro6072 4 года назад

      how do you use this function where the data set is on a different sheet? I got the function to work but for some reason it will not return the last value in the data set. I think it has something to do with subtracting the first row. INDEX('Pool List'!$B:$B,AGGREGATE(15,3,('Pool List'!$A:$A=Agricola!$A$2)/('Pool List'!$A:$A=Agricola!$A$2)*ROW('Pool List'!$A:$A)-ROW('Pool List'!$A$1),ROWS('Pool List'!$A$2:A3)))

    • @md.tanwir9108
      @md.tanwir9108 4 года назад

      First of all thank you, I am learning from a smart brain.... 😇. I am facing a problem. The problem is if I have say in columns these values 30 40 50 60 70. Now if my value is below30 or 30 it should show 30.similarly, If I type below say 50 but greater than 40 it should show 50. The same for others.This I have solved. Now the problem starts. Say if in column with value 50 (as above) I have other values in the same column say 2, 3, 4, 5. Now I want that in that selected column with value 50, if my value is between 2 and 3 it should select the higher value 3. Or if my value is between 4 and 5 it should select 5.
      Now this process of selecting should be same for other column values such as 40 60 or 70.
      I hope you understand what I have to say, otherwise I can post xl sheet to you. Thank you.

    • @keithau8159
      @keithau8159 3 года назад

      Hello my friend,assume you are from India beauty from the bottom of my heart@@@@@Guar lick kee?Kee sai ho?Aip ma num kee hei?Mei lai num keith.Mei ah bee Hindi,Hindu she lai dar hung Indian,Pakerstain dos bananna jar dar hung.Mei jar lai ha hung,Bo ho tek kee hung.Mei soon lai jar dar hung.So kar lee ah.Bar mei link it,mei ban lee.

  • @dannywoods5216
    @dannywoods5216 5 лет назад +10

    If I'd still be in school and you were my teacher, you'd be my favourite one! I could just listen to you all day. And thanks for the lesson, it's excellent! Like!

  • @praveenk1672
    @praveenk1672 4 года назад +19

    I must admit,this is one of the best tutorial I have seen. I am sure I wouldn’t have done this without your tutorial. Day 1 - tried method 2, day 2 - went for method 1. Excellent tutorial.

  • @mostafa4321
    @mostafa4321 5 лет назад +9

    Had to watch it twice to wrap my head around it. Excellent as usual.

  • @paulbaker916
    @paulbaker916 5 лет назад +10

    A masterclass. You have a great teaching style. Clear, concise, personable and your cadence is just right. I've watched many Excel tutorials and you're up there with the best

    • @LeilaGharani
      @LeilaGharani  5 лет назад +2

      I'm very happy to hear that. Many thanks for the nice feedback Paul.

  • @pillionrider3972
    @pillionrider3972 5 лет назад +29

    The second formula was easier to digest 🤣, while the first one was intimidating..I am a regular follower of your tutorials...this one seemed to be the most challenging...keep updating...

  • @brandonsouthern1015
    @brandonsouthern1015 3 года назад +2

    Amazing!! Thank you so much - nobody at my work could figure this out so now I look like a genius! :)

  • @tylerroenicke8253
    @tylerroenicke8253 6 лет назад +5

    You do such an excellent job giving a higher-level explanation while reviewing basic concepts. I really enjoy it.

  • @brieucballuais9204
    @brieucballuais9204 3 года назад

    Leila ! I am a young entrepreneur, and using your Excel course made me switch from an expensive program (375USD / month) to NO-COST solutions on excel. You can't imagine how much I want to thank you for literally saving my company during this Covid Hard time. MERCI beaucoup !!!
    Brieuc, from Thailand

    • @LeilaGharani
      @LeilaGharani  3 года назад

      That's great to hear! All the best for your business!

  • @luapnomis1234
    @luapnomis1234 4 года назад +3

    Your presentation is the most complete and specific I've ever seen. The value of this is critical to our analysis for a software implementation. Keep up this good work, you're a star!

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

    Thank you so much for your explanation. This helps me a lot! Been searching for this past two days and I was stuck before I came here.

  • @N_O_R_R_I_E
    @N_O_R_R_I_E 4 года назад +136

    I need paracetamol after watching that lmao ! that was tough to keep up with !

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

    I've been looking through old and unhelpful videos to find exactly this solution, This video was extremally helpful and well explained.

  • @sandip_bettereveryday
    @sandip_bettereveryday 6 лет назад +8

    Very useful and informative video. Thank you. Power Query option also works great. After importing the range into Power Query, we can Group By using "Division". Thereafter adding a custom column using Table.Column function which will create a list of "Apps" column values. Then we can extract those values either through "Expand to new rows" or "Extract values" using a custom delimiter in the same row.

  • @alexuci
    @alexuci 3 года назад

    I've been using method 1 for years, never understood how it works, just that it does. Now it makes sense, but I'll go with method 2 to make my life easier. Thank you so much my Excel goddess.

  • @sriche01
    @sriche01 4 года назад +6

    Great Video! One thing about the textjoin option. You can use a character code for a delimiter. Like CHAR(10) then apply text wrapping and it will stack the results in one cell.

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

      Underrated comment

  • @daniel7899999
    @daniel7899999 4 года назад

    I had to watch this twice but you explained it very well. I am the Excel expert at every place I have worked but I am impressed by this. Good job.

  • @francineperret-gentil717
    @francineperret-gentil717 5 лет назад +20

    Amazing tutorial, really very well explained. A huge thank you! was exactly what I was looking for.

  • @bjarneivarsbjarnesen9759
    @bjarneivarsbjarnesen9759 4 года назад

    This tutorial has helped me quite a lot with filtering data in Excel. 10/10 for showing step-by-step with explanations for the first method.

  • @excelisfun
    @excelisfun 6 лет назад +21

    Great video on this very popular topic : )

    • @LeilaGharani
      @LeilaGharani  6 лет назад +3

      Thank you Mike :)

    • @inderr7bajaj
      @inderr7bajaj 3 года назад +6

      One genius is replying to another... Great!

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

    Thank you so much for all your support.

  • @barttitulaerexcelbart9400
    @barttitulaerexcelbart9400 6 лет назад +13

    Hello Leila. Great video. Excellent explained. John Walkenbach and mr Excel would be proud on your “mega formula”! I prefer the second solution but can you return the result in multiple cells without power query? For less advanced users I would however prefer another solution: add a help column with: =IF(cell=cell-tobe-found, row() , “ “). Then continue with your solution to use SMALL to collect all row numbers.

  • @gracerogers1314
    @gracerogers1314 2 года назад

    This is one of those things where I didn't realize I needed it until I saw your video title... Great video, even 3 years later it still works! Thanks :)

  • @Luciano_mp
    @Luciano_mp 6 лет назад +9

    Tutorial bem explicado, o método dois é menos complicado, bons exemplos. Obrigado Leila.

  • @AbuTalha-eo7pr
    @AbuTalha-eo7pr 5 лет назад +2

    You are an excellent teacher.
    I prefer the first method.

  • @williandepaulagomes4557
    @williandepaulagomes4557 5 лет назад +7

    You're amazing teaching us. Congratulations!!! 😍

  • @michaellayne9832
    @michaellayne9832 5 лет назад +2

    I've been looking for this type of solution for a month, and finally, I found this video. Well explained and easy to follow. Thank you!

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      I'm glad to hear the tutorial is useful Michael.

  • @hosseinmarvi
    @hosseinmarvi 5 лет назад +6

    Thank you very much for your great videos, Leila. I've learned a lot since the time I found your channel.
    I've tried some formulas to extract unique values in order to make a dynamic drop-down list. They all work but the main problem that I haven't solved yet is the slow calculation of these formulas after the main dataset expands. This AGGREGATE formula in this video performs fast and great, but is there a way to change it in order to produce unique values only?

  • @muhaiminmahfudzjauhar
    @muhaiminmahfudzjauhar 5 лет назад

    Hi. Leila Ghaharani.
    Before asking, I say I love you, I'm really lucky to find your channel. and help the crowd.
    I thank you very much. wish you a long life.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      Thanks for the kind words. It's great to have you here.

  • @mohammedsaqib8483
    @mohammedsaqib8483 5 лет назад +3

    Ma'am i believe that array formula will slow down the calculation if the data is huge so thumps up for first formula👍

  • @robertof.3313
    @robertof.3313 5 лет назад

    Thank you Leila. I used several tricks I learned on your course "Top Excel tips and formulas" in order to prepare an "automatic module for orders" for my job (I had to translate formulas in Italian too). I used expecially vlookup but this system has been the cherry on the cake of my module. My boss appreciated it.

    • @LeilaGharani
      @LeilaGharani  5 лет назад

      I'm very happy to hear that Roberto. Glad the course was helpful for your work.

  • @a1marky421
    @a1marky421 4 года назад +5

    A quarter of the way into it I was like "Oh I see" half way mark "Nope. I quit."

  • @stormchaser3115
    @stormchaser3115 4 года назад

    If there is such a thing as an Excel celebrity, you are definitely one of them! Thank you so much, worked perfectly.

    • @LeilaGharani
      @LeilaGharani  4 года назад

      I'm honored :) Glad it's useful.

  • @LLB552
    @LLB552 4 года назад +4

    What if you have multiple criteria, .e.g. "Game" AND "Revenue"? Is there a way to add aggregate functions? Thank you! Great content!

    • @numba1druma1
      @numba1druma1 3 года назад

      Same question, did you ever find an answer?

    • @numba1druma1
      @numba1druma1 3 года назад

      figured it out thought id share the solution for anyone who comes this video and wants an answer to this question. Just concatenate your lookups and criteria's with an "&". It is important that you do not put the individual concatenations in their own parenthesis because it will break. There is no need to use CSE because the aggregate function is already handling the array. heres an example of what I did to return the second iteration of this lookup when several conditions are met. Thanks @Leila Gharani your RUclips and XelPlus courses are required for my employees.
      =IF([@Order]=3,ROW(INDEX(StitchBond[RIGHT],AGGREGATE(15,3,((StitchBond[RIGHT]&StitchBond[DT DESCRIPTION]=[@[RFGRC'#]]&$P$6)/(StitchBond[RIGHT]&StitchBond[DT DESCRIPTION]=[@[RFGRC'#]]&$P$6)*(ROW(StitchBond[RIGHT])-1)),2))),"")

  • @scottwillis9474
    @scottwillis9474 2 года назад

    Honestly one of the greatest bits of formula I have ever seen. Hopefully one day I can write it without needing to watch this video, but until that day we have Leila! 11/10

  • @furkanakay4954
    @furkanakay4954 4 года назад +3

    Leila if i want to set both “Game” and “Productivity” as a criteria, what can i do for it?

    • @wayneedmondson1065
      @wayneedmondson1065 4 года назад +1

      Hi Furkan.. saw your question. If you have new dynamic array aware EXCEL, this would extract all the records with Game and Productivity and also sort according to Division: =SORT(FILTER(A5:C14,(A5:A14="Game")+(A5:A14="Productivity")),1). If you don't have new EXCEL, it can still be done, but is more complicated. I hope this helps. Good luck!

    • @furkanakay4954
      @furkanakay4954 4 года назад +1

      @@wayneedmondson1065 thanks for response

  • @rehanahmad1306
    @rehanahmad1306 4 года назад

    Your videos are simply amazing

  • @alessandrozenati3618
    @alessandrozenati3618 5 лет назад +4

    Hello! Is there a way to separate each matched value in Part 2 so that the apps returned are in separate cells in the same column? Can this column then be reference for a drop down box? Thanks!

    • @danni8806
      @danni8806 4 года назад +1

      i use left/right formulas with a find function to find all the cells to the left/right of the comma and break it out. little painful but i had a maximum of ~3-5 returning data fields using the second method. i.e =RIGHT(X2,LEN(X2)-FIND(",",X2)) on a cell where you input the formula from method 2 and used a comma as your delimiter, this will give you everything to the right of your first comma, rinse and repeat.

    • @alvaro_gavilan_rojas
      @alvaro_gavilan_rojas 4 года назад +1

      Thanks Danni for that solution, it works well. Alessandro, I also solved this with "text to colums" in "data", but one has to copy and paste as values to get a kind of CSV in a cell. It is not automatic, as you may need to transpose the values again to have a column for the drop down box.

  • @menoc0
    @menoc0 2 года назад

    Dear Leila.... amazing content with very simple instructions

  • @ReedoAce
    @ReedoAce 4 года назад +3

    Hey Leila, great video! are we able to concatenate the results into one cell? preferably without use CSE??

  • @finanzalex
    @finanzalex 4 года назад

    Leila. You are amazing teacher. I love the way you explain things. Your RUclipss are my go to instead of any other place. I really thank you for all your youtube help. You are the best.

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

    replacing the iferror with if function is really helpful, thanks a lot for the sharing.

  • @loveyoutube22
    @loveyoutube22 4 года назад +3

    Why don't we just do a pivot like: Rows: Division, Apps. I did it and looks just the same and only takes one minute

  • @tanvirahsan1149
    @tanvirahsan1149 2 года назад

    Thank you for the second solution. You saved my life! I had a long worksheet to do this exact summery. Thank you again!

  • @SeleTraining
    @SeleTraining 4 года назад +3

    Hey Leila, there is a new trick to handling multiple returned matches and it's super simple. The solution we've been waiting for: ruclips.net/video/eqB2mklvWSg/видео.html

    • @LeilaGharani
      @LeilaGharani  4 года назад +3

      Great video. FILTER is the best! I covered it here ruclips.net/video/RBZHf9XPQ6w/видео.html and will be releasing more videos about it soon.

    • @Shimmer007
      @Shimmer007 2 года назад

      This actually works well for repeated values

  • @jylaurenzf.gabiola2773
    @jylaurenzf.gabiola2773 Год назад

    Thank you! Thank you! Thank you!
    For hours I had been looking for a formula just like the TEXTJOIN portion of your video. Your explanation of both methods was very easy for me to follow.
    Can't say thank you enough for this video!! Keep up the wonderful work!

  • @v2walia
    @v2walia 3 года назад

    Simply Amazing .... great fan of your teaching

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

    best explanation of such complicated function... hats off to you...

  • @ximalpopoca
    @ximalpopoca 3 года назад

    saw ur video like.... hundread times and everytime i got amused... congratz really!

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

    This was so helpful! Thank you so much!

  • @henrygrubb5104
    @henrygrubb5104 2 года назад

    This is a game changer! I love your work. Thanks!

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

    Hello Leila, I have been trying for sometime now to extract Dr account table and Cr Account table from my chart of accounts table. This approach has worked really well for me.
    Thank you very much Dear, really appreciate it.

  • @s.vigneshkuttan3020
    @s.vigneshkuttan3020 4 года назад +1

    Wow.. Really helpful.. You are walking us through each steps very clearly, so that anyone grasp it quickly. Thanks a lot Leila.

  • @timmybendigo6742
    @timmybendigo6742 4 года назад

    Unbelievably useful. The second solution was exactly what I needed i.e. inserting the results into a single cell.

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

    It worked like a charm. Thanks Leila!

  • @ApexTrainingLLC
    @ApexTrainingLLC 4 года назад

    Great video! Thanks for posting!

  • @timothymoroney2252
    @timothymoroney2252 4 года назад

    Thank you A MILLION TIMES. I used the textjoin function with googlesheets because I don't have the current version of excel, and it works exactly as mentioned. Thanks again :)

  • @DipoSatriaR
    @DipoSatriaR 2 года назад

    Its crazy that I finally understood this. Great tutorial !!

    • @LeilaGharani
      @LeilaGharani  2 года назад +1

      Glad to hear that!

    • @DipoSatriaR
      @DipoSatriaR 2 года назад

      @@LeilaGharani I've copied and paste some similar formula in the past, but this really the first time I understood whats going on. Many many thanks

  • @kosmocramer9468
    @kosmocramer9468 3 года назад

    Very useful formula! It will take my team of financial analysts to the next level. Each analyst currently uses about 30 separate excel files to analyze accounting trends on small businesses, and they will now be able to review in 1 file. Big time-saver to be able to select their name from a dropdown, and have all their accounts in a list, that is then fed into database retrieve sheets.

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

    Thanks so much for your video

  • @Hunspikey75
    @Hunspikey75 2 года назад

    Very clever way to fuel the index function, I mean the row range stepping - nice!!!

  • @williamkeung5956
    @williamkeung5956 2 года назад

    This video inspires my creativity and I manage to produce great solution to my work. Appreciated 👍🏻

  • @VllKlNG
    @VllKlNG 5 лет назад +1

    Wow - thanks for the tips. I never really knew that IFERROR slowed down large data formulas - I'll be switching over to the IF now. Oh and this video just made my job much easier - Thanks again!

  • @Jmm47614
    @Jmm47614 3 года назад

    First formula easy to keep up with if you have at least intermediate knowledge of excel. Excellent tutorial

  • @tusharjoshi9898
    @tusharjoshi9898 2 года назад

    Very nicely explained and in detail.. It worked for me WONDERFULLY !!! Thanks a lot Leila...

  • @thomasdolon2334
    @thomasdolon2334 3 года назад

    great job! easy to understand. this video solved my problem with my tracker.

  • @mohammadshaqra8534
    @mohammadshaqra8534 2 года назад

    I was searching for this for a while now, thank you for the tutorial.

  • @shahabuddinshakeel9167
    @shahabuddinshakeel9167 3 года назад

    Great video.
    Will be practicing this.

  • @prakashsrinivasan7840
    @prakashsrinivasan7840 2 года назад

    Iam awe struck by ur excel knowledge hats off you😱😱😱

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

    Excellent tutorial, been searching for this for long. thank you for your work

  • @ashokwwf
    @ashokwwf 2 года назад

    Wow! Your Excel skills are really impressive.

  • @HYN_Media
    @HYN_Media 2 года назад

    I can't believe I actually managed to follow that and make it work. Huge help. Thanks

  • @mehidyhassan2447
    @mehidyhassan2447 4 года назад

    Looking for a video to understand "INDEX & AGGREGATE" & got this, just great. Keep it up.

  • @timbrykkk
    @timbrykkk 4 года назад

    Hello Leila! The way you present really suits me. Clear and easy to follow. You know what, I would also like to be a geek like you. It's just... I'm 34 and feel it's too late...

  • @stefangude9666
    @stefangude9666 3 года назад

    SUPER tutorial. Definitely a channel to subscribe to. Thanks.

  • @kendethar
    @kendethar 3 года назад

    Your Excel formulas are almost as beautiful as you. Thank you!

  • @arkobabi
    @arkobabi 6 лет назад +2

    you have brilliant skill of teaching

  • @AmitMehndiratta
    @AmitMehndiratta 2 года назад

    You are amazingly wonderful. I have been watching your videos for a while now and they all have been very helpful.

  • @joshdrew3574
    @joshdrew3574 4 года назад

    Absolutely delighted with this TEXTJOIN formula thanks so much !

  • @robertbyars9687
    @robertbyars9687 2 года назад

    Thank you for this tutorial, I have been looking for a while how to do this.

  • @shahrozenasir9516
    @shahrozenasir9516 3 года назад

    Amazing, very helpful!

  • @Rohitvzg
    @Rohitvzg 2 года назад

    Very nicely explained madam. Thank you

  • @quinnkay4409
    @quinnkay4409 2 года назад

    Awesome! I will definitely make use of this!

  • @kalondalubaba4528
    @kalondalubaba4528 4 года назад

    thanks, your post saved my day

  • @AccountingandQuickbooks
    @AccountingandQuickbooks 4 года назад

    Nice video thanks for posting

  • @theofficialseries
    @theofficialseries 5 лет назад

    I am sure if I see your videos regularly so In a long run I definitely become an omneceant teacher.
    Thanks for your precious videos.
    Keep going on

    • @LeilaGharani
      @LeilaGharani  5 лет назад +1

      You're very welcome Faisal. I hope the videos will be helpful.

    • @theofficialseries
      @theofficialseries 5 лет назад

      @@LeilaGharani ya it is.

  • @sahilsharma_jsr
    @sahilsharma_jsr 4 года назад

    One of the best explanation mam for this problem, I saw multiple blogs and videos but mostly were not able to explain.. Thank you so much mam 🙏🙏.

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

    that was an intense mind bending 10 minutes

  • @abejay56
    @abejay56 2 года назад

    Hey thanks, you saved me a lot! Great explanation.

  • @lizbethavila1551
    @lizbethavila1551 2 года назад

    This worked amazing! Used it to return FEMA disasters since one zip code can have multiple disasters

  • @arulthangavelu3639
    @arulthangavelu3639 6 лет назад +2

    Explained clearly - Really admire your skill in excel and simple demonstration.

  • @satyanarayanapatnaik9037
    @satyanarayanapatnaik9037 3 года назад

    Thank you very much for this valuable video

  • @ashoksahu9546
    @ashoksahu9546 4 года назад

    Excellent explanation.

  • @joanstoner6252
    @joanstoner6252 4 года назад

    Thank you, thank you, thank you!! This is exactly what solved the problem I have been searching for all day - almost gave up. Much appreciated!!!

    • @LeilaGharani
      @LeilaGharani  4 года назад

      My pleasure. I'm happy it's helpful for you.

  • @antoines.7682
    @antoines.7682 8 месяцев назад

    Thousands thanks Leila!!! This helped me a lot!! Especially the textjoin. For a dynamic Calendar. (Which Formatting still needs improvement😁)

  • @mikeandrus9138
    @mikeandrus9138 3 года назад

    I've literally been looking for this formula, written just this way for years. Thank You!!

  • @kapiljoshi2569
    @kapiljoshi2569 5 лет назад

    U shouldn't ask if video was useful coz ur videos r always useful for excel users... Awesome video as always!!

  • @LuisGarcia-mn4jg
    @LuisGarcia-mn4jg 5 лет назад

    Leila you ROCK! It was the solution to what I was looking for and it was easy to understand!

  • @alokghosh9311
    @alokghosh9311 4 года назад

    Excellent Explanation...

  • @maliprinc99
    @maliprinc99 2 года назад

    I keep coming back to yours tutorials thank you for sharing.