I have a datasheet containing two huge columns, both with integer values. The values in one column range from 1-11, the other from 0-22. The values aren't sorted in any way. In a separate sheet (same file) I want to show averages per step.
Example:
A B
-------
2 3
4 0
6 2
2 9
4 12
1 9
1 18
In the other tab, I would like to see:
Values A Average B Values B Average A
--------------------------------------------
1 14 0 4
2 6 2 6
4 6 3 2
6 2 9 2
12 4
18 1
I'd like to solve this with a function that looks loops through the values of each column, and during that loop takes an average of the rows in the column that correspond to that value. Manually, this would be too much of a hassle.
I tried working with AVERAGEIF
but nothing fruitful came out of it.
Try:
=AVERAGEIF('analyse-logs'!A:A;A1;'analyse-logs'!B:B)
Regards