I have a spreadsheet with sorted information in the following form:
name col1 col2
AAHEIM 1 2
AAHEIM 1 2
AAHEIM 9 3
AAHEIM 7 7
AAHEIM 7 6
AMSTERDAM 1 2
ANTWERP 1 2
BALTIMORE 1 2
BARANQUILLA . .
BARANQUILLA . .
BARANQUILLA . .
BEIRA
BOCA GRANDE
CAMPHA
CAPE LAMBERT
.
.
.
etc
I would like to peform a lookup such that, for example, it gives me the overall average of col1 and col2if they belong to the name "AAHEIM". In this example, the output value for col1 would be 7, and for col2 would be 4.
Is this possible? And if so, how?