Ranking a value outside of a selected range?

surfdoc37

New Member
Joined
Mar 12, 2004
Messages
23
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
  2. MacOS
Probably a simple thing but cannot figure it out.

I have a ranked list of numbers in a column.

I wish to compare numbers in a cell to see how they would rank in that ranked list, but I do not want to add them to the list.

For example, I could perhaps have a single column listing the number of HR hit by everyone who has ever played baseball ranked in descending order.

In a separate location I want to enter "99" (for instance) and learn that 99 HR would rank 493rd all time (or whatever it actually is).

RANK (RANK.EQ) does not seem to accept a number which is not in the ranked range so I'm stumped.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
RANK (RANK.EQ) does not seem to accept a number which is not in the ranked range so I'm stumped.
And you are absolutely right.
Excel Formula:
=RANK.EQ(D1,(A1:A22,D1),1)
 
Upvote 0
Solution
Works great. If you have an extra minute, would you mind explaining why it works great?
RANK.EQ() is one of only a few functions that accept a list of ranges - separated by a comma and enclosed in () - instead of one range.
All other rank functions also do and SMALL() and LARGE().
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,496
Members
449,089
Latest member
Raviguru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top