P
Ptyrider
So I have a list of IDs (repeating) and scores like this:
A B
4710051 3
4710051 3
4710064 4
4710064 2
4710070 4
4710070 5
4710070 4
I make a list of unique IDs in col. C. And then I need a formula or
VBA routine to get the average score and put it in col. D.
C D
4710051 3
4710064 3
..
..
..
Before (thanks to this group) I could get the MAX, like this:
=SUMPRODUCT(MAX(($A$2:$A$5988=$c2)*$B$2:$B$5988))
But I can't just substitute AVERAGE() for MAX, so don't know what to
do. Help appreciated!
A B
4710051 3
4710051 3
4710064 4
4710064 2
4710070 4
4710070 5
4710070 4
I make a list of unique IDs in col. C. And then I need a formula or
VBA routine to get the average score and put it in col. D.
C D
4710051 3
4710064 3
..
..
..
Before (thanks to this group) I could get the MAX, like this:
=SUMPRODUCT(MAX(($A$2:$A$5988=$c2)*$B$2:$B$5988))
But I can't just substitute AVERAGE() for MAX, so don't know what to
do. Help appreciated!