+ Reply to Thread
Results 1 to 5 of 5

Sorting formulated values for ranking

  1. #1
    Registered User
    Join Date
    08-13-2022
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    14

    Lightbulb Sorting formulated values for ranking

    Hi,

    I am looking to compile a sorting / ranking table. I have completed the main table but want to transpose the data to an easy to read ranking table. When using the TRANSPOSE function it does not carry the data the way I intend it and using the SORT table options does not extend the data.

    The ideal table would look like the yellow table in the second sheet.

    Any pointers would be a great help!

    Thanks, ChemistryBMS
    Attached Files Attached Files
    Last edited by ChemistryBMS; 08-27-2022 at 05:57 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Sorting formulated values for ranking

    Maybe... X3:
    =INDEX($46:$46,AGGREGATE(15,6,COLUMN($C$46:$Q$46)/($C$43:$Q$43=Z3),COUNTIF(Z$3:Z3,Z3)))

    Y3:
    =INDEX($42:$42,AGGREGATE(15,6,COLUMN($C$46:$Q$46)/($C$43:$Q$43=Z3),1))

    Z3:
    =AGGREGATE(15,6,$C$43:$Q$43,ROWS(Z$3:Z3))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Sorting formulated values for ranking

    One ore option.
    In X2

    =IFERROR(INDEX($C$22:$Q$22,AGGREGATE(14,6, COLUMN($C$22:$Q$22)/($C$42:$Q$42=Y3),COUNTIF($Y$3:$Y3,$Y3))-COLUMN($B$22)),"")

    In Y2

    =LARGE($C$42:$Q$42,ROW(A1))

    In Z2

    =RANK(Y3,$Y$3:$Y$17)
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,398

    Re: Sorting formulated values for ranking

    An other approach with a help table which you can hide:

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

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,398

    Re: Sorting formulated values for ranking

    I also tried to find a solution without an auxiliary table, using SORTBY.

    But then I run into 2 problems:
    The SORTBY formula don't have a sort by column option. So I have to transpose the table first.
    But after that I can no longer refer to the sort column of the transposed table, because you have to specify a range for that.

    Or maybe there is another useful way to eliminate the help table in post #4.

    I look forward to the ideas of the Excel experts.
    Last edited by HansDouwe; 08-13-2022 at 06:42 AM.

+ 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. Ranking values and ranking duplicates the same rank
    By 302arpks in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-05-2015, 01:50 PM
  2. Ranking/Sorting
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-13-2012, 10:53 AM
  3. Ranking and Sorting
    By ChrisKader in forum Excel General
    Replies: 4
    Last Post: 10-31-2010, 11:21 AM
  4. Replies: 6
    Last Post: 06-01-2010, 06:19 PM
  5. Hiding Formulated Values Derived From 0 Value Cells
    By johnlovesbeer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-07-2009, 02:18 AM
  6. Sorting & Ranking
    By etsusurveyor in forum Excel General
    Replies: 1
    Last Post: 12-11-2007, 05:47 PM
  7. ranking or sorting
    By Liz23 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2005, 04:06 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