How To Use Excel FILTER Function With Multiple Criteria & Return Only the Columns You Need

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 687

  • @LeilaGharani
    @LeilaGharani  Рік тому +45

    Our Black Friday Sale is here! 🎉 Master data analysis, Excel, Power BI, and more...
    Grab exclusive discounts today 👉 link.xelplus.com/yt-bf-savings
    This offer won’t last long-don’t miss it!

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

      Hi,
      It's really a good learning!
      Just need one query resolution, Can we use both include & exclude(Not(is number(value))) criteria.
      Eagerly Waiting for your response on my query.

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

      THANK YOU! After spending AGES trying to use the built in filters to do what I wanted, my brain finally kicked into gear and thought "didn't Leila do a video on this?". If I had only thought of you first, I would have saved loads of time. Boomer alert -getting old sucks.

    • @G-Man01
      @G-Man01 Рік тому

      Hi Leila,
      I need some help! I have searched through your videos but cannot find the solution for where there are unique values in each column. ie. Each column contains data for a specific month vertically. The vertical data local to that month contains business names and customer names. I want a function to only limit the results displayed to the chosen month. ie. return specific columns (not rows). Every video I've seen on the filter function as well as index/match functions thus far have only been solutions where each column is a singular type of identifier and the results work for rows. Does a solution exist that can produce columns as a result?

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

      As I understand what you're writing, Row 1 is a Header. Column A is January, Column B is February. etc. ect. Rows 2:nn is data. You want to only display a particular month's data (presumably on another worksheet. Won't choosecols work?.@@G-Man01

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

      ​​@@G-Man01You could combine the Transpose function perhaps in your formula. So before applying the filter, transpose the data, so that the column entries become row entries, and then the Filter function should work as per your requirement.

  • @iREZARECTEM
    @iREZARECTEM Рік тому +30

    Your videos have freed upto six hours of work time for me on a daily basis. So now I pretend to be working on those completed tasks during my new found down time. Many thanks for adding hours to my day!

  • @vishal_shanbhag
    @vishal_shanbhag Рік тому +8

    I don't think I've ever seen anyone teach this good.

  • @DeviAndriyanti-s2h
    @DeviAndriyanti-s2h Рік тому +6

    Oh Leila, you don't know how this formula has saved my life. Thanks so much!!!

  • @samanthadaroga4811
    @samanthadaroga4811 Рік тому +26

    Quite a helpful video. The way you construct your videos with explanatory graphics, clear slow audio, overall managed pace & a moderate video length makes for swift learning of MS Excel. Thank you kindly.

  • @GaragePrimo
    @GaragePrimo Рік тому +3

    I'm doing some other tutorials where they don't teach by making mistakes. I love how you're teaching by making mistakes! It helps align our thinking and understanding with yours.

  • @gynoval
    @gynoval Рік тому +4

    I love how detailed you always are showing different scenarios of data extraction on 1 function. Thank you Leila!

  • @KaioVilasBoas-j2i
    @KaioVilasBoas-j2i 8 місяців тому +4

    Your teaching is incomparable. Thank you very much!

    • @KaioVilasBoas-j2i
      @KaioVilasBoas-j2i 8 місяців тому +1

      You blow my mind and make smile along the video. 😆

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

    This is by far the best excel video ever. Brilliant fucntion and super explained. You can also reorder your coloms in a different order when you as you do as in the example 2;4, you can also 2;4;3 the the coloms will be displayed in that order in the filter function.

  • @saibharadwajbadda4539
    @saibharadwajbadda4539 Рік тому +8

    I used your Excel videos to give training in my office and it was grand success. Thanks a ton!!❤
    Except this particular use case covered in this video...! I also covered a similar case.

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

      Happy to hear the content is helpful at your work!

  • @pc-doctor1416
    @pc-doctor1416 Рік тому +1

    Wow, your logical reasoning is amazing. How you retain all this in your head astounds me.

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

    I built a dashboard using all of this in the past week. Choose columns is a nice add! Thanks for all you do.

  • @MrMorichalion
    @MrMorichalion Рік тому +16

    This was a neat, clean, and entirely useful tutorial on a common thing one does in SQL.
    You've saved me time with this. Thank you.

  • @wannabedal-adx458
    @wannabedal-adx458 Рік тому +1

    This is a better way to handle AND or OR functions. I had so many problems in the past with those 2 commands that this seems much easier. Thanks for pointing this out Leila!

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

    I have watched so many videos on building filters, but this is crystal clear, thank you. I finally get it!

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

    Thanks a ton.
    I never used Filter and Index formula before, but thanks to your tutorial, I am now able to use both to create a Income Statement where for any drop down product, the whole statement changes.

  • @My_Mediterranean_Travels
    @My_Mediterranean_Travels 5 місяців тому +1

    You re soooo good in explaining both the usage of this function AND also the logic (Boolean logic to be precise) behind it. Many, many thanks for this excellent upload.

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

    Wonderfull! I used the Index funcition to select the collumns I wnanted exclude for the result. This command "choose" is much more easier to use. Really excell is turning easy.

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

    Top notch techniques for, essentially, doing multi-criteria lookups with just one formula. I have a table of data where Col A and B define a unique row and I need to find Col C. This becomes: Choosecols(Filter((theTable, theTable[Col A]= X) * (theTable[Col B]= Y), "NF"),3). Maybe this needs to be added to an IFError Function in case there are no matches. In any case, great stuff. Many thanks. I have been a subscriber for quite awhile and really appreciate all the great videos you produce.

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

    Wow... I've seen a bunch of formulas use the multiplication thing {true,false,etc...} before but never understood why. Thank you for that VERY clear, simple explanation! SUBSCRIBED!!!

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

    This is sooo helpful... I use the formulas to NO END!! you explain each step so well. TY TY!! I love these instructional videos!

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

    Really enjoyed this, I like the fact you stress bracketing, it's so easy to slip up using say sumproduct with multiple and / or criteria, re bring back certain columns, you can also use another filter;
    filter ( filter range, { 1,0,1,1} ) , where 1 = column to return 0 = ignore. but you can't reorder with this, but

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

    This tutorial is fantastic for understanding the FILTER function! I've covered similar Excel functions on my channel, and I love seeing how different approaches can solve similar problems. Keep up the great work!

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

    Thank you so much Leila. I always learn something new from your videos. Great things about your videos is you always dive deeper into the function. Since I started using FILTER function it totally changed my efficiency. ❤

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

    Excellent details and explanations. Had an issue trying to filter some data and never got the exact result needed but this just made my day. Thank you!

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

    Hello Leila!
    I've tested with three AND criteria and worked!
    Same syntax shown. Just added a third.
    Thanks again!

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

    Hello teacher, I am from India. The way you understand in all your videos is very simple.

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

      Because of you, I got the job of MIS manager of a company. You are very dear, I respect your heart.🙏

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

      Wow, that's great. Congratulations!

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

    You changed my life; you're the best.

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

    As usual, the Excel advice was top notch but the Columbo clip put it over the top! 🤓

  • @JOSE-du7mu
    @JOSE-du7mu 3 місяці тому

    Great reminder tip at the end 08:55. (OR belong together), then (AND).

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

    Great video. You are number 1 teacher in Excel. I am very happy with your videos.

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

    wow the multiplication and addition explanation was spot on!

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

    Loads of thanks for this very very valuable insight on the filter function, I was struggling so hard to get the multiple selections work and you just made me understand how filter works. Thanks thanks thanks.......

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

    So the need for the capability to do this appeared to me today about 5h ago at work. Just got home and saw you uploaded this 3h ago. Couldnt have timed it better.

  • @HalpPlsxx01
    @HalpPlsxx01 7 місяців тому +1

    This is a freaking game changer. 100000/10. You are amazing! Subscribed!

  • @mikedulrich
    @mikedulrich Рік тому +3

    An additional challenge to the challenge… How can you make the challenge problem a little more user friendly? For example, instead having a user enter in the filter criteria in a cell or use multiple drop downs, a user could check boxes for whichever departments they wanted to include. This would offer a more dynamic solution that wouldn't require using multiple cells for criteria of the same column. I was working on this problem last week and the solution stumped me for a little while but I eventually figured something out that didn't require macros.

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

    Every time I am looking for solutions to my problems, you seem to upload a video for it. Can you read my mind? 😊😊

  • @surajpawar9501
    @surajpawar9501 10 місяців тому

    Thank You Leila, Your videos has been helping me a lot. God bless you and Thank You for your efforts taken to prepare these videos

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

    Wonderful, concise, and detailed. Exactly what I needed. Thank you! God bless!

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

    As always, @leilagharani pulls through. I restructured a table I use pulling it apart to simplify data entry. I didn't know how I'd tie them together, but I knew I could count on Ms Gharani on showing me how.

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

    Holy Sheet! - Super video just like the rest of yours. Have been using "AND" criteria logic frequently since seeing this video and understood "OR" as well. Had a bit of an epiphany today. "AND" and "OR"s can be nested as needed. Today I needed =IF((A1="X")+((A1="Y")*(B1="Z")),TRUE,FALSE). Worked like a charm! I'm sure there is a limit to the amount of nesting you can do, but this is a game changer. Thaks so much for these videos!

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

      Yay, that's great to hear! Glad it was helpful.

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

    You are just amazing !!! The way you presents and scenarios discussing are not just a mere exhibition of your talents rather an excellent way to making audience enthusiastic and helping them to think independently and develop accordingly...!!! HATS OFF 🤩🤩

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

      Thank you so much for the kind feedback!

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

    Instead of putting the column number in the choosecolums function, you could do a match lookup, this way you make it dynamic and don't need to remember which columns you chose when you wrote the formula, and the index function could also be used for the same goal, but that would requiere vstack for your lookups

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

    I love your videos Leila. They're so easy to understand and also the way you speak, you got a cool diction. My native language is spanish but I understand every word you say!

  • @marcjacquemet--fotalch
    @marcjacquemet--fotalch Рік тому

    Hammer Video! Genau das habe ich diese Woche gesucht! Ich bin genau auf diese Lösung gekommen. Hier habe ich aber noch eine Lösung gesehen, auf die ich nicht gekommen bin: Choosecols! Super! Danke! 🙏

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

    Love this tutorial. FILTER is an amazing function to use. Thank you Leila 🙏🏾

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

    Excellent and helpful LOL at Gillian Andersen.

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

    I'm improving indeed! I got it right thru your tutorials. Thanks, thanks!

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

    Very well explained 👍. Thank you leila ...Love u ..from India ...🇮🇳🇮🇳

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

    Your videos are so well done and you're an Excel Queen!!

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

    Thanks a lot Leila, I spent my afternoon trying to figure out how to return non adjacent columns with Filter(), and choosecols() was the answer. Many thanks

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

    This is a very clear guidance on very useful Excel functionality. Explaining logical operators is not easy but Leila presents it very well. Thanks.

  • @PrabhakarMurthy-y5s
    @PrabhakarMurthy-y5s Рік тому

    Truly amazing Leila, thank you for making dummies smart 🙂

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

    Thank You for this video. You have been very helpful. I have been looking for a filter function for Excel. I'm looking forward to trying this out for myself.

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

    Thank you a lot Mrs.Leila.

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

    Sooo cooool. I tried to apply *, + and - operators also in IF function and it works wonders. I hate AND/OR function, visually it confuses a lots especially in nested IF functions. Thankkks

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

    Watching ur video is always a charm!! Got inspired and started my channel on easy excel learnings also but knowledge you have is wonderful and inspiring.

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

    U can use xmatch to create the trues/falses when searching for multiple values in the first column and feed xmatch result to filter.

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

    Mam you're Excel teaching skill is so cool, I understood everything in this video thanks for taught like this 😊😊.

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

    Wow. Many thanks Leila. You are a life saver .

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

    Very clear "to the point" explanation, thank you!

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

    Thank you so much for that Leila. I have been using a double filter function for ages to get only the columns that I want. Very tedious when there are a lot of columns to put all those 0's and 1's. I will be using Choosecolumns from now on

  • @ameliabatiancila
    @ameliabatiancila 4 дні тому

    Hi Leila,
    I’ve been following all your guidance to help improve my office work, and I’m really grateful for your insights.
    I do have a concern about one of my files. It has too many columns, and most rows include sub-rows. I need to filter based on the main column title, but I’m worried the sub-rows won’t remain linked to their corresponding main rows when filtered.
    Could you please guide me on how to arrange or manage this?

  • @bhaktilife.108
    @bhaktilife.108 Рік тому

    You are an amazing trainer. Thanks a lot Leila.

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

    Thanks for another great tutorial, Leila. You continue to be the greatest.

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

    Excellent explanation!
    Although wordier, I do favor the OR and AND functions … because I’ve worked with them longer. I will definitely give the type coercion a try.

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

    It was very useful and you explain perfectly! Thank you Leila, you're a great teacher 🙏

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

    I’m always learning in this channel!! Thank you, Leila 🥰

  • @sudhasomasundaram1509
    @sudhasomasundaram1509 10 місяців тому

    Absolutely love the way you explain it step by step. I do have one question. In your example, if you have lets say 10 departments that you have to choose, is adding them one by one the only option or can I just choose a range of the selected departments. That is my current problem. I did go through your video and simultaneously produce the results, but I had to add each one of the 10 departments in the formula I wanted to choose. I am thinking there is definitely a better way to do that, right? Please let me know. Thank you so very much Leila!

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

    Great presentation on Filters.
    You learn so much more than just the Formula with Leila....,

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

    Very useful, especially the last part. Bracket is super important

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

    This video came in just when I needed it! Thank you 🙏

  • @spilledgraphics
    @spilledgraphics Рік тому +4

    Excellent video Leila, another option for multiple criteria could be: (and I learned this from Mike Girvin = @ExcelisFun )
    = FILTER( TableDiv, ISNUMBER( XMATCH( G1:G2, TableDiv[Division], 0 ) )
    It should work, since there's no link for the file, I can't test it, but it should.
    Nice intro for CHOOSECOLS function, thank you!

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

    I have recently started your excel course on udemy. Must say it’s pretty detailed. I am loving it. It’s very resourceful

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

    Thank you Leila!
    Loud and clear tutorial!

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

    Coincidentally I was trying to solve exactly the same problem a few minutes before this video dropped.
    I had not even searched on Google or UA-cam yet 😊

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

    Huge thanks from France❤❤

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

    Great job on leveraging the new Filter Functions. Besides an innate interest it's a bit entertaining to see how much more you can leverage the functions!

  • @RoHo-b2z
    @RoHo-b2z 3 дні тому

    Excellent teaching!

  • @dipakkumarsingh9776
    @dipakkumarsingh9776 10 місяців тому

    Awesome knowledge you have.. the way you make us understand any formula, is very simple but powerful👍

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

    this formula was my life saver, thank you

  • @victorhache6687
    @victorhache6687 17 днів тому

    So clear and concise! Love the References to the Iron Lady (played by Gillian Anderson) and Detective Columbo (Peter Falk) - LOL!!!

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

    One who is well versed with SUMPRODUCT, will understand this AND OR concepts quickly. Thanks Leila :)

  • @a.achirou6547
    @a.achirou6547 Рік тому

    Excellent explanation!! Thank you Leila.

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

    Great info. as always. Thanks for showing an actual "mistake". For me, that hits the part of my brain that really integrates all the elements of the formula and makes me think "aha".

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

    Leila you're a Star....

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

    Super clear explanation. Love this.

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

    Always thumbs up for your tutorials Leila, thank you!

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

    Your videos are AMAZING! I'm finally able to make my Excel sheets work for me and not do my head in. Thank you so much!! Your videos are a game-changer!!

  • @RaviJain-qz6mh
    @RaviJain-qz6mh Рік тому

    You always help people keep ahead of other people. Your name should be written with golden laters.

  • @zakir960
    @zakir960 9 місяців тому +1

    Excellent Presentation

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

    Thank you 🙏. This is pure GOLD.

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

    Very nice use of ChooseCols function.

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

    Well explained Leila. I have seen so many videos on Filter function this one is awsme.

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

    Thank you very much Lila ben, my 2 yr old dream came true today. This video helped to solve that problem

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

    Mind-blowing video. I definitely use this function next time I prepare reports.

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

    You are great I learnt not only new formulae and also got to know about true false function how to use where to use * or + the reason behind it.

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

    AWESOME exactly what i needed!

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

    This video is spot on in what i really needed now! Huge thank you!

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

    Thnaks Leila, certanilly for every video you share. I have a query on this data itself. Condering we have 2 creteria to filter the data and I want to show the results as if 2nd creteria has no value in that case the fucntion should show all the data considering only 1st creteria. and once we input some data in the 2nd creteria should filter the data based upon 2 conditions. if you have uploade any video on this please share the link or help to manage this.