Can you please help me with below:
RANK (Cell Reference e.g. A1, Array reference e.g. A1:A10)
Summary of Query: Need to derive row number in Array reference on basis of vlookup.
Details:
Basically I have list like below:
Country Agent Amount
India ABC 100
India DEF 200
China XYZ 20
China XXX 30
China YYY 40
- Every month, number of Agents in each country would vary e.g. in above list India has two agents, it might be three agents in next month
- I need to calculate Rank of each Agent in his country. Have made another table which is giving me Row Number for First and Last Agent in each country (table like below)
First Agent Last Agent
India 2 3
China 4 6
- So I want to create RANK formula in which Row number in Array reference is vlookup value from the table
Thanks a lot in advance
RANK (Cell Reference e.g. A1, Array reference e.g. A1:A10)
Summary of Query: Need to derive row number in Array reference on basis of vlookup.
Details:
Basically I have list like below:
Country Agent Amount
India ABC 100
India DEF 200
China XYZ 20
China XXX 30
China YYY 40
- Every month, number of Agents in each country would vary e.g. in above list India has two agents, it might be three agents in next month
- I need to calculate Rank of each Agent in his country. Have made another table which is giving me Row Number for First and Last Agent in each country (table like below)
First Agent Last Agent
India 2 3
China 4 6
- So I want to create RANK formula in which Row number in Array reference is vlookup value from the table
Thanks a lot in advance