Anyway, it's the AVERAGEIF function, used as follows:
=AVERAGEIF(the column with the duplicate values, a single value to get the corresponding average for, the column with the values to be averaged)formatted so the first and last columns are static, like this:
=AVERAGEIF($A$1:$A:$1234,A1,$B$1:$B$1234)
I'm certain that something very similar can be done in a shell script based around uniq.
No comments :
Post a Comment