How To Use Excel FILTER Function With Multiple Criteria & Return Only the Columns You Need
Вставка
- Опубліковано 4 чер 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.
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!
I love how detailed you always are showing different scenarios of data extraction on 1 function. Thank you Leila!
I built a dashboard using all of this in the past week. Choose columns is a nice add! Thanks for all you do.
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!
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.......
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.
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
Love this tutorial. FILTER is an amazing function to use. Thank you Leila 🙏🏾
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!
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.
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!
Hello Leila!
I've tested with three AND criteria and worked!
Same syntax shown. Just added a third.
Thanks again!
Wow, your logical reasoning is amazing. How you retain all this in your head astounds me.
Your teaching is incomparable. Thank you very much!
You blow my mind and make smile along the video. 😆
I don't think I've ever seen anyone teach this good.
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.
Wonderful, concise, and detailed. Exactly what I needed. Thank you! God bless!
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!
This is a very clear guidance on very useful Excel functionality. Explaining logical operators is not easy but Leila presents it very well. Thanks.
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
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.
Thank you a lot Mrs.Leila.
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
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
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!
I’m always learning in this channel!! Thank you, Leila 🥰
I'm improving indeed! I got it right thru your tutorials. Thanks, thanks!
You changed my life; you're the best.
Wow. Many thanks Leila. You are a life saver .
Very clear "to the point" explanation, thank you!
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!
Oh Leila, you don't know how this formula has saved my life. Thanks so much!!!
You're so welcome!
Thank you 🙏. This is pure GOLD.
It was very useful and you explain perfectly! Thank you Leila, you're a great teacher 🙏
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!
Your videos are so well done and you're an Excel Queen!!
Huge thanks from France❤❤
Excellent explanation!! Thank you Leila.
Truly amazing Leila, thank you for making dummies smart 🙂
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.
Its amazing, thank you very much. 👍👍👍
I have recently started your excel course on udemy. Must say it’s pretty detailed. I am loving it. It’s very resourceful
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
Super clear explanation. Love this.
Thank you ma'am. It was really helpful.
Thank you! I needed this exact formula! 🎉
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!
Great, correctly what i'm looking for. Many thanks Leila
Very well explained 👍. Thank you leila ...Love u ..from India ...🇮🇳🇮🇳
Your explanation is very clear... love it! and thanks for sharing 😊
Thank You, Ma'am!
To the point very clear and excellent. Thank you very much.
Excellent video Leila! Thank you
Great video. You are number 1 teacher in Excel. I am very happy with your videos.
Very useful, especially the last part. Bracket is super important
Nicely done. Thanks!
Perfect!! i will apply those tricks to my worksheets!1Thanks!!
Very clear and explanatory. Thank you
This video is spot on in what i really needed now! Huge thank you!
Glad it was helpful!
Brilliant! Thank you.
Truly excellent lesson, thank you!
Helpful, thank you so much!!!
Great presentation on Filters.
You learn so much more than just the Formula with Leila....,
Very nice use of ChooseCols function.
Wonderful and useful tip
Thanks👍👍👍👍
This is awesome Leila, Thanks!
Very helpful - thank you!
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.
Thanks, you save my day
Thank you Leila!
Loud and clear tutorial!
Glad you liked it!
This is a freaking game changer. 100000/10. You are amazing! Subscribed!
Awesome, welcome aboard!
Super helpful @leila! Not the most intuitive, but makes sense now.
Wow, that is a beautiful thing. Thank you Leila!
Excellent Presentation
Once again, you came through with exactly the answer I needed. It's like you're reading my mind.
Be afraid. Be very afraid...
😁
@@LeilaGharani For context, I design funny T shirts. I keep a spreadsheet inventory of 1500 designs. One of my columns in the table is "Status". I create a batch script to copy all designs with a Status of "U" (Upload) from the main designs images folder to an upload folder to make the uploading process simpler. Because of your videos, I generate that script of nearly 70 designs at a time with two formulas.
tnx, Leila as always you're the best!
Mind blown. Awesome information. Another great video. Thanks!
Glad you liked it!
wow the multiplication and addition explanation was spot on!
Glad it was helpful!
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.
You are a life saver.
Simple and sweet. Thank you Leila
My pleasure!
As always, PERFECTION
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!
Always thumbs up for your tutorials Leila, thank you!
Thank you!
Thanks, Leila. Great informative video one more time!
Wow! Thanks and amazing as always
You are an amazing trainer. Thanks a lot Leila.
Glad you think so!
This has been doing my head in for ages! But this makes perfect sense 👌
U can use xmatch to create the trues/falses when searching for multiple values in the first column and feed xmatch result to filter.
This is exactly what I was trying to do. Thanks!
Awesome !!! Thank you very much.
Glad you liked it!
Great tips. Thanks
THIS VIDEO IS GOLD
Learnt so much in just 1 video, cant believe 🙏
Very informative video Mam. Thank you so much.
Damn! As always, so much info. Thank you.
You're so amazing it's unbelievable