A manager does not judge a team on one number. The total shows who sells the most, the count shows who works the most, and the average shows who performs best on each sale. With SUMIF, COUNTIF and AVERAGEIF, you get these three answers from the same table, with the same condition.
The following exercise shows you how to mix the three conditional functions to follow the performance of a team.
What you will practice in this exercise
You work on a table of 5 employees over 3 months, with their department and their monthly revenue. You answer 6 questions, one formula per question:
- Total revenue of one employee (SUMIF)
- Number of results in the Sales department (COUNTIF)
- Average revenue of one employee (AVERAGEIF)
- Average revenue of the employee written in a cell (AVERAGEIF with a cell reference)
- Number of results above $4,000 (COUNTIF with an operator)
- Average revenue of the Sales department in March (AVERAGEIFS, two criteria)
Practice with exercises
AVERAGEIF — Sales portfolio
Calculate average revenue by salesperson and region with AVERAGEIF.
Related articles
All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.