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
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
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.
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.
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?
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
@@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.
I love how detailed you always are showing different scenarios of data extraction on 1 function. Thank you Leila!
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!
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!
I built a dashboard using all of this in the past week. Choose columns is a nice add! Thanks for all you do.
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.
Thank you for the kind feedback
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.
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.
I have watched so many videos on building filters, but this is crystal clear, thank you. I finally get it!
This is sooo helpful... I use the formulas to NO END!! you explain each step so well. TY TY!! I love these instructional videos!
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.
Happy to hear the content is helpful at your work!
Love this tutorial. FILTER is an amazing function to use. Thank you Leila 🙏🏾
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!
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.
Hello Leila!
I've tested with three AND criteria and worked!
Same syntax shown. Just added a third.
Thanks again!
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!
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.
This is a very clear guidance on very useful Excel functionality. Explaining logical operators is not easy but Leila presents it very well. Thanks.
Wonderful, concise, and detailed. Exactly what I needed. Thank you! God bless!
Wow, your logical reasoning is amazing. How you retain all this in your head astounds me.
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
I don't think I've ever seen anyone teach this good.
I’m always learning in this channel!! Thank you, Leila 🥰
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!
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.
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.......
Oh Leila, you don't know how this formula has saved my life. Thanks so much!!!
You're so welcome!
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.
Your videos are so well done and you're an Excel Queen!!
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!
Yay, that's great to hear! Glad it was helpful.
I'm improving indeed! I got it right thru your tutorials. Thanks, thanks!
Your teaching is incomparable. Thank you very much!
You blow my mind and make smile along the video. 😆
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
Wow. Many thanks Leila. You are a life saver .
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
Great video. You are number 1 teacher in Excel. I am very happy with your videos.
You changed my life; you're the best.
Excellent explanation!! Thank you Leila.
Thank you a lot Mrs.Leila.
Very clear "to the point" explanation, thank you!
Your explanation is very clear... love it! and thanks for sharing 😊
Super clear explanation. Love this.
It was very useful and you explain perfectly! Thank you Leila, you're a great teacher 🙏
Thank you ma'am. It was really helpful.
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
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.
Truly amazing Leila, thank you for making dummies smart 🙂
This is awesome Leila, Thanks!
Thank you! I needed this exact formula! 🎉
Helpful, thank you so much!!!
Always thumbs up for your tutorials Leila, thank you!
Thank you!
Perfect!! i will apply those tricks to my worksheets!1Thanks!!
Thanks, Leila. Great informative video one more time!
Excellent video Leila! Thank you
Mind blown. Awesome information. Another great video. Thanks!
Glad you liked it!
Wow! Thanks and amazing as always
Very helpful - thank you!
Nicely done. Thanks!
Another great video. I have been looking for this for a long timeeee
Thank you 🙏. This is pure GOLD.
Very clear and explanatory. Thank you
I have recently started your excel course on udemy. Must say it’s pretty detailed. I am loving it. It’s very resourceful
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
Glad it helped!
Brilliant! Thank you.
Truly excellent lesson, thank you!
To the point very clear and excellent. Thank you very much.
Damn! As always, so much info. Thank you.
I love all your videos
Glad you like them!
Great presentation on Filters.
You learn so much more than just the Formula with Leila....,
Wonderful and useful tip
Thanks👍👍👍👍
tnx, Leila as always you're the best!
This video came in just when I needed it! Thank you 🙏
YAY! You're welcome 🙌
Its amazing, thank you very much. 👍👍👍
This video is spot on in what i really needed now! Huge thank you!
Glad it was helpful!
Wow, that is a beautiful thing. Thank you Leila!
Great, correctly what i'm looking for. Many thanks Leila
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! 🙏
👍
Thanks for another great tutorial, Leila. You continue to be the greatest.
Many thanks for the kind words, Jim!
Great tips. Thanks
This has been doing my head in for ages! But this makes perfect sense 👌
This is a freaking game changer. 100000/10. You are amazing! Subscribed!
Awesome, welcome aboard!
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.
Glad it was helpful!
You are awesome and all your videos are of great help for everyone I think!
Thank You, Ma'am!
Huge thanks from France❤❤
Awesome video, thanks.
Well explained Leila. I have seen so many videos on Filter function this one is awsme.
wow the multiplication and addition explanation was spot on!
Glad it was helpful!
As always, a great tutorial! Very clear and educational. I have learned so much from your videos! Thank you so much!
Thank you for the kind feedback, Benoit!
This is exactly what I was trying to do. Thanks!
Thank you Leila!
Loud and clear tutorial!
Glad you liked it!
Very useful, especially the last part. Bracket is super important
Excellent job again! 👏🏻Thank you and keep making more awesome and informative videos 🔝
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.
Glad I could inspire you :)
Very nice use of ChooseCols function.
Really loved it.... bookmarked!!!! Thank you as always :)
My pleasure!
Your videos are very helpful, thank you 😊
This is great - thanks!
Awesome as always 💯
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".