Excel FILTER Function + Trick to Rearrange Column Order
Vložit
- čas přidán 2. 07. 2024
- Excel’s FILTER function is incredible. It enables you to extract a subset of your data based on criteria you specify. You can think of it like a lookup that returns multiple matches. It can return a single column of data or multiple columns, and with a clever trick, which I’ll show you at the end, it can even return non-adjacent columns.
Download the Excel file here: www.myonlinetraininghub.com/e...
0:00 Introduction to FILTER
0:31 FILTER function Syntax
1:03 FILTER with one criteria
2:03 FILTER with multiple AND criteria
4:31 FILTER with multiple OR criteria
6:26 Handing errors
7:56 FILTER and return non-contiguous columns
View my comprehensive courses: www.myonlinetraininghub.com/
Connect with me on LinkedIn: / myndatreacy - Věda a technologie
Disclaimer: If any European people have trouble getting this to work use {1\2} instead of {1;2} if the semicolon is your default separator.
After I spent nearly an hour figuring out this wasn't working because differences in regional formatting I'm so grateful for this very, very elegant solution!
Thanks for sharing 😊
Wow, I was dying to filter only 3 column out of 15 columns, with table having hundreds of rows, and you have just given me the torch for my dark road. Thank you very much.
So pleased I could help!
The expo on use of "FILTER and return non-contiguous columns" is a game changer for me ! Thank you Mynda
Glad you liked it, Lorenzo! 😊
Thanks Mynda. You've turned my world upside down (in a positive way) yet again. Love your teaching style
Awesome! Thank you!
Really liked the OR logic and the fact that everything >0 is treated the same. Nice design. Enabling multiple error values is another good tip. Thanks for sharing. 👍
Glad you liked it 😊
Phenomal, clear explanation, taking us step by step. This filter function is great, and I love the bit at the end where you show non-adjacent columns.
Thanks so much, Anthony!
The way you used the CHOOSE function was brilliant. I would like to think I would have come up with this, but I don't know. Absolutely fantastic
Thank you very much! 🤩
The last part is amazing!! Filter and choose function work together. That’s cool~
Glad you liked it, Jeremy! 😊
I did not know about the Choose function before! That is a really nice way to rearrange columns on the filter! I add seen another method using a double filter where the inner filter was on the whole table, but the second filter was a set of logicals [1,0,0,1] to "turn on" certain columns. It works well for removing unwanted columns, but doesn't let you rearrange columns. The choose function makes this so much cleaner. Thanks for your example!
Glad it was helpful!
Thanks Mynda. Thats exactly what I was looking for. I love the way you teach Excel!
Awesome 😊
You made my day today. You are always someone I can rely on to learn something new. Thank you Mynda!
So pleased you find my videos helpful 😊🙏
This is so useful and amazingly well explained as usual.
Wish I could give 1000 likes to each of your videos.
Thanks so much, Ahmed 😊
Always fun and exciting new formulas/functions and presented in an easy to understand fashion... thank you!
Glad you liked it 😊
That's was great. Thanks Mynda. I too like the Choose option for the non-contiguous results.
Cheers, Matt!
Genuinely spent the last two days straight trying to figure out how to rearrange the columns.... thank you!!!
So pleased I could help, Nikki!
Thank you so much for your amazing work as always, very comprehensive and understandable
Thanks for your kind words 😊
Had to watch this twice to get my head around it, mainly because I've never used the CHOOSE function. This works great so will definitely be using it. Thanks for the video
Great to hear, Steve!
Thanks Mynda. Excellent review of the FILTER function. Everything is very practical and used.
Great to hear, Ivan 😊
Wow ! Amazing 🤩 ! I often use Filter function but I didn’t know some tips and tricks shared here. Thanks Mynda 🙏
Glad I could show you something new 😊
FILTER CHOOSE is my new favorite thing about O365, until the next thing inevitably takes its place. Great video! 👍
Thanks so much! 😊
The truck for filtering not contiguous columns Is really great! The best I have seen so far
Wow, awesome to hear, Roberto!
Thank you Mynda, very clear and well presented. Hoping to make the time and watch more of your videos and work. God speed and God bless!
Awesome to hear!
Thank you Mynda for this great video and tip. Nice to use the choose function. Filter function saved me from using Index, small and row functions
Great to hear 😊
Hi Mynda! Thankx for the filter+choose combo. Will use it. Cheers
Great to hear 😊
Such a clear explanation. Even I got it first time! Thanks.
Great to hear, Steven!
This is truly amazing! Thanks for the detailed video, will definitely give it a try.
Great to hear 😊
Very clear and useful video (as always!). Thank you!
Cheers, Tom!
Very good way of illustrating how 'Filter' function works. Thanks 'MyOnlineTrainingHub' for teaching me nicely the Filter function. Please keep it up!
Glad it was helpful!
Wonderful tutorial! So well explained and helpful! Thanks!
Thanks so much, Helena!
The last segment on discontiguous columns saved me a lot of time, excellent video!
Great to hear!
This solves my immediate problem at work! Thank you so much for sharing.
Great to hear!
So EXCELLENT! Thank you for another useful video!
My pleasure 😊
You just helped me out big time with rearranging the columns! Thank you from Prague. :)
Great to hear, Mark!
Filter and Choose a powerful combination! Thanks!
Glad you liked it 😊
Hi Mynda. Awesome examples! Love the {} trick for filling out the results table when no records are found and the CHOOSE trick to control the output format. Brilliant! Thanks for sharing :)) Thumbs up!!
Thanks so much, Wayne!
Thanks, Mynda! This is a wonderful formula, and you have a very nice explanation for your viewers. We all viewer like it your tutorial. God Bless you
Thanks for your kind words, Karim!
Mynda Your simplification is awesome
Thank you! 😃
Thanks Mynda , learnt a lot about FILTR function, your videos are full of knowledge.
Happy to hear that!
Wow. This is very useful and so explicit. Thanks so much for sharing
My pleasure 😊
Literally one day ago I was trying to figure out how to rearrange columns but couldn't. Excellent timing on this video ;) What an amazing method. Thank you so much!
So pleased to hear that 😊
Amazing!! I knew how to get only the columns that I wanted by wrapping the FILTER function with another FILTER and a set of 1s and 0s as criteria, but I had no idea about how to rearrange the column order. Very smart use of the CHOOSE function. I use FILTER a lot at work, but with your tutorial I will take it to a new dimension. Many thanks for sharing.
Great to hear 😊
@@MyOnlineTrainingHub Which version of Excel did you use on this video?
You can also use HSTACK instead of CHOOSE
Hi Mynda!Great Tutorial On The Awesome FILTER Function...Thank You :)
My pleasure, Darryl! Glad you liked it 😊
Great! Thank you for the video step by step.
Glad it was helpful!
Love all of your content, extremely well explained.
Have used CHOOSE() concept with FILTER() function from day 1.
But to make things even more easier have used tables for source data and with INDIRECT() function refer to FILTER() function header row.
When only you change FILTER() header value to existing source table valid header value job is done.
INDIRECT() is volatile function but for not too big data sets works like a charm.
Interesting use of INDIRECT 🤔 thanks for sharing.
Thank you, Mynda! Great tutorial I learned a lot. 🤗
I'm so glad!
This is another great tutorial, as usual.
Cheers, Sam!
Thank you so much!!!! I have a project that I can try this on and I'm sure it will save me so much time. You're always a fantastic help.
Awesome to hear!
Super uses of filter function, thanks gr8 video.
Thanks, Shoaib!
Great, i liked Filter. Thank you Mynda!
Cheers, Luciano! 😊
@@MyOnlineTrainingHub For you too!
So powerful ! Thank you!
My pleasure 😊
Thanks for CHOOS(E)ing to show us how to FILTER and return non-contiguous columns :)
My pleasure 😊
Good stuff. Thanks Mynda!
Thanks so much 😊
So useful and helpful. Thank you.
Glad you’ll be able to make use of it, Jose!
Excellent. Thanks for such a great lesson👍
Glad you liked it 😊
Great explained, solved my problem, Thank you very much
Glad I could help 😊
Awesome video Mynda!
Thanks so much, Chris 😊
omg. this is what I am looking for. thank you so much.
Wonderful to hear 😊
thanks for clear and shaep tutorial as always
You are welcome!
Really good- I have been using filter and index to do the same, your method is cleaner if it’s just say 2-3 columns you want returned from a large data set. But index I think is cleaner if you want to Omit only a few columns from a large data set. Thanks a lot- this is great.
Cheers, Martin!
you are amazing and a super teacher and beautifully of course :) Thank you for sharing
Glad you liked it, Giovanni!
Amazing, as always!
Thanks, Dalila!
Thanks... keep on excellent tutorials...
Thanks, will do!
Thank you, tutor. great lesson.
Glad you liked it!
thank you! They removed my choosecols() function in an update, so i needed this!
I'd update again, because CHOOSECOLS is still available. Sounds like you may have had your version rolled back somehow.
Thanks for making our life more easier
It's my pleasure 😊🙏
Amazing... Thank you soooo much!
You're very welcome!
Wow, the last trick is really unexpected. Cool
Glad you liked it!
The use of the CHOOSE function in combination with the matrix notation is sheer genius ! (didn't even know one could put table in the CHOOSE "values" argument...definitely redeem the usefulness of this function in my mind now, lmao)
So pleased you liked it 😁
woah! great tip on minute 7:22 Mynda! 😁👌👌 thanks Mr. Excel !!! 🙏
Cheers! Glad you liked it 😊
good stuff, never thought of using the CHOOSE option for non-contiguous column returns.
I use CHOOSE inside of UNIQUE to get a unique list from non-contiguous columns. Didn't think of using it here either.
Cheers, Dayve!
CHOOSE is such a versatile function. Underrated IMO 😊
@@MyOnlineTrainingHub Do you have a training on CHOOSE?
Please see here: www.myonlinetraininghub.com/excel-choose-function
Thanks. It's a very useful function.
Glad it was helpful!
Love the Non - Contiguous columns. I’m now starting to use Choose for the first time in my life LOL
Great to hear, Gary!
It cried for choose and offset with match (for the headers) makes it more variable, Nice video
Glad I could help 😊
Well presented with some intricacies in the formulae's
Thank you 😊
Thanks, literally very useful
Awesome to hear! 🙏
I think it says something about me when you said 'I hope you're excited to give it a try" and I thought "Yes, yes I am". Also, half-way through was thinking about a list of people who'd find great uses for it to share this with. Excellently presented as always, missed this one when it was released because we hadn't made the switch to 365 at the time.
So pleased you can make use of it :-)
Very helpful Mynda, thank you very much! =)
Glad it was helpful! 😊🙏
Really fantastic tips
Thanks so much!
Excel in Office 365 has much more to offer than one can imagine. Wonderfully explained :)
Glad you think so!
Excellent lesson, I learnt a lot, thank you. One small point. Parentheses are both brackets ( and ). So, a bracket is ( or ) and parentheses are () 🙂
In Australia and the UK (and probably elsewhere) this ( is a bracket and these () are brackets. My understanding is in the US this ( is a parenthesis and these ( ) are parentheses. Usually the term bracket/s are reserved for square brackets [ ]. But I’m not American, so feel free to correct me if you are 😁
Holly cow!
I tough I already knew all about filter, how wrong I’m
Thanks!
So pleased you learnt something new, Ricardo!
Still used to Advanced Filter but may have to start using the filter function more.
FILTER is way better than advanced filter because is evaluates when the source data changes, whereas advanced filter has to be run again.
I had no idea this was possible in excel, you've saved me about 30mins every Monday! 😂
Great to hear!
Thank you very much, This made my day
Great to hear 😊
You are amazing 😻 . Thanks 🙏
Thank you! 😃
I am impressed great job
Thanks so much 🙏
This is great! I can think of several uses where I can apply this filter method. I would also love to see how you would select the columns based on a value example of something like
Yep, that's easy to do, Mary. Just reference the value column and apply the logical test in your criteria arguments of FILTER. If you get stuck you can post your question and sample Excel file on our forum where we can help you further: www.myonlinetraininghub.com/excel-forum
Perfect! Thank you!
Thank you for the great video MInda. We can use the new CHOSSECOLS function and make it even easier to Exctract Non-contiguous Columns. Like so '=FILTER(CHOOSECOLS(B11:F19;2;4;5);B11:B19=C53)
Yes, love CHOOSECOLS and CHOOSEROWS. Unfortunately, when this video was recorded CHOOSECOLS wasn't out.
Another great video. Thank you Mynda. As far as I Know FILTER function available for Office 2021 also besides Office 365.
Yes, it should also be in the new Office release.
wow this is excellent
Thank you very much!
very useful!
Glad you think so!
FILTER UNIQUE and SORT - learn it, love it, live it
Definitely, Doug :-)
Well explained
Thanks, Imran 😊
Many thanks helpful information
My pleasure, George!
@@MyOnlineTrainingHub Please I need your help, the formula works sooo good but is it possible for the table header to show in the result of this formula
=FILTER(INDEX(A3:G25,SEQUENCE(ROWS(A3:G25)),{1,2,3,4,6,7}),(F3:F25>0)*(G3:G25="Credit"))
Jesus you are clever, love your vids .
Great to hear 😊
This is amazing
So pleased you liked it 😊
This is great
Thanks, Alice!
Alas! I can give only one like!❤👍👍👍👍👍
Aw, thanks so much, Hasan!
life saver!!
Glad I could help 😊
Excellent
Thank you 😊