Excel SORT and SORTBY Functions - 3 Examples of Excel Sort Formulas

Поделиться
HTML-код
  • Опубликовано: 7 авг 2024
  • In this video, we see three examples of the SORT and SORTBY functions automatically sorting formula results.
    These functions are incredibly useful. Excel has been crying out for these sort formulas for years.
    The examples in this video go from basic to complex.
    Download the Excel file to practise - www.computergaga.com/_excel/f...
    Here are the timings of the video.
    00:00 - Introduction
    01:04 - Automatically sort a distinct list
    03:47 - SORT function to order a filtered list
    07:00 - SORT formula to sort by multiple columns
    10:08 - SORTBY function example
    New to these dynamic arrays formulas? Watch this - • Dynamic Array Formulas...
    Excel FILTER Function - Is this the Best Excel Function? - • Excel FILTER Function ...
    Find more great free tutorials at;
    www.computergaga.com
    ** Online Excel Courses **
    The Ultimate Excel Course - Learn Everything ► bit.ly/UltimateExcel
    Excel VBA for Beginners ► bit.ly/37XSKfZ
    Advanced Excel Tricks ► bit.ly/3CGCm3M
    Excel Formulas Made Easy ► bit.ly/2ujtOAN
    Creating Sports League Tables and Tournaments in Excel ► bit.ly/2Siivkm
    Connect with us!
    LinkedIn ► / 18737946
    Instagram ► / computergaga1
    Twitter ► / computergaga1
  • ХоббиХобби

Комментарии • 76

  • @sachinrv1
    @sachinrv1 4 года назад +3

    It is simply amazing to see, how Excel has made things so easy for all of us. Fantastic video Alan !!!

    • @Computergaga
      @Computergaga  4 года назад

      Thank you very much, Sachin. Long may it continue.

  • @paulsingleton6071
    @paulsingleton6071 4 года назад

    Thank you for this video. I especially liked the advanced sorting using the arrays. Much appreciated.

    • @Computergaga
      @Computergaga  4 года назад

      You are welcome, Paul. Thank you.

  • @darrylmorgan
    @darrylmorgan 4 года назад

    Great Tutorial..These New Functions Certainly Make Life Easier!Thank You Alan :-)

    • @Computergaga
      @Computergaga  4 года назад

      Yes, they are awesome. Thank you Darryl.

  • @markhuang368
    @markhuang368 Год назад

    Thanks. This is a great video for a person like me who almost use sort function every day. The essence lies in using {3,2,1} to sort by columns sequently.

  • @arnaudmanir
    @arnaudmanir Год назад

    One of the most valuable Excel tutorial videos I've ever came across with. Much obliged sir!

    • @Computergaga
      @Computergaga  Год назад

      You're very welcome! Thank you so much.

  • @yusun4592
    @yusun4592 4 года назад

    The dynamic array is just simply AMAZING!

    • @Computergaga
      @Computergaga  4 года назад

      You're right there Yu Sun. I love them 😍

  • @vignesh1065
    @vignesh1065 3 года назад +1

    This was the exact video I was looking for! For days! Finally found it! Thanks a ton! :)

    • @Computergaga
      @Computergaga  3 года назад

      Excellent! You're very welcome.

    • @vignesh1065
      @vignesh1065 3 года назад

      @@Computergaga Subbed! :)

    • @makingstuff4042
      @makingstuff4042 Год назад

      ruclips.net/user/shortsGWNhDXi7Am4?sub_confirmation=1
      Short vid on how to use sort function

  • @wayneedmondson1065
    @wayneedmondson1065 4 года назад

    Hi Alan.. great video. SORT and SORTBY sure make things easier than trying to do the same with array formulas in legacy EXCEL. Thanks for the great examples and insights. Thumbs up!!

    • @Computergaga
      @Computergaga  4 года назад +1

      Thank you Wayne. They sure do.

    • @makingstuff4042
      @makingstuff4042 Год назад

      ruclips.net/user/shortsGWNhDXi7Am4?sub_confirmation=1
      Short vid on how to use sort function

  • @jairolgraterol8853
    @jairolgraterol8853 4 месяца назад

    Thank you , for that GRANDDD class !!!!..

    • @Computergaga
      @Computergaga  4 месяца назад

      You're very welcome. Thank you.

  • @meniporat3527
    @meniporat3527 3 года назад

    An excellent explanation.
    Thank you, Alan

    • @Computergaga
      @Computergaga  3 года назад

      Thank you, Meni.

    • @makingstuff4042
      @makingstuff4042 Год назад

      ruclips.net/user/shortsGWNhDXi7Am4?sub_confirmation=1
      Short vid on how to use sort function

  • @Luciano_mp
    @Luciano_mp 4 года назад

    Thank you Alan!

    • @Computergaga
      @Computergaga  4 года назад

      You're welcome. Thank you, Luciano.

  • @mmob123
    @mmob123 Год назад

    brilliant! Just what I need today with my report :D

  • @raymondgandi3440
    @raymondgandi3440 3 года назад +1

    I can't call "issues" function on my worksheet, how did you do that?

  • @ihabbeghdaoui6588
    @ihabbeghdaoui6588 2 года назад

    Thank you

  • @rahulshewale9206
    @rahulshewale9206 4 года назад

    Thank you sir

  • @DDX01
    @DDX01 2 года назад

    Great sir amazing

  • @maiggydicosta
    @maiggydicosta 4 года назад

    Excellent sir

  • @m.raedallulu4166
    @m.raedallulu4166 2 года назад

    Sorting an array.. with Alan Murray! Yay! Yay!

  • @samkab677
    @samkab677 11 месяцев назад

    Is there an old school method for sortby function for previous excel version

  • @RamKumar-vb4et
    @RamKumar-vb4et Год назад

    Great video, do you have a video that explain the use of curly brackets in general? Thanks,

    • @Computergaga
      @Computergaga  Год назад

      Thank you, Ram. I don't have a specific video for that, but the curly brackets are for arrays. In this video, they are used to create an array of constant values i.e., {2,1}. You will see curly brackets used whenever Excel returns an array.

  • @AcceptableBread
    @AcceptableBread 2 года назад

    Excellent tutorial! Do you have a video for sorting alphanumeric data? For example AA-1, AB-1, AC-1, AA-12, AB-13, AC-14...etc.
    Thanks.

    • @Computergaga
      @Computergaga  2 года назад +1

      Thank you. No, not on alphanumeric. Excel uses Custom Lists for text data outside of the typical A-Z, but that sounds awkward if you have many items.

  • @luapnagle
    @luapnagle 3 года назад

    Love your videos……………………….
    I would like SORT to be selectable so that I can change the COLUMN that is sorted from a DROP-DOWN selection.
    I have got the following working where you select a NUMBER from a DROPDOWN, and it then works in the formula if you use INDIRECT - The problem is this formula is not DYNAMIC. Any suggestions to make a DYNAMIC selectable sort on COLUMN drop down
    =SORT(B11:D23,INDIRECT("G8")) this works but is not dynamic G8 is a dropdown 1,2,3 for columns B,C,D

  • @nguyenducviet3436
    @nguyenducviet3436 2 года назад

    nice video. btw, how it can be realized as a table when you click the column?

  • @davidsyes5970
    @davidsyes5970 4 года назад

    Hi. Nice vid. Inspirational as always.
    Is the "row" argument intended to assist the new SORT/SORTBY functions in the case two SUMIFS'D products have the same total/count?
    I wondered that as soon as I saw you paste in the little bit to find the array and sort the product names base on the SUMIFS piece.

    • @Computergaga
      @Computergaga  4 года назад

      Thank you, David. The row argument is asking if you want to sort by columns or rows. We are sorting the rows, but you could set that to true to sort the columns, which is very rare.

    • @davidsyes5970
      @davidsyes5970 4 года назад

      @@Computergaga
      Thanks for replying, :).
      Ah, I see.
      Makes me wonder. Perhaps some people would in those rare cases sort by columns with the intent to impact the data story of charts. Say, a header might be names or places, but a "header-header", if you will, might be a date or a manual number to force presentation.
      Cheers!

  • @brandanbaker5604
    @brandanbaker5604 3 года назад +1

    This is the video I was looking for! Wow! Quick question if you don't mind, anyone.... How can I just return "The Top 5" in a sorted list of values? (doing Baseball stats, and want to return the Top 5 in Hits, and their names). Thanks in advance.

    • @Computergaga
      @Computergaga  3 года назад

      Great! Thank you, Brandan. I have a video on doing that here - ruclips.net/video/sk3z8e2mvng/видео.html

  • @akizza47
    @akizza47 3 года назад

    Thank you for the video! I’ve been trying to sort referenced cells for ages whilst (keeping the references intact) and it’s been ordering them by the function not the value of the referenced data!
    Do you know how I can use this function to sort discontiguous arrays? Or how in functions I can make it apply to a discontiguous range? E.g: the array would be cells a2:a17 and also cells d:2:17 but I must neglect columns b and c. I’ve tried using a2:a17&d2:d17 as the array, using names ranges, and using indirect () functions and it doesn’t work!

    • @Computergaga
      @Computergaga  2 года назад

      Hi, yes you can do this with CHOOSE. The following formula extracts only ranges D2:A17 and D2:D17. It sorts the array by column 2 (D2:D17) in a descending order.
      =SORT(CHOOSE({1,2},A2:A17,D2:D17),2,-1)

  • @st.thomasabecketparish
    @st.thomasabecketparish 2 года назад

    I am using Excel 2010 and I have a question regarding sorting with multiple values in a cell... I have a database where participants checked off boxes to a questionnaire. So now I have a cell with multiple values like 1 or 2,10 or 1,2 or 1,2,10 or 1,5 the numbers represent a person's choice or choices.... how would I sort let's say I wanted everyone who chose choice #1?

  • @neharajput4733
    @neharajput4733 4 года назад

    Amazing video..sir.. kindly share the link for the excel practice sheet...!

    • @Computergaga
      @Computergaga  4 года назад

      Thank you very much, Neha. You can download the file here - www.computergaga.com/_excel/files/365-functions/sort-and-sortby.xlsx

    • @70pjsmith
      @70pjsmith 3 года назад +1

      @@Computergaga Unfortunately, this link also does not provide the practice file.

  • @hazemali382
    @hazemali382 4 года назад

    I am crazy about this channel

  • @luapnagle
    @luapnagle 3 года назад

    Why did you not just use SUMIFS in column I - With SPILL# - =SUMIFS(x:x,x:x,H1#) to get the totals for each unique value or was this just to demonstrate SORTBY getting the data ?

  • @LayneNguyen
    @LayneNguyen Год назад

    What is i want to order by
    Total demand
    Confirmed PO
    Cumulative Delta
    In that order each time for each part number I have for materials? When I sort it puts it out on the order I have it in. Can anyone help?

    • @Computergaga
      @Computergaga  Год назад +1

      This question is beyond the scope of this comment box. The responder would need the data and more detail.

    • @LayneNguyen
      @LayneNguyen Год назад

      @@Computergaga I figured it out. Thanks for the response.

  • @prajwel4129
    @prajwel4129 2 года назад

  • @redhaakhund1271
    @redhaakhund1271 3 года назад

    👍👍👍👍👍am trying to download the file and it say Not found, error 404?!

    • @Computergaga
      @Computergaga  3 года назад

      This has been fixed, Redha. Sorry, about that.

  • @najmudheenkalapatil4785
    @najmudheenkalapatil4785 Год назад

    Explanation not enough

  • @xaroo1
    @xaroo1 3 года назад

    pro tip: put him on 1.25x speed

  • @deemstreams5532
    @deemstreams5532 3 года назад

    VERY POOR EXPLANATION. I CANT UNDERSTAND

  • @ktkkoko4331
    @ktkkoko4331 3 года назад

    Thanks sir