Home > Net >  Calculate Average of cells that two requirements
Calculate Average of cells that two requirements

Time:08-04

How would I work out the average of a range where it has to meet two requirements.

In the example below, I would like to calculate the average 'Score' of all of the 'Type 1' results that are within August 2022.

enter image description here

CodePudding user response:

try:

=AVERAGE(FILTER(C:C; YEAR(A:A)=2022; MONTH(A:A)=8; B:B="Type 1"))

or even AVERAGEIFS can be used

CodePudding user response:

  • Fix th date format first there is no August in your dates

enter image description here

To look like this

enter image description here

Try this, or see enter image description here

To get Unique Names in cell I2

=UNIQUE(D2:D)
  • Related