Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Use the AVERAGEIFS Function in Excel

Learn how to use AVERAGEIFS Function in Excel, including its purpose, syntax, examples, and common errors, with clear step-by-step guidance.

Table of Contents

This guide explains how to use AVERAGEIFS Function in Excel, including its syntax, required arguments, practical examples, and common errors.

How to Use the AVERAGEIFS Function in Excel screenshot

Description: The function returns the average of the arguments that meet multiple conditions.

Syntax: AVERAGEIFS (average_range, criteria_range1, criteria1, [criteria_range2, criteria2]. )

Inside:

- average_range: The data area to calculate the average value including number or name or reference array containing numbers, is a required parameter. - criteria_range1, criteria_range2: Range containing conditionals to be summed, of which criteria_range1 is a required parameter, the remaining criteria_range are optional and contain up to 127 arguments, which are required parameters.

- criteria1, criteria2. : The condition to calculate the average, of which criteria1 is a required parameter, other criteria are optional parameters, containing up to 127 conditions.

Attention:

- If the value of the argument contains a logical value or a blank cell -> that value is ignored.

- If the range is blank or text -> the function returns the # DIV / 0 error value

- If a cell in the criterion is blank -> the function considers it as a value of 0.

- If the value in the data box is a logical value = True -> is considered 1, the value of False is considered to be 0.

- If the values in average_range cannot be converted to numbers -> the function returns the # DIV / 0 error value

- If no value meets all of the conditions -> the function returns the # DIV / 0 error value !

- Alternative characters such as *,? Can be used in the condition of averaging.

For example:

Calculate the average of the values with the condition in the following data table:

How to Use the AVERAGEIFS Function in Excel screenshot 2

1. Calculate the average of the profits of consumer goods groups with profits greater than 200.

- In the cell to calculate enter the formula : = AVERAGEIFS (C6: C10, B6: B10, "= * consumption *", C6: C10, "> 200")

How to Use the AVERAGEIFS Function in Excel screenshot 3

- Press Enter -> the average value of consumer goods items with profits greater than 200 are:

How to Use the AVERAGEIFS Function in Excel screenshot 4

2. Calculate the average plus profit of consumer goods except for the Chinese group.

- In the cell to calculate enter the formula: = AVERAGEIFS (C6: C10, B6: B10, "= * consumption *", B6: B10, "<> * China *")

How to Use the AVERAGEIFS Function in Excel screenshot 5

- Press Enter -> Average value of profit of consumer goods except Chinese goods is:

How to Use the AVERAGEIFS Function in Excel screenshot 6

Above are instructions and specific examples when using the AVERAGEIFS function in Excel.

Good luck!

FAQ

What does the AVERAGEIFS function do in Excel?

The AVERAGEIFS function performs the calculation described in this guide. Use the correct arguments and compatible data types for reliable results.

How do I enter the AVERAGEIFS function correctly?

Start with an equals sign, enter AVERAGEIFS, add the required arguments inside parentheses, and confirm that cell references and separators are correct.

Why does the AVERAGEIFS function return an error?

Common causes include missing arguments, invalid data types, incorrect cell references, unsupported values, or regional separator settings.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.