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

Data Analysis

  • How to calculate current stock or inventory in Excel
  • Get column index in Excel Table
  • Conditional Formatting Data bars Examples in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Managing Conditional Formatting Rules in Excel

References

  • Convert text string to valid reference in Excel using Indirect function
  • How to use Excel OFFSET function
  • Extract all partial matches in Excel
  • Get nth match with INDEX / MATCH in Excel
  • How to use Excel LOOKUP Function

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation date in specific year
  • Excel Data validation exists in list
  • Excel Data validation must contain specific text
  • Excel Data validation number multiple 100

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

  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples
  • Invoice status with nested if in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to use IFS function in Excel

Date Time

  • How to calculate Day of the Year in Excel
  • Calculate date overlap in days in Excel
  • How to determine year is a leap year in Excel
  • Calculate total hours that fall between two times in Excel
  • Get project midpoint in Excel

Grouping

  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • Categorize text with keywords in Excel
  • Group numbers at uneven intervals in Excel
  • Group numbers with VLOOKUP in Excel

General

  • 3D SUMIF for multiple worksheets in Excel
  • Count cells that do not contain errors in Excel
  • How to calculate decrease by percentage in Excel
  • Find Most Frequently Occurring Word in Excel Worksheet
  • How to create dynamic worksheet reference in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning