Go Back

Max value ignore all errors

We can use the AGGREGATE function to calculate the maximum numerical value in a set of values full of errors. We can calculate the maximum value from the data using max value ignore all errors task through Excel Aggregate function. The steps below will walk through the process.

Figure 1: Maximum Value obtained and All Errors Ignored

General Formula

=AGGREGATE(4,6,range of values)

Formula

=AGGREGATE(4,6,B4:B12)

Setting up the Data

  • We will set up data by inputting our Values in Column B
  • The result will be returned in Cell C4

Figure 2: Setting up the Data

Get Maximum Value and Ignore All Errors

  • We will click on Cell C4
  • We will insert the formula below into the cell
    =AGGREGATE(4,6,B4:B12)
  • We will press the enter key

Figure 3: Maximum Value obtained and All Errors Ignored

Explanation

The AGGREGATE function can ignore errors optionally when we are calculating the maximum value in a set of data. In the formula, the number 4 specifies average and the 6 serves as an option to ignore errors.

Note

  • MAXIFS is an alternative to Max Value Ignore All Errors
  • If the data set value is positive, with the formula below, we can get the maximum  number and ignore all errors:

=MAXIFS(values,values,">=0")

In this formula, the “greater” or “equal to zero” expression removes error values and provides the maximum numerical value.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

Hi - I'm looking for help writing a formula that finds the MAX value of two calculations and ignores errors if one of the calculations results in an error.
Solved by T. A. in 18 mins
When using Data Validation, errors are being shown on blank cells whether or not I have "Ignore Blank" checked
Solved by O. C. in 13 mins
Help please. I have two sheets, one contains a column that has a list of common errors, the other has a column from a log file that has all the errors. I need something that will check through all the errors and return a count of lines that do NOT contain any text from the common errors. In other words lines that have unknown errors. Additionally it would be useful to highlight the lines in all the errors to show unrecognized errors in red. Any ideas?
Solved by T. L. in 29 mins

Leave a Comment

avatar