Excel FILTER Function + Trick to Rearrange Column Order

Поділитися
Вставка
  • Опубліковано 7 лют 2025

КОМЕНТАРІ • 463

  • @PCor18
    @PCor18 11 місяців тому +7

    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!

  • @lorenzoladejobi8701
    @lorenzoladejobi8701 3 роки тому +5

    The expo on use of "FILTER and return non-contiguous columns" is a game changer for me ! Thank you Mynda

  • @MichaelBrown-lw9kz
    @MichaelBrown-lw9kz 11 місяців тому +3

    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

  • @aviman2010
    @aviman2010 Рік тому +2

    Thanks Mynda. You've turned my world upside down (in a positive way) yet again. Love your teaching style

  • @gsracharya
    @gsracharya 7 місяців тому +1

    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.

  • @nikkicroxall6113
    @nikkicroxall6113 3 роки тому

    Genuinely spent the last two days straight trying to figure out how to rearrange the columns.... thank you!!!

  • @kevinmahernz
    @kevinmahernz 6 місяців тому

    Thank you for showing the Choose function instead of an array of 1s and 0s which is what I've been using so far - and being able to rearrange columns plus the multiple column error handling! Brilliant!!

  • @JeffreyWigington
    @JeffreyWigington 2 роки тому +5

    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!

  • @robertoschenone9648
    @robertoschenone9648 2 роки тому

    The truck for filtering not contiguous columns Is really great! The best I have seen so far

  • @jcethan2859
    @jcethan2859 3 роки тому +2

    FILTER CHOOSE is my new favorite thing about O365, until the next thing inevitably takes its place. Great video! 👍

  • @brianwied3702
    @brianwied3702 2 роки тому

    The last segment on discontiguous columns saved me a lot of time, excellent video!

  • @josecarlosconejo5724
    @josecarlosconejo5724 3 роки тому +9

    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.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому +1

      Great to hear 😊

    • @marlonmadrona1309
      @marlonmadrona1309 3 роки тому

      @@MyOnlineTrainingHub Which version of Excel did you use on this video?

    • @rusektor
      @rusektor 11 місяців тому +1

      You can also use HSTACK instead of CHOOSE

  • @indzara
    @indzara 3 роки тому +9

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

  • @ravichandrankannappan6552
    @ravichandrankannappan6552 2 роки тому

    Very good way of illustrating how 'Filter' function works. Thanks 'MyOnlineTrainingHub' for teaching me nicely the Filter function. Please keep it up!

  • @karimsamnani3660
    @karimsamnani3660 3 роки тому

    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

  • @Codiwompling
    @Codiwompling Рік тому

    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!

  • @fr-reisid5405
    @fr-reisid5405 11 місяців тому

    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.

  • @marksant5488
    @marksant5488 2 роки тому

    You just helped me out big time with rearranging the columns! Thank you from Prague. :)

  • @brandonnesset1571
    @brandonnesset1571 8 місяців тому

    You made my day today. You are always someone I can rely on to learn something new. Thank you Mynda!

  • @GraeHunter
    @GraeHunter 11 днів тому

    This was just the tip I was looking for, thanks - I love your videos.

  • @ismaelkourouma5558
    @ismaelkourouma5558 2 роки тому

    Wow ! Amazing 🤩 ! I often use Filter function but I didn’t know some tips and tricks shared here. Thanks Mynda 🙏

  • @stevereed5776
    @stevereed5776 3 роки тому

    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

  • @jeremylau93
    @jeremylau93 3 роки тому

    The last part is amazing!! Filter and choose function work together. That’s cool~

  • @alinaqvi6203
    @alinaqvi6203 9 місяців тому

    Thanks Mynda , learnt a lot about FILTR function, your videos are full of knowledge.

  • @Ahmed-fq6si
    @Ahmed-fq6si 3 роки тому +15

    This is so useful and amazingly well explained as usual.
    Wish I could give 1000 likes to each of your videos.

  • @_sootyfoot
    @_sootyfoot Рік тому

    I had no idea this was possible in excel, you've saved me about 30mins every Monday! 😂

  • @mattschoular8844
    @mattschoular8844 3 роки тому

    That's was great. Thanks Mynda. I too like the Choose option for the non-contiguous results.

  • @garyallan69
    @garyallan69 3 роки тому

    Love the Non - Contiguous columns. I’m now starting to use Choose for the first time in my life LOL

  • @mathiasburkard2403
    @mathiasburkard2403 3 роки тому +1

    Thanks Mynda. Thats exactly what I was looking for. I love the way you teach Excel!

  • @Stevex-c8r
    @Stevex-c8r 11 місяців тому

    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.

  • @j.dasilva4567
    @j.dasilva4567 6 місяців тому

    The best video on filters. Congrats, and thankyou very much.

  • @davidferrick
    @davidferrick 3 роки тому +8

    good stuff, never thought of using the CHOOSE option for non-contiguous column returns.

    • @JoelShafron
      @JoelShafron 3 роки тому

      I use CHOOSE inside of UNIQUE to get a unique list from non-contiguous columns. Didn't think of using it here either.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Cheers, Dayve!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      CHOOSE is such a versatile function. Underrated IMO 😊

    • @JoelShafron
      @JoelShafron 3 роки тому

      @@MyOnlineTrainingHub Do you have a training on CHOOSE?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Please see here: www.myonlinetraininghub.com/excel-choose-function

  • @pupycron4302
    @pupycron4302 3 роки тому

    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!

  • @miiihaaas
    @miiihaaas 3 роки тому

    Thanks for CHOOS(E)ing to show us how to FILTER and return non-contiguous columns :)

  • @sachinrv1
    @sachinrv1 Рік тому

    Excel in Office 365 has much more to offer than one can imagine. Wonderfully explained :)

  • @mickaell3451
    @mickaell3451 3 роки тому

    Hi Mynda! Thankx for the filter+choose combo. Will use it. Cheers

  • @nadermounir8228
    @nadermounir8228 3 роки тому

    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

  • @jiajiaphotography
    @jiajiaphotography 3 роки тому

    Wow, the last trick is really unexpected. Cool

  • @IvanCortinas_ES
    @IvanCortinas_ES 3 роки тому

    Thanks Mynda. Excellent review of the FILTER function. Everything is very practical and used.

  • @garyevans7620
    @garyevans7620 11 місяців тому

    Excellent lesson, I learnt a lot, thank you. One small point. Parentheses are both brackets ( and ). So, a bracket is ( or ) and parentheses are () 🙂

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  11 місяців тому

      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 😁

  • @lww8132
    @lww8132 3 роки тому

    This solves my immediate problem at work! Thank you so much for sharing.

  • @teoxengineer
    @teoxengineer 3 роки тому

    It is so good tricks Mynda, thank you!
    I solved this Filter Rearrange Column Order sequence by using index&[Num_area] like below:
    =INDEX((C38:C42;D38:D42;E38:E42);;;MATCH($B$55:$D$55;$C$37:$E$37;0)) so we can find exact column values according to wanted list headers and using Filter as below:
    =FILTER(INDEX((C38:C42;D38:D42;E38:E42);;;MATCH($B$55:$D$55;$C$37:$E$37;0));B38:B42=C53)
    in that case, whenever you change header names like Price Item Quantity or Quantity Price Item into the header row of the target table, the Filter function shows correct values from the main database.

  • @stevenlagoe7808
    @stevenlagoe7808 3 роки тому

    Such a clear explanation. Even I got it first time! Thanks.

  • @bogdanp6092
    @bogdanp6092 3 роки тому

    Filter and Choose a powerful combination! Thanks!

  • @wayneedmondson1065
    @wayneedmondson1065 3 роки тому +2

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

  • @FaysalEasyExcel
    @FaysalEasyExcel 3 роки тому

    Mynda Your simplification is awesome

  • @Permik123
    @Permik123 9 місяців тому

    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)

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  9 місяців тому +1

      Yes, love CHOOSECOLS and CHOOSEROWS. Unfortunately, when this video was recorded CHOOSECOLS wasn't out.

  • @laStar972chuck
    @laStar972chuck 2 роки тому

    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)

  • @GeertDelmulle
    @GeertDelmulle 3 роки тому

    I vaguely remember there is another way to select columns, something with a string of ones and zeros, but this choose trick is far more elegant and allows for sequencing the columns exactly the way you want. Somehow this choose trick reminds me of the xlookup function.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому +2

      Yes, you can use FILTER in FILTER like this to return the 1st, 2nd and 4th columns: =FILTER(FILTER(B11:F19,B11:B19="Sales"),{1,1,0,1,0})

    • @GeertDelmulle
      @GeertDelmulle 3 роки тому +1

      @@MyOnlineTrainingHub Indeed, but that trick reminds me (as it did before) of the vlookup function: if the composition of the table changes, this trick will produce the wrong results or break down. That’s why I like the choose trick better: more robust.

  • @jobygeorgev06
    @jobygeorgev06 Рік тому

    Thanks for making our life more easier

  • @Fabi_terra
    @Fabi_terra 11 місяців тому

    Thank you, Mynda! Great tutorial I learned a lot. 🤗

  • @martyc5674
    @martyc5674 3 роки тому

    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.

  • @truewiking
    @truewiking 2 роки тому

    Great explained, solved my problem, Thank you very much

  • @vgb311
    @vgb311 Рік тому

    Great! Thank you for the video step by step.

  • @Luciano_mp
    @Luciano_mp 3 роки тому

    Great, i liked Filter. Thank you Mynda!

  • @chrism9037
    @chrism9037 3 роки тому

    Awesome video Mynda!

  • @darrylmorgan
    @darrylmorgan 3 роки тому

    Hi Mynda!Great Tutorial On The Awesome FILTER Function...Thank You :)

  • @pharbman
    @pharbman 3 роки тому

    Always fun and exciting new formulas/functions and presented in an easy to understand fashion... thank you!

  • @ademkursatkaracil
    @ademkursatkaracil 3 роки тому

    Another great video. Thank you Mynda. As far as I Know FILTER function available for Office 2021 also besides Office 365.

  • @AnthonyEnglish
    @AnthonyEnglish 2 роки тому

    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.

  • @marywise5943
    @marywise5943 3 роки тому +1

    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

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      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

    • @marywise5943
      @marywise5943 3 роки тому

      Perfect! Thank you!

  • @Giovanni-vx8xl
    @Giovanni-vx8xl 3 роки тому

    you are amazing and a super teacher and beautifully of course :) Thank you for sharing

  • @henryhache5509
    @henryhache5509 Рік тому +1

    thank you! They removed my choosecols() function in an update, so i needed this!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      I'd update again, because CHOOSECOLS is still available. Sounds like you may have had your version rolled back somehow.

  • @utubeAgape
    @utubeAgape 3 роки тому

    So EXCELLENT! Thank you for another useful video!

  • @NiteLynr
    @NiteLynr 3 роки тому

    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.

  • @makarandketkar
    @makarandketkar 2 місяці тому

    Hi. It is a very informative video. Thanks for sharing. I just noticed that the CHOOSE function is returning the details in a linear form, as the quantity was returned in the end. Not sure but may be it doesn't allow to shuffle the cell references. Also, it is little complex to remember. So, what if you want to return it in an order it was mentioned in the original table OR the way you want them to appear?
    Here, I am suggesting simple a combination of CHOOSECOL+FILTER function which I often use. For example;
    =CHOOSECOL(FILTER(TABLE1,(TABLE1[SALES]=$A$1)*(TABLE1[ITEM]=$B$1)), 1, 3, 2).
    Here, before closing the parentheses, you have to just select the column numbers in a sequence you want to show. Best part is, you can choose to display only one column or multiple columns as per your requirement.
    I use this trick to create multi dependent drop-down lists as well.
    I don't know if this function was available when this tutorial was published but I am using Office 365 now and it works there. Hope this helps😊.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 місяці тому

      Thanks for sharing! CHOOSECOLS was not available when this video was originally recorded.

  • @sjn7220
    @sjn7220 3 роки тому

    Still used to Advanced Filter but may have to start using the filter function more.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      FILTER is way better than advanced filter because is evaluates when the source data changes, whereas advanced filter has to be run again.

  • @aivie1900
    @aivie1900 2 роки тому

    omg. this is what I am looking for. thank you so much.

  • @philippemartinemorel1399
    @philippemartinemorel1399 Рік тому +1

    Thanks for the very clear explanations ! I used the OR trick to add my initial table headers to the filtered result. Nevetheless it seems impossible that the filtered result becomes a table. Am I wrong ?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      Great to hear it was helpful! Correct, FILTER cannot be placed in an Excel Table. Dynamic arrays are not supported for Tables.

  • @hamidsh4789
    @hamidsh4789 3 роки тому

    Thanks... keep on excellent tutorials...

  • @spilledgraphics
    @spilledgraphics 3 роки тому

    woah! great tip on minute 7:22 Mynda! 😁👌👌 thanks Mr. Excel !!! 🙏

  • @stephenmascarenhas1987
    @stephenmascarenhas1987 Рік тому

    Well presented with some intricacies in the formulae's

  • @Lyriks_
    @Lyriks_ 3 роки тому +1

    Hello Mynda thanks for another amazing tutorial, is this new trick is an alternative to using filter + xlookup-Match, since we primarly used that trick because we wanted to handle non contiguous data ? I'm refering to your xlookup video. Big thumbs up

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому +1

      Thanks so much, Anthony! Yes, the FILTER with CHOOSE enables non-contiguous columns to be returned in any order.

  • @nonoobott8602
    @nonoobott8602 3 роки тому

    Wow. This is very useful and so explicit. Thanks so much for sharing

  • @vitruvian_man
    @vitruvian_man 3 роки тому

    Good stuff. Thanks Mynda!

  • @arkai59
    @arkai59 3 роки тому +1

    Thank you so much for your amazing work as always, very comprehensive and understandable

  • @tomfontanella6585
    @tomfontanella6585 3 роки тому

    Very clear and useful video (as always!). Thank you!

  • @zainululum
    @zainululum 3 роки тому

    thanks for clear and shaep tutorial as always

  • @parahiamin6765
    @parahiamin6765 2 роки тому

    I have not used the FILTER function yet, however, I can see where it could be really useful. Great tutorial as always!
    PS "It's not case sensitive but I like to be proper" I do too, it's a pet hate of mine when people aren't and it's really annoying as it only takes a second!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 роки тому

      😊 Glad you enjoyed it, Parahi!

    • @MaydayAggro
      @MaydayAggro 2 роки тому

      I now use FILTER, UNIQUE, and SORT more than any other functions because they are so useful, especially when used together. (They can create an impromptu range acting as a PivotTable that auto-updates as new data are added to the source and is much easier to reference than the PT in subsequent formulas.)

  • @anv.4614
    @anv.4614 Рік тому

    Thank you, tutor. great lesson.

  • @lopher70
    @lopher70 3 роки тому

    Holly cow!
    I tough I already knew all about filter, how wrong I’m
    Thanks!

  • @helenasvensson6595
    @helenasvensson6595 2 роки тому

    Wonderful tutorial! So well explained and helpful! Thanks!

  • @shoaibrehman9988
    @shoaibrehman9988 3 роки тому

    Super uses of filter function, thanks gr8 video.

  • @zaighamuddinfarooqui1705
    @zaighamuddinfarooqui1705 3 роки тому

    Excellent. Thanks for such a great lesson👍

  • @tommyharris5817
    @tommyharris5817 3 роки тому

    Thanks for another great video. My question is can you do all this with Xlookup?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      No, XLOOKUP doesn't return multiple columns and rows. XLOOKUP only spills one way, either across or down.

  • @pvrameshbabu
    @pvrameshbabu 11 місяців тому

    Thanks. It's a very useful function.

  • @UtuDudas
    @UtuDudas Рік тому

    Filter is of late my favourite function.
    I only wonder if it is possible to do individual calculations inside the spilled array, like a product of each individual value with a number outside of it.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      Awesome to hear! I'm sure you can do what you want. If you get stuck, you're welcome to post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

  • @sureshrouniyar3482
    @sureshrouniyar3482 3 роки тому

    It looks awesome.Would you filter the result including header instead of manually typing for header.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому +1

      If you include the header in the filter range it probably wouldn't satisfy the criteria and if you want to sort the data, then the headers will be somewhere random in the resulting data.

  • @dougmphilly
    @dougmphilly 3 роки тому

    FILTER UNIQUE and SORT - learn it, love it, live it

  • @zubairso
    @zubairso 3 роки тому +1

    This is truly amazing! Thanks for the detailed video, will definitely give it a try.

  • @benign39
    @benign39 3 роки тому

    So useful and helpful. Thank you.

  • @Excelambda
    @Excelambda 3 роки тому

    Great video!! ✌Also nested filter works, (keeps original order though)
    =FILTER(FILTER(B11:F19,{0,1,0,1,0}),B11:B19=C53) or
    =FILTER(FILTER(B11:F19,{0,1,1,1,0}),B11:B19=C53) if order is not important, if it is, then choose

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Yes, I like that one too, but like you say, unfortunately it can't rearrange the column order.

    • @Excelambda
      @Excelambda 3 роки тому

      @@MyOnlineTrainingHub 🙏This one changes order, is longer , but no corresponded range needed to the order sequence that choose requires ✌
      =FILTER(INDEX(B10:F19,SEQUENCE(ROWS(B10:F19)),{2,4,3}),B10:B19=C53)

  • @KOB245
    @KOB245 3 роки тому

    It hurts to watch this video, seeing how incredibly useful this function is, knowing that I have to go back to Office 2016 at work.

  • @SamPandiangan
    @SamPandiangan 3 роки тому

    This is another great tutorial, as usual.

  • @tommyharris5817
    @tommyharris5817 3 роки тому

    What advantage does the FILTER function have over the older Advanced Filter, which I feel is quicker and just as accurate?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      The biggest advantage is that the FILTER function will automatically display changes in the source data, whereas the old Advanced Filter tool has to be manually re-run to get updates.

  • @RamKumar-vb4et
    @RamKumar-vb4et Рік тому

    Great video once again. Thanks for sharing. A quick question - is there a way we can get columns headings as well depending on the columns chosen, whilst using filter formula? Thanks again.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      Thank you! You can use VSTACK to append the headings. See this video: ua-cam.com/video/RebdtDzsMj8/v-deo.html

  • @minamishail_Tech2024
    @minamishail_Tech2024 Рік тому

    Really good, what if I need to filter a specific column based on a list of data or a named range where it's value change from time to time ?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Рік тому

      Glad you liked it. Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

  • @oracle998
    @oracle998 3 роки тому

    wow, great function, may i know how to set the filter can select more than one department?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  3 роки тому

      Glad you like it! If you want OR operators in the FILTER criteria you use + between them e.g. =FILTER(range, (criteria1)+(criteria2))

  • @redhaakhund1271
    @redhaakhund1271 Рік тому

    Amazing... Thank you soooo much!

  • @amospan14
    @amospan14 Рік тому

    Very helpful Mynda, thank you very much! =)