I've got two columns: Names and Values. The Names repeat, but the value are all (mostly unique). I want to rank the values, but only against identical names.
For example, if I had the following set:
Apple 10
Apple 20
Pear 40
Orange 10
The ranking result would return:
2 Apple
1 Apple
1 Pear
1 Orange
I've tried using the following formulas, but it doesn't want to return the rank given the title - only the rank as a part of the whole data set.
=RANK.EQ(IF(B4=$B$4:$B$1102,D4,"N/A"),$D$4:$D$1101,0) and
=SUMPRODUCT(($B$4:$B$1048576=B4)*(D4>$D$4:$D$1101))+1
Where Column B contains Names, and Column D contains values.
Any thoughts?
For example, if I had the following set:
Apple 10
Apple 20
Pear 40
Orange 10
The ranking result would return:
2 Apple
1 Apple
1 Pear
1 Orange
I've tried using the following formulas, but it doesn't want to return the rank given the title - only the rank as a part of the whole data set.
=RANK.EQ(IF(B4=$B$4:$B$1102,D4,"N/A"),$D$4:$D$1101,0) and
=SUMPRODUCT(($B$4:$B$1048576=B4)*(D4>$D$4:$D$1101))+1
Where Column B contains Names, and Column D contains values.
Any thoughts?