If average number is less than

This tutorial shows how to test if an average number from a range of cells is less than a specific number and return a value if the test is True or False through the use of an Excel formula, with the IF and AVERAGE functions

EXCEL FORMULA 1. If average number is less than

EXCEL

Hard coded formula
If average number is less than
Cell reference formula
If average number is less than
=IF(AVERAGE(B5:B9)<100,"Include","Exclude")
=IF(AVERAGE(B10:B14)<C5,C6,C7)
GENERIC FORMULA

=IF(AVERAGE(range)<number,value_if_true, value_if_false)

ARGUMENTS
number: A number that you want to test a range against for being less than the average of the values in that range.
range: A range that contains the numbers to calculate the average and test.
value_if_true: Value to be returned if the average of the range that is being tested is less than a specified number.
value_if_false: Value to be returned if the average of the range that is being tested is greater than or equal to a specified number.

GENERIC FORMULA

=IF(AVERAGE(range)<number,value_if_true, value_if_false)

ARGUMENTS
number: A number that you want to test a range against for being less than the average of the values in that range.
range: A range that contains the numbers to calculate the average and test.
value_if_true: Value to be returned if the average of the range that is being tested is less than a specified number.
value_if_false: Value to be returned if the average of the range that is being tested is greater than or equal to a specified number.

EXPLANATION

This formula uses the IF and AVERAGE functions test if an average number from a range is less that a specific number and return a value if the test is True or False.
Click on either the Hard Coded or Cell Reference button to view the formula that has the number that you want to test the range against for being less than the average of the values in the range and the return values directly entered into the formula or referenced to a specific cell.

In this example the formula initially calculates the average of the numbers in the range B5 to B9 (hard coded example) or B10 to B14 (cell reference example), which averages to 152. Then the formula performs a test to identify if this average value is less than 100 and return a text value of "Include" otherwise it will return a text value of "Exclude".

RELATED TOPICS

Related Topic Description Related Topic and Description
How to test if an average number from a range of cells is greater that a specific number and return a value if the test is True or False
How to average numbers that are less than a specific value

RELATED FUNCTIONS

Related Functions Description Related Functions and Description
The Excel IF function performs a test on specified conditions entered into the formula and returns a specified value if the result is TRUE or another specified value if the result is FALSE
The Excel AVERAGE function returns the average value from a specified range