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

Поделиться
HTML-код
  • Опубликовано: 16 июн 2024
  • Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
    Enhance your Excel skills with our in-depth tutorial on using the FILTER function with multiple criteria. This video will guide you through complex data analysis techniques, including sorting data by different parameters and extracting specific columns. Learn how to make your Excel workbooks more dynamic and responsive!
    ⬇️ Download the file I used in the video from here: pages.xelplus.com/filter-file...
    In This Tutorial:
    ▪️ FILTER Function Basics: Understand how to apply the FILTER function with multiple criteria.
    ▪️ AND & OR Conditions: Learn to filter data using both AND and OR logic.
    ▪️ Sorting and Selecting Columns: Discover methods to sort data and choose specific columns for display.
    ▪️ Practical Examples: Apply these techniques to real-world scenarios, enhancing your data analysis skills.
    How can you use the Excel FILTER function with two criteria in different columns? I made a short video about this some time ago: • How to FILTER with Mul... - The video today gives you a more detailed explanation as well as more examples on how to use the FILTER function to tackle different data challenges.
    The FILTER function in Microsoft Excel allows you to filter a range of data based on criteria. This criteria applies to a single column. But what if you need to use the Excel Filter function and apply a condition that applies to multiple columns? You might need to include two or more columns. You might need to account for AND conditions - i.e. the criteria applies to each column, or you might need an OR condition: the criteria applies to either column. There is a trick you can use with the FILTER function that helps you account for multiple columns easily. Once you learn how Excel calculates the FILTER function in the background, you'll learn how to account for any condition, value or criteria you need. Learning this will make you an Advanced Filter functions specialist :).
    I'll also show you the new way of using the FILTER function and returning only the columns you need: Combine FILTER with the CHOOSECOLS function to return only the columns you need.
    00:00 Using Multiple Criteria within the Excel FILTER Function
    00:41 Multiple Criteria With AND
    04:58 Multiple Criteria With OR
    05:51 FILTER function to return specific columns with CHOOSECOLS
    07:09 FILTER Multiple Criteria In The Same Column
    09:19 Wrap Up
    🎬 LINKS to related videos:
    Excel Lookup to Return Multiple Values with FILTER Function: • Excel FILTER Function ...
    ➡️ Join this channel to get access to perks: / @leilagharani
    👕☕ Get the Official XelPlus MERCH: xelplus.creator-spring.com/
    🎓 Not sure which of my Excel courses fits best for you? Take the quiz: www.xelplus.com/course-quiz/
    🎥 RESOURCES I recommend: www.xelplus.com/resources/
    🚩Let’s connect on social:
    Instagram: / lgharani
    LinkedIn: / xelplus
    This description contains affiliate links, which means at no additional cost to you, we will receive a small commission if you make a purchase using the links. This helps support the channel and allows us to continue to make videos like this. Thank you for your support!
    #Excel

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

  • @LeilaGharani
    @LeilaGharani  Год назад +38

    Hope you found this useful. Why don't AND, OR functions work? I cover more details on pairwise lifting, broadcasting and functions that return scalar values in my course here: www.xelplus.com/course/new-excel-functions-course/ - this will explain why this method works and others may not.
    Grab the file I used in the video from here: pages.xelplus.com/filter-file-download

    • @nirmalyaprasadapatraaasia3754
      @nirmalyaprasadapatraaasia3754 11 месяцев назад +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 11 месяцев назад +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 10 месяцев назад

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

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

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

  • @gynoval
    @gynoval 11 месяцев назад +2

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

  • @iREZARECTEM
    @iREZARECTEM Год назад +18

    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!

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

  • @Donkeys_Dad_Adam
    @Donkeys_Dad_Adam Год назад +2

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

  • @samanthadaroga4811
    @samanthadaroga4811 Год назад +25

    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 Год назад +2

    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.

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

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

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

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

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

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

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

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

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

    I found it really informative and it's great to know there's a more efficient way to filter data. I especially appreciated the clear examples you provided. Keep up the good work!

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

    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.

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

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

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

    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!

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

    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.

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

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

  • @BigSunshine55
    @BigSunshine55 11 месяцев назад +2

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

  • @pc-doctor1416
    @pc-doctor1416 Год назад

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

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

    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

  • @vishal_shanbhag
    @vishal_shanbhag 10 месяцев назад +1

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

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

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

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

    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!

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

  • @unknowngamer5743
    @unknowngamer5743 17 дней назад

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

  • @user-vi7eo1di5c
    @user-vi7eo1di5c 9 месяцев назад +1

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

  • @paulmartineau3850
    @paulmartineau3850 10 месяцев назад +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.

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

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

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

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

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

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

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

  • @user-cz8yx7lq1e
    @user-cz8yx7lq1e 2 месяца назад +2

    Your teaching is incomparable. Thank you very much!

    • @user-cz8yx7lq1e
      @user-cz8yx7lq1e 2 месяца назад +1

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

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

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

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

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

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

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

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

    You changed my life; you're the best.

  • @a.achirou6547
    @a.achirou6547 Год назад

    Excellent explanation!! Thank you Leila.

  • @mostafaiffakh9358
    @mostafaiffakh9358 10 месяцев назад +1

    Thank you a lot Mrs.Leila.

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

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

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

    Your explanation is very clear... love it! and thanks for sharing 😊

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

    Super clear explanation. Love this.

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

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

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

    Thank you ma'am. It was really helpful.

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

    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

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

    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.

  • @user-ku5dm9uo8z
    @user-ku5dm9uo8z 10 месяцев назад

    Truly amazing Leila, thank you for making dummies smart 🙂

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

    This is awesome Leila, Thanks!

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

    Thank you! I needed this exact formula! 🎉

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

    Helpful, thank you so much!!!

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

    Always thumbs up for your tutorials Leila, thank you!

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

    Perfect!! i will apply those tricks to my worksheets!1Thanks!!

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

    Thanks, Leila. Great informative video one more time!

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

    Excellent video Leila! Thank you

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

    Mind blown. Awesome information. Another great video. Thanks!

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

    Wow! Thanks and amazing as always

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

    Very helpful - thank you!

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

    Nicely done. Thanks!

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

    Another great video. I have been looking for this for a long timeeee

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

    Thank you 🙏. This is pure GOLD.

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

    Very clear and explanatory. 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

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

    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

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

    Brilliant! Thank you.

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

    Truly excellent lesson, thank you!

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

    To the point very clear and excellent. Thank you very much.

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

    Damn! As always, so much info. Thank you.

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

    I love all your videos

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

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

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

    Wonderful and useful tip
    Thanks👍👍👍👍

  • @m-aliasgharizadeh7054
    @m-aliasgharizadeh7054 Год назад

    tnx, Leila as always you're the best!

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

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

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

    Its amazing, thank you very much. 👍👍👍

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

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

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

    Wow, that is a beautiful thing. Thank you Leila!

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

    Great, correctly what i'm looking for. Many thanks Leila

  • @marcjacquemet--fotalch
    @marcjacquemet--fotalch 10 месяцев назад

    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! 🙏

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

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

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

      Many thanks for the kind words, Jim!

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

    Great tips. Thanks

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

    This has been doing my head in for ages! But this makes perfect sense 👌

  • @HalpPlsxx01
    @HalpPlsxx01 2 месяца назад +1

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

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

    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.

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

    You are awesome and all your videos are of great help for everyone I think!

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

    Thank You, Ma'am!

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

    Huge thanks from France❤❤

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

    Awesome video, thanks.

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

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

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

    wow the multiplication and addition explanation was spot on!

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

    As always, a great tutorial! Very clear and educational. I have learned so much from your videos! Thank you so much!

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

      Thank you for the kind feedback, Benoit!

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

    This is exactly what I was trying to do. Thanks!

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

    Thank you Leila!
    Loud and clear tutorial!

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

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

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

    Excellent job again! 👏🏻Thank you and keep making more awesome and informative videos 🔝

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

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

    Very nice use of ChooseCols function.

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

    Really loved it.... bookmarked!!!! Thank you as always :)

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

    Your videos are very helpful, thank you 😊

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

    This is great - thanks!

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

    Awesome as always 💯

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

    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".