How to rank based on two columns in Excel?
Supposing there are three columns, one with names, the other two with the first scores and second scores, now you want to rank the names based on the scores in two columns, how can you deal with this problem in Excel?
Here I have a formula that can quickly rank on two columns
Select a blank cell which you will place the ranking result, for instance, D2, and type this formula =RANK(B2,$B$2:$B$7)+SUMPRODUCT(--($B$2:$B$7=$B2),--(C2<$C$2:$C$7)), press Enter key, and then drag fill handle over the cells which use this formula.
In the formula, B2 and C2 are the first cells in each column, and B2:B7 and C2:C7 are the two columns you use.
Select Duplicate & Unique Cells (quickly select duplicate or unique values in a column.
- How to quickly rank a list by a specific value in Excel?
- How to easily rank list without ties in Excel?