+ Reply to Thread
Results 1 to 9 of 9

Ranking formula based on values in multiple columns taken from a different sheet

  1. #1
    Registered User
    Join Date
    03-08-2016
    Location
    Brussels
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Ranking formula based on values in multiple columns taken from a different sheet

    Hello,

    I have an issue figuring out a Ranking formula which compares three columns of a different sheet, based on the values in Column A, Column B and Column C. Based on these three values in Col A, B and C, I need to create in a different sheet, a column with the ranking (including the above mentioned columns too).
    The Ranking should be based on Column A & then Column B and then Column C.

    Your help will be much appreciated.
    Thanks in advance.
    mt
    Attached Files Attached Files
    Last edited by m_t; 03-08-2016 at 10:51 AM. Reason: Attachement

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    Depends on what the range of values in A,B and C are
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-08-2016
    Location
    Brussels
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    Just numbers from 1 to 20

  4. #4
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    Are you ranking high to low or low to high? Also, what about ties? Rows 3-7 have the same numbers for all 3 trials.

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    I used a helper column E (could be done with Arrays but why bother). Column E can be hid

    In E2 copied down
    =B2+C2/100+D2/10000

    Then a simple rank in F2
    =RANK(E2,$E$2:$E$32)
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    Or try this in E2:
    =SUMPRODUCT(--($B$2:$B$32*10^6+$C$2:$C$32*10^3+$D$2:$D$32>B2*10^6+C2*10^3+D2))+1
    Copy down.

  7. #7
    Registered User
    Join Date
    03-08-2016
    Location
    Brussels
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    Dear all,

    Thank you very much for your help and efforts!
    I'm a basic user, so I can't really understand each of the suggested formulas...

    What i really need to confirm, is that each column should be RANKED (not sum up everything) with the following order: 1st COLUMN C then as 2nd COLUMN A, then as 3rd COLUMN B from high to low and then to have the final ranking.
    I hope it's clear now.

    and once more many thanks!

  8. #8
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    In order to give precedence of B over C over D, there needs to be some manipulation of the data. Excel does not have a built in function that does that. Both my formula and Phucam's formula does that. I am attaching a spreadsheet that shows both formulas (in Col F and G)

    Pick the formula which makes the most sense to you. If you need it explained further, let us know.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    03-08-2016
    Location
    Brussels
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Re: Ranking formula based on values in multiple columns taken from a different sheet

    No need for further explanations!
    Many many thanks!

+ 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] Ranking based on two columns
    By kabnt2005 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-12-2016, 08:41 AM
  2. Replies: 1
    Last Post: 07-04-2015, 06:25 AM
  3. [SOLVED] Assign a Ranking Score Based on Values in Other Columns
    By reluctantresearch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2014, 11:08 AM
  4. [SOLVED] Copy/Paste multiple columns as values based on another columns criteria
    By Dgp2012 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2013, 06:50 AM
  5. Locking columns based on calculated cell values in columns across a sheet.
    By andyr826208 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-04-2012, 05:17 AM
  6. Ranking based on two columns
    By leo73pk in forum Excel General
    Replies: 6
    Last Post: 01-01-2011, 12:47 PM
  7. Ranking based on two columns
    By sa02000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2006, 01: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