+ Reply to Thread
Results 1 to 7 of 7

Sorting ranks in order automatically

  1. #1
    Registered User
    Join Date
    10-12-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    29

    Sorting ranks in order automatically

    Hi,
    I have built a spreadsheet to keep track of 6 key performance indicators for my business, what I am trying to do is to have the sheet auto sort each table (7 of them) by rank so 1 is at the top and so on.

    I have 7 tables all laid out as follows:
    Store|Target|Actual|Rank with a helper column next to rank that is actual-target*100.

    What I want to do is be able to paste the data in to the target and actual box and have the table automatically update to show the top store at the top and then go down in order so the lowest performing store is at the bottom.

    There are tables for each of the 6 KPIs then a total table at the end which is just 2 columns, store and rank.
    I want this table to display the overall ranks for each store, so maybe each of the 6 ranks added together then ranked again to give the overall ranking, obviously the store numbers would need to change with the ranking so each value was assigned to the correct store.

    The layout of my first table is:
    A4: Shop title
    A6 to A31 is each store number
    B5: Target
    B6 to B31 is the target for each store
    C6: Actual
    C7 to C31 is the actual value they achieved
    D6: Rank
    D7 to D31 is the rank
    E6 to E31 is the helper column that is C6-B6*100

    I hope someone can help with the formulas to input in the boxes to get this working correctly.

    Thanks for taking the time to read my post.

    Bob


    Edit to add:
    I have been trying this some more and I now have the following:
    AG6 to AG32 is the list of store numbers on the final ranking table.
    AH6 to AH32 is all the ranks for each store added together from the 6 KPI tables.
    AI6 to AI32 is the new overall rank for each store.

    All I require now is a way to automatically sort the data in AI6 to AI32 but ensure the store codes stay with the correct rank.
    So in AG6 is store code 1, their rank is 16. So if this was automatically sorted then the store code 1 would also need to move down the table to be on the correct row for the rank.

    I hope that makes some sense!

    Any help appreciated, many thanks.

  2. #2
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    321

    Re: Sorting ranks in order automatically

    would kindly upload a sample file?
    OnditiGK

  3. #3
    Registered User
    Join Date
    10-12-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    29

    Re: Sorting ranks in order automatically

    Of course, thankyou for your reply.
    I have created 2 sheets, the master sheet and the desired outcome.

    If every table would auto sort it would be great however I am happy to just have the final "overall rankings" table autosorted.

    I hope my file works.

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,886

    Re: Sorting ranks in order automatically

    Something like this?

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Registered User
    Join Date
    10-12-2017
    Location
    England
    MS-Off Ver
    2007
    Posts
    29

    Re: Sorting ranks in order automatically

    Exactly like that, thankyou so much!

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,886

    Re: Sorting ranks in order automatically


    '''''''''''''''''''''

  7. #7
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,886

    Re: Sorting ranks in order automatically

    Could you also marked the thread as solved? It's under Thread tools, up to the right of this page.

+ 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. Two stage sorting function which eliminates gaps and sorts duplicate ranks?
    By wdjohnson in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-01-2016, 06:26 PM
  2. Automatically sorting in to alphabetical order
    By macky18 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-15-2013, 07:45 AM
  3. [SOLVED] need help with order guide. automatically calculate order from par
    By jeffpanagos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2012, 01:38 AM
  4. Ranks columns of figures in decending order
    By simjambra in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2009, 06:33 AM
  5. sorting with RANK/VLOOKUP (problem with equal ranks)
    By hip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-28-2006, 02:50 AM
  6. sorting in order
    By ceemo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-06-2005, 12:05 PM
  7. sorting in order
    By ceemo in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-30-2005, 08:20 AM

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