Skip to content
# EXCEL FUNCTION – AVERAGEIF

## Excel Function AVERAGEIF

**Syntax:**

**Syntax Description:**

## EXAMPLE 1 :- AVERAGE

#####

## EXAMPLE 2 :- AVERAGEIF

**Things to Remember:**

### Recommended Articles

## Similar Posts

### Excel Function – WORKDAY

### EXCEL FUNCTION – MATCH

### EXCEL FUNCTION – SMALL

### EXCEL FUNCTION – COUNTIFS

### EXCEL FUNCTION – COLUMN

### EXCEL FUNCTION – AND, OR, NOT

**The AVERAGEIF **function is used to get the “average” of values for a range of cells, based on multiple criteria.

The mathematical Average is calculated following: = Sum of all values / (divided by) number of items.

AVERAGEIF Function has two required arguments i.e. **range, criteria **and optional argument i.e. **[average_range]**.

=AVERAGEIF(range,criteria,[average_range])

**range **argument is used to give the range of cells in which criteria needs to find

**criteria **argument is used to give criteria for average. We can give value (example “A”,”A*” >10, 50 ) or cell reference# (example: E2) in this argument

**average_range **argument is used to give cell range; those values to be averaged as per the criteria mentioned above

**[average_range]** is optional ONLY incase where **range **and **[average_range]** are in ONE column, but if, **range** and **[average_range]** are in DIFFERENT columns then **[average_range] **is NOT optional.

- As we can see in below example.
- There are 2 columns A & B .
- A Contains sales rep and B contains sales volume.
- Here we are calculating the
**Average**of sales volume by applying its formula. - Formula =AVERAGE(B2:B11)
- So we are selecting the sales volume range and with the help of the formula, the average of sales reps is automatically calculated as shown in pic 2.
- The result is 3473.7

When we want to calculate the average with any condition than AVERAGEIF is used.

Here in example 2, we are calculating the average sales volume but with 1 condition, that’s why we will use AVERAGEIF here.

Formula:- =AVERAGEIF($A$2:$A$11,E6,$B$2:$B$11)

So here Criteria 1 is sales volume, the condition is David, and criteria 2 is a sales rep.

basically, we want to count the average of sales done by David.

The result is 4378 as shown in the 2nd image.

– Criteria argument can also work with Wild characters i.e. asterisk (*), question mark (?). Asterisk will find any series of characters and Question mark will find a single character.

– If you want to search actual * or ? (Asterisk or Question Mark) then type tilde (~) before * or ?

Hope you learnt this Function,

Don’t forget to leave your valuable comments!

If you liked this article and want to learn more similar tricks, please Subscribe us or follow us on Social Media by clicking below buttons:

WORKDAY Function in Excel Are you working today? or Do you have Work Off or holiday today? I am asking this question because I am gonna tell you the most commonly used function in Excel…

MATCH function performs lookup for a value in a range and returns its position sequence number as output. It has two required and one optional arguments

SMALL function is used to get the Smallest k-th value from the range.

SMALL Function has two required arguments i.e. array, and k

COUNTIFS function is used to get the total count for number of times the various criteria across ranges are met.

COLUMN function is used to get the column reference number of the excel worksheet. COLUMN Function has only one argument.

AND, OR, NOT Functions” provide result in “TRUE” or “FALSE”. If the logical condition is correct and matching the parameters provided, then result would be “TRUE” or if logical condition is not correct and not matching the parameters provided then result would be “FALSE”