Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Conflicting Multiple Conditional Formatting Rules in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How to do a t-Test in Excel?
  • Get column index in Excel Table

References

  • How to use Excel COLUMN Function
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel MATCH Function
  • Multi-criteria lookup and transpose in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation allow uppercase only
  • Excel Data validation must contain specific text
  • Excel Data validation only dates between
  • Excel Data validation whole percentage only

How To Use AGGREGATE function to sum a range with errors in Excel

by

Excel functions such as SUM, COUNT, LARGE and MAX don’t work if a range includes errors. However, you can easily use the AGGREGATE function to fix this.

1. For example, Excel returns an error if you use the SUM function to sum a range with errors.

2. Use the AGGREGATE function to sum a range with errors.

Explanation: the first argument (9) tells Excel that you want to use the SUM function. The second argument (6) tells Excel that you want to ignore error values.

3. It’s not easy to remember which argument belongs to which function. Fortunately, the AutoComplete feature in Excel helps you with this.

4. The AGGREGATE function below finds the second to largest number in a range with errors.

Explanation: the first argument (14) tells Excel that you want to use the LARGE function. The second argument (6) tells Excel that you want to ignore error values. The fourth argument (2) tells Excel that you want to find the second to largest number.

5. The AGGREGATE function below finds the maximum value ignoring error values and hidden rows.

Explanation: the first argument (4) tells Excel that you want to use the MAX function. The second argument (7) tells Excel that you want to ignore error values and hidden rows. In this example, row 2 is hidden.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF with wildcards in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel FALSE Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel

Date Time

  • Convert date string to date time in Excel
  • Get project end date in Excel
  • Create date range from two dates in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • SECOND function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group arbitrary text values in Excel
  • Group numbers with VLOOKUP in Excel
  • Calculate conditional mode with criteria in Excel
  • How to randomly assign people to groups in Excel
  • If cell contains one of many things in Excel

General

  • Check if multiple cells have same value in Excel
  • Subtotal invoices by age in Excel
  • List sheet names with formula in Excel
  • How to fill cell ranges with random text values in Excel
  • Subtotal by color in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning