+ Reply to Thread
Results 1 to 3 of 3

Auto Sort List With Formula

  1. #1
    Registered User
    Join Date
    11-09-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    80

    Auto Sort List With Formula

    Hi all,

    I am trying to remember how to auto sort a dynamic list, as attached. I seem to recall doing this once before with index, match, rows, etc functions. My data shows the data as current and as preferred. I hoped to find a formula to enter that I can copy down to produce the results shown.

    Cheers,
    Avendi
    Attached Files Attached Files

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Auto Sort List With Formula

    For Item, put this on E5 and ENTERED as array formula then copied down:

    =IFERROR(INDEX($A$5:$A$24,SMALL(IF($B$5:$B$24=$F5,ROW($A$5:$A$24)-ROW($A$5)+1),COUNTIF($F$5:F5,F5))),"")

    For Total, put this on F5 and ENTERED as array formula then dopied down:

    =INDEX($B$5:$B$24,MATCH(LARGE(COUNTIF($B$5:$B$24,"<"&$B$5:$B$24),ROW(1:1)),COUNTIF($B$5:$B$24,"<"&$B$5:$B$24),0))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-09-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Auto Sort List With Formula

    Thanks Azumi!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Auto sort list into table
    By rongil20 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2015, 06:13 AM
  2. Auto sort list of values using VBA
    By kwo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2015, 01:11 PM
  3. [SOLVED] Auto sort a list by values - without VBA
    By kwo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-06-2015, 06:12 AM
  4. VBA auto sort a dynamic list with formulas
    By Schrankwand2006 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-20-2013, 06:32 AM
  5. Auto Sort Values in Drop Down List
    By excelkeechak in forum Excel General
    Replies: 3
    Last Post: 12-13-2009, 05:27 AM
  6. Auto sort drop-down list
    By BRISBANEBOB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2009, 12:30 AM
  7. How to auto Sort list after entering last item in a row.
    By Craig in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2006, 09:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1