afternoon,
until yesterday morning I had no clue about index array functions. Now I have slightly more of a clue, but I still can't say I understand it fully.
I'm trying to rank sheets of raw data into tables 1 to 10. On one sheet the asrray function works, but on the other it doesn't, despite being more or less identical. I was hoping somebody can tell me what to look for/check as to why it's not working in sheet 2?
anyway, in sheet 1, the array function is as follows:
where:
B is the field I want to index,
D is the Group I am addressing,
Q is the value of I want to base the rank on
A is the rank (1, 2, 3 etc...)
as I say, this works no problem. I've checked this by pivoting the raw data and comparing it with the function result.
on sheet 2, , the function is as follows:
where:
N is the field I want to index,
O is the Group I am addressing,
P is the value of I want to base the rank on
A is the rank (1, 2, 3 etc...)
as far as I can see the two formulas are identical other than they address different groups and use different fields, but in sheet 2, all I get returned is a list of 10, identical names, which don't relate to the Group I am requesting either (i.e. I've got a list of 10, all the same, from Group C)
I'm a bit stuck, anybody got any ideas what could be causing this?
ta
until yesterday morning I had no clue about index array functions. Now I have slightly more of a clue, but I still can't say I understand it fully.
I'm trying to rank sheets of raw data into tables 1 to 10. On one sheet the asrray function works, but on the other it doesn't, despite being more or less identical. I was hoping somebody can tell me what to look for/check as to why it's not working in sheet 2?
anyway, in sheet 1, the array function is as follows:
Code:
{=INDEX($B$22:$B$141,MATCH(LARGE(IF($D$22:$D$141=_
"Group A",$Q$22:$Q$141),A3),$Q$22:$Q$141,0))}
where:
B is the field I want to index,
D is the Group I am addressing,
Q is the value of I want to base the rank on
A is the rank (1, 2, 3 etc...)
as I say, this works no problem. I've checked this by pivoting the raw data and comparing it with the function result.
on sheet 2, , the function is as follows:
Code:
{=INDEX($N$21:$N$563,MATCH(LARGE(IF($O$21:$O$563=_
"Group B",$P$21:$P$563),A6),$P$21:$P$563,0))}
where:
N is the field I want to index,
O is the Group I am addressing,
P is the value of I want to base the rank on
A is the rank (1, 2, 3 etc...)
as far as I can see the two formulas are identical other than they address different groups and use different fields, but in sheet 2, all I get returned is a list of 10, identical names, which don't relate to the Group I am requesting either (i.e. I've got a list of 10, all the same, from Group C)
I'm a bit stuck, anybody got any ideas what could be causing this?
ta