For convenience,datais anExcel Tablein the range B5:D16.

This problem can be easily solved with theAVERAGEIFS function.

As long as this information is supplied correctly, the behavior of AVERAGEIFS is fully automatic.

Excel formula: Average numbers ignore zero

The criteria range isdata[Group].

Next, we need to enter the criteria needed to target the regions.

How to create an Excel Table

How to use the AVERAGEIFS function

Excel formula: Average by month

Excel formula: Average by group

Excel formula: Average salary by department

Excel AVERAGEIFS function

Article image

Article image