EXCEL FUNCTION – AVERAGEIF
How to use “AVERAGEIF” function in Excel
AVERAGEIF function is used to get the “average” of values for matching criteria across range.
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].
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
Kindly note, [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.
Example 1: AVERAGEIF function with various criteria
- “Column A to B” has sales details,
- “Column D” shows the sample criteria, that is applied,
- “Column E” shows the sample formula applied,
- “Column F” shows the output of the function and,
- Explanation is provided in Columns “G & H”
Things to Remember:
– 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: