+ Reply to Thread
Results 1 to 7 of 7

Auto sort a column

  1. #1
    Forum Contributor
    Join Date
    04-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    101

    Auto sort a column

    Is it possible for a column of "sums" to auto sort from largest to smallest?
    I have a dashboard with 20 charts and I want them to show in the order of largest to smallest but its rolling data so it changes daily.

    thanks in advance
    LaDonna

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Auto sort a column

    It is possible, and some on this forum will likely know how to do it more simply than I, but here is how I do it. I have a sheet that I call "calculations" where I compile that data, then I do a rank on it using this rank formula (so it gets rid of ties) =RANK(A2,$A$2:$A$1000,0)+COUNTIF($A$2:A2,A2)-1.
    Then I put another column of numbers, say 1-10 (or more) in ascending order then do a vlookup on them referring to the results of the ranks. A couple steps but it works for me.

    EDIT: Oh and that final area is where I point my graph so it always stays in order based on the ranks.
    Last edited by Sam Capricci; 10-04-2013 at 07:53 AM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Auto sort a column

    see attachment for example.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    04-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    101

    Re: Auto sort a column

    thanks, this will work ! appreciate you taking the time to help, I was trying to figure out how to attach my file, but I could figure out how after I had already submitted to the forum.

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Auto sort a column

    Great! Glad I could help.
    Don't forget to mark your thread as solved (in the blue bar at the top of the thread under thead tools) and reputation points are always appreciated by those who helped.

    EDIT, thanks for the rep points.

  6. #6
    Forum Contributor
    Join Date
    04-08-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    101

    Re: Auto sort a column

    ok, here is what I'm trying to do.. maybe you can take a look , I can't seem to get it to work
    Attached Files Attached Files

  7. #7
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Auto sort a column

    Sorry, I was in a mtg for the last 90 minutes.
    see attached for how I would do it.
    BTW, the vlookup I used in col AB is a reverse vlookup formula, I'm told index and match would be the way most would do that but I've never gotten index and match to work for me.

    Also BTW (edit): it should manage to continue to resort the results based on changes to your rolling data provided you don't have to continue to change parameters.
    Attached Files Attached Files

+ 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. lock column auto sort
    By Ninanoki in forum Excel General
    Replies: 1
    Last Post: 07-06-2013, 05:10 PM
  2. [SOLVED] Autonumber column after auto sort
    By djtechwork in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2013, 11:13 AM
  3. Auto Sort Two Different Ranges in each Column
    By JoeJaycee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-01-2012, 12:30 PM
  4. how do you auto sort based on certain column
    By juniperjacobs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-20-2010, 03:28 AM
  5. Auto Sort based on one column
    By tomberlins in forum Excel General
    Replies: 1
    Last Post: 08-25-2009, 12:46 PM

Tags for this Thread

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