Return maximum number ignoring errors

This tutorial shows how to find the maximum number from a specified range ignoring errors using an Excel formula, with the AGGREGATE function

EXCEL FORMULA 1. Return maximum number ignoring errors

EXCEL

Return maximum number ignoring errors

=AGGREGATE(4,6,B5:B11)
GENERIC FORMULA

=AGGREGATE(4,6,range)

ARGUMENTS
range: The range from which to return the maximum number, ignoring errors.

EXPLANATION

This formula uses the AGGREGATE function with the function_num criteria set to 4, which represents the MAX function, and the options criteria set to 6, which tells the function to ignore error values from the selected range.
Please note that this formula will ignore blank cells and will not account for them when identifying the maximum number.

In this example the range from which we are returning the highest number, ignoring errors, is B5:B11. The formula returns a value of 250, captured in cell B7, as this is the largest number in the selected range.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to average numbers in a range and ignore zeros
How to lookup the nth largest value in a range with criteria
How to get the largest number from a list with a specific criteria
How to find the n largest numbers from a specific range