Excel FILTER Function TRICK for Non Adjacent Columns
Vložit
- čas přidán 4. 07. 2024
- Join 400,000+ professionals in our courses here 👉 link.xelplus.com/yt-d-all-cou...
Are you up for a really cool trick with Excel's new Filter Function? With a simple trick, you can use it to get multiple match results from Non-Adjacent columns in a Simple & Dynamic way. You can also use this trick to get unique values from non-adjacent columns.
⬇️ DOWNLOAD the workbook here: pages.xelplus.com/filter-tric...
🔍 What You'll Learn:
- Dynamic Data Analysis: Learn to dynamically extract and analyze data from non-adjacent columns using the FILTER function.
- Sorting and Filtering Tricks: Unveil tricks to sort and filter data based on specific criteria, making your analysis more efficient and accurate.
- Handling Unique Values: Explore techniques to extract unique values from different columns for a comprehensive data overview.
- Practical Examples: Implement these skills in real-world scenarios, such as employee salary analysis, to gain actionable insights.
So, let's say we have a dataset with 6 columns but we're only interested in the information in column 2 and 5, i.e. in non-adjacent columns. Plus, we don't want to get "all" value from these columns but instead only records that match a certain criteria. And we want it to be in a dynamic way so whenever we change the criteria, the result updates automatically.
I'll show you an Excel trick that get's this done in record time. The secret is to broadcast array constants in our formula. And not only that: You can also use this to get a UNIQUE list of combinations that are in non-adjacent columns.
As a bonus tip I'll show you how you can SORT the result based on a value that's not in the filtered end result.
Many thanks to my student Adam Payne for sharing this method with me!
To learn about new Excel functions enroll in my comprehensive course 👉 www.xelplus.com/course/excel-...
LINK to FILTER video: • Excel FILTER Function ...
★ My Online Excel Courses ► www.xelplus.com/courses/
00:00 Multiple Match Results from Non-Adjacent Columns
01:40 Excel FILTER Function
04:00 Filter Out the Columns You Do NOT need
06:09 Get UNIQUE list from Non-Adjacent Columns
09:10 Bonus Trick for Sorting
➡️ 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
Note: 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
Grab the file I used in the video from here 👉 pages.xelplus.com/filter-trick-file
I tried Ctrl + T and nothing
happened. You already have
the table set.
Thanks, Leila, for yet another very helpful video. Just for those who live in a country like me, where you have to use other separators: to make this trick work, instead of the "," you'll have to use the "\". The first formula then looks like this: =SORT(FILTER(FILTER(TSal[[Name]:[Position]];TSal[Salary]>J2);{1\0\0\1});2)
And then it works miracles.
Had been looking for this trick for so long, glad I know it now!
Thanks for sharing, Roger!
Thanks, Roger! Had the same issue.
Thanks Roger!
Thanks a lot Roger. I was trying everything as a separator and none worked until seeing yours! Portuguese excel.
Not typically one for commenting youtube videos, but I've been looking for this for a couple of hours now and it worked perfectly. Thank you Roger! And big ups to Leila as always.
Confirming forward slash separators work instead of comma for Norwegian excel users.
I love Leila and everything she does. Her videos are so clear, step-by-step and covers every different "what if?". When it comes to Excel, her channel is always the first place I look.
Amazing Leila. Never thought of that in a million years.
I have been working on a solution for this for who knows how long and you solved it in minutes! Thanks you so so so very much Leila!
Leila, Once again you display a fantastic option to extend the usefulness of Excel. It makes keeping data updated very easy. Thank you. One curiosity I found is, if you drag the formula, like a normal copy, the formula changes to reflect each column in the table. Example - =FILTER(FILTER(Table2,Table2[Subsegment]=D1),{0,1}) turns to =FILTER(FILTER(Table2,Table2[LEGACY]=E1),{0,1}). It is easily solved with a regular copy and paste. Thank you again.
I want to express how much I love you Leila, I started to need to learn excel about 2 years ago, and whenever I am stuck I searched up it is always your videos that knows what I am looking for, thank you!
You're so welcome!
You have made it super easy. Thumps up for teaching us extraordinary tricks. Thank you
Watched the video a half hour ago, and already used it to save about 15 minutes of manual effort. Great function and GREAT instruction on using it.
Great to hear it was helpful, Andy!
She always make it easy for us to understand. I wish all teachers are like you.
Waou ! I love the simplicity of the filter trick. Thank you, Leila, for sharing this. It is a good alternative to CHOOSECOLS function for filtering the output.
I had been breaking my head for the last few days on this exact problem. Your solution is brilliant. Makes the filter function so much more useful. Thank you so much Leila
This is my favourite Excel function so far. I use it every day. The only thing that I hate about it, is that I had to redo all my sheets ;) I love that you can use as many 'include' arguments as you want, like an 'IF' function. Just put all 'include' arguments and '*' between them. Genius! - Leila, great work! Please keep it up.
Thanks ... I did something like this a month ago but using choose and it was a lot more cumbersome..This is great easy way to do non-adjacent columns. Thanks so much!
Really love the way you put up examples and explain them so easily.
Thank you leila, this is the first time ever i am fan of someone who has been training online
Glad you like them! Thank you so much for your support.
VOCÊ NÃO EXISTE!!!!! PERFEITAAAAAAA
I googled and could not find anything on how to do what described in my comment below - but then I was messing with the FILTER function and realized I could put the HSTACK function inside the first parameter of the FILTER function and that gives me exactly what I need. i.e. to select the specific columns by column name in a FILTER function in any order without choosing all of them, etc. and without relying on the column order in the source table. It works great! Thought it might be worth a video....
This is what I exactly need right now. Thank you! Subscribed.
I really need to just come to your videos before I start any task. You always save me so much time!
What a simple solution to a complex problem using only a single formula. Thank you for the tip.
You're welcome, Dennis!
I simply love your teaching method & style, learner lot of things in simplest way.. you rock.. thank you so much
I've been combining it with the indirect formula and making separate formulas for each column that I need. This really helps!
Excellent!
Thanks for teaching me on filter function as well as for Non Adjacent columns, this is very helpful for me. Keep it up!
Wow! I have been dabbling with the new functions for awhile now. This video is packed with great content. Thanks Leila and Adam for sharing your knowledge.
Our pleasure, Matt :)
Just what the doctor ordered. Thank you!
Thank you Leila, I think you were the first who makes a video about his. Finally a good alternative to advanced filter...
Without Adam's idea I wouldn't have come up with it either. It's a great alternative!
Have a teacher like you,its a big chance.You are amazing .Yours youtube videos give me more than my teachers .THANK YOU ❤
Thank you for sharing and thank your student for thinking outside of the box!
You never fail to fascinate us , take care Queen 👸🏼
OMG.....Thank you so very much. You save my day Leila!!!
Leila, I have been a subscriber for a long time now and I am still amazed on how much I can learn from you!!!
I'm so glad! Thank you for your support, Mark.
Exactly what I was looking for. Thanks Leila!
I really think you are a genius Leila. And the opportunity to download your file is great. It allows to understand bugs between English version of Excel et French one for example. In that case {1,0,0,1} becomes {1.0.0.1} in the French version. Once again, I, like millions of people, really appreciate what you do. Thanks !
Really thanks for this comments i was trying to figure out where i am making mistake thanks bro :D
Amazing trick! This will transform the way I do my reports! Thank you!
Mind blown! I've immediately used it!
Happy to help!
This video has made my life easier
Thanks SOLVED my problem!!!
excellent, thank you. Just a note for those who will use "European configuration"The formula is becoming : "=FILTER(SORT(FILTER(TSal[[Name]:[Salary]];TSal[Salary]>J2);5;-1);{1\0\0\1\0})
"
Thanks Luc!
AMAZING. THANK YOU!
I was looking for this solution the other day. Thanks for the TIP!
this trick is AMAZING!
Absolutely awesome each time... Everytime..
It's nice and easy step to filter the Non-adjacent columns. Before watching this video, I had been using the HSTACK function to create an array from Non-adjacent columns.
Dear Leila, I'm not sure I'm gonna use this tips (I'm a very basic excel user), but I just can't stop watching your videos. You are great!!! Love how you explain things!
Hello, trust me, you keep watching, you won't be a basic user for long 😉
Fabulous and very simply explained. This is great.
Very helpful tricks! Thank you!
Till now I use compicated formulas or pivot to do all of it ,
now the life changed with this amazing function
Many thanks Lili
Great to hear!
The second FILTER trick is cool, but I think some people are struggling to understand how it actually works, because filtering is typically only applied to rows. However, the FILTER function is capable of filtering data both vertically and horizontally, which is the case in this example.
To better illustrate how a horizontal filter works on columns, write some OR criteria for the header row like this:
=FILTER(TSal,(TSal[#Headers]=I4)+(TSal[#Headers]=J4))
So, to achieve the same results as demonstrated in this video, the final nested formula would be:
=FILTER(FILTER(TSal ,TSal[Salary]>J2), (TSal[#Headers]=I4)+(TSal[#Headers]=J4))
Sure, the array constant method is shorter in this example, but the horizontal criteria method has other advantages:
1) it will work regardless of the column delimiter used in your region
2) it will continue to work if new columns are added/inserted
3) it’s easier to manage with larger tables (20+ columns)
Cheers!
That's definitely a more sound solution, @davidabuang
The video is 100% great anyways!
Thank you Leila. I will try the formulas for myself!
Fabulous tip! This is a great solution to several situations that I solved with far more complex DA formulas. This is sooo much simpler. Thank you!
My pleasure, Jim! Glad it's helpful for you.
Awesome! Helped me a lot here at work.
Awesome info Leila! You rock!
Definitely gonna try this. Thanks a lot
Really love the way you explain... Thak you Leila 🙏
Thank you Leila. Wonderful presentation. Very clear understandable easily every having basic knowledge. Keep it up.
You are the best! Helped me a lot. Thanks.
It's simple & classic , thanks
WOW! Amazing - thank you Leila.
Wow. Thank you. I was wondering if this could be done. This is an elegant solution.
I have become your ardent fan - absolutely brilliant explanation!!! Most importantly the pace that you eloquently navigate thru, thanks a lot!
Awesome, thank you!
Absolutely fantastic. Thank you for teaching.
You're very welcome!
Excellent video, explained fantastically!
That is incredible!!Thank you for sharing. I am in the process of taking your dynamic array course, which I am enjoying very much - a very worthwhile investment. I am well past the Filter section of the course, so I am making a note to myself that this trick exists.
Simple and elegant tip!
Great tip, I had been trying to find a way to do this. Thanks.
Elegant, simple, and effective... awsome trick :)
Oh! I really needed that trick, thanks a lot Leila
As usual another cool trick 😎👆
Thank You Leila
Looking forward to the next session.
Thanks Leila 👍Your trick helped me lots in my desgn calculations.
This video is so awesome!
I have been looking for a way to extract specific columns from within a filtered data set and now thanks to this video I know how to do that!
Glad it helped, Eric!
Fantastic tricks and explained very easily to follow
Our IT department finally updated our 365 add-ons. Sad to say i work for a Tech company, but been waiting to use FILTER function. This video helped me trickle down to the columns I needed which is about 5 from about 30 columns. Thank you!
Great! Glad it was helpful.
You are the best Leila.
What a great solution! I tweaked the formula to replace the implicit constant array with a simple if() statement so the user can flag with a "y" (yes) above each column that they want to keep: =FILTER(FILTER(Tsal[[Name]:[Position]],Tsal[Salary]>J2),IF(B1:E1="y",1,0)). This way non-power users can dynamically choose the columns in their report. Thanks again for the simple solution to this issue - I looked everywhere for one!
Thanks for sharing your version, Jeff!
That's Amazing Liela ... i used to go around this problem for months ....now you solve it ...Many Thanks
Happy to help!
I love this simpliicity thank leila
Really helpful! Thanks Leila!
This is awesome!!
What an amazing tutorial, you explain so well and step by step, thank you very much Leila! The subtitles are so useful to fully understand, as English is not my native language. Thanks a lot for all your effort :)
You're very welcome, Juan 😊
Really awesome. I’ve needed this trick for a while and thought it not possible. Thanks so much for sharing this! Your videos are always great, but I’m super grateful for this one!
You're very welcome!
Thank you Laila... very useful video
Awesome, my boss was asking me this yesterday, today I got answer. Thank you so much
Great timing!
Happy New Year Lelia!!! Your're fantastic!!! Thanks!!!
You are a genius 👍🏻
Thanks for the information and trick.
unbelievable, well done
This is so powerful. Thank you for sharing and explaining it so clearly. Cheers
You are so welcome.
I'm late to this video. I needed to build unique lists from large data sets for sorting and SUMPRODUCT and SUMIFS analyses. This worked like a charm. Thank you!
Glad it was helpful!
That is a fabulous little trick, and I'm already putting it to work. Thank you!
Wonderful!
You are my new most favorite person!
Love it. I've wanting to know how to use this for a long time. Had to resort to using Xlookup before now for the second column
this is wonderful , god bless you
You're a great teacher and I'm glad to find your channel. You teach in a brilliant way and I completely understand. Thank you very much 🙏🏼
Thank you very much!
Awesome function, awesome video :) Also it will well pair up with choose function. FILTER(CHOOSE({1,2},TSal[[Name],[Position]]),TSal[Salary]>J2)
very nice
in my Excel this is not working. The formular should be like this: FILTER(CHOOSE({1,2},TSal[Name];TSal[Position]),TSal[Salary]>J2) In addition I noticed that in build 2108 14326.20784 in the German version WAHL({1.2}...) the choose part must be spearate by "." to achieve the same. In the beta release channel it changed to "\" for the same result. Apparently Choose acts differently in country versions as well as in build version.
AWESOME! as always.
Thank you for this knowledge.🎓
Bless you...this is such a great breakthrough in my line of work.
Wonderful!
Thanks Leila for sharing this. This will be surely useful for 365 users.
Thanks, I hope so!
Thank you for all your help 😊😊
Awesome, thanks!
QUEEN OF EXCEL!