Excel - AVERAGEIF function

Tutorial