mattadams84
Board Regular
- Joined
- Oct 30, 2016
- Messages
- 54
I have a long list of data in rows on one sheet. What i want to do is create a rank within those rows on blocks of data, depending on a unique identifier in column A:
So, i set up the following formula (as an example):
=RANK.EQ(e2,$e$2:$e$20,0)
This will indeed rank what ever is in between e2 and e20. However i want to be able to change the 'REF' array part of the rank formula to be dynamic. In column A there is unique identifier for each block of data, so for example in rows 2-20 there is a numerical identifier, lets say 0001 and then from rows 21-25 its 0002 and so on. For info the identifiers arent incremental they are random, sometimes it can pass from 4520 to 6020 for example, The number of rows in the blocks of data always changes, and there are roughly 900 rows.
Is it possible within my formula to make the reference of where it is trying to rank dynamic, based on the cell value of what is in column A? So i guess it would need to find on which row the unique identifier in column A starts and the row it finishes.
Any help is appreciated
So, i set up the following formula (as an example):
=RANK.EQ(e2,$e$2:$e$20,0)
This will indeed rank what ever is in between e2 and e20. However i want to be able to change the 'REF' array part of the rank formula to be dynamic. In column A there is unique identifier for each block of data, so for example in rows 2-20 there is a numerical identifier, lets say 0001 and then from rows 21-25 its 0002 and so on. For info the identifiers arent incremental they are random, sometimes it can pass from 4520 to 6020 for example, The number of rows in the blocks of data always changes, and there are roughly 900 rows.
Is it possible within my formula to make the reference of where it is trying to rank dynamic, based on the cell value of what is in column A? So i guess it would need to find on which row the unique identifier in column A starts and the row it finishes.
Any help is appreciated