Hi everyone! I hope someone can shed some light, because it's driving me crazy here. Been working on this for over a week now!
Suppose this situation:
[pre]
[/pre]
What I need is: get the corresponding values in E for each value of A, and then average it (or sum, or whatever). I thought about (entered as an array formula):
=AVERAGE(INDIRECT("E"&MATCH(A1:A5;D1:D3;0)))
But this doesn't work. It makes no sense to me, because evaluating with F9 shows INDIRECT being parsed right.
Is there any other way to achieve this? I tried other lookup functions but everything I tried failed, except for CHOOSE. But CHOOSE doesn't seem like an elegant choice of function to achieve this... Plus, my search array already has 112 values, and the limit is 256..
So, PLEASE, ANY help will be greatly appreciated!
Much love from Brazil!
Suppose this situation:
[pre]
Code:
A B C D E
1 a a 1
2 b b 5
3 c c 3
4 a
5 c
What I need is: get the corresponding values in E for each value of A, and then average it (or sum, or whatever). I thought about (entered as an array formula):
=AVERAGE(INDIRECT("E"&MATCH(A1:A5;D1:D3;0)))
But this doesn't work. It makes no sense to me, because evaluating with F9 shows INDIRECT being parsed right.
Is there any other way to achieve this? I tried other lookup functions but everything I tried failed, except for CHOOSE. But CHOOSE doesn't seem like an elegant choice of function to achieve this... Plus, my search array already has 112 values, and the limit is 256..
So, PLEASE, ANY help will be greatly appreciated!
Much love from Brazil!