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
  • How to Sort by Color in Excel
  • How to calculate average last N values in a table in Excel
  • Randomize/ Shuffle List in Excel
  • How to create Gauge Chart in Excel

References

  • Count unique text values with criteria
  • How to get relative row numbers in a range in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • Get nth match with INDEX / MATCH in Excel
  • Last row number in range

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation with conditional list
  • Excel Data validation must contain specific text
  • Excel Data validation must not contain
  • Excel Data validation no punctuation

Average and ignore errors in Excel

by

This tutorial shows how to work Average and ignore errors in Excel using the example below;

Formula

=AVERAGEIF(values,">=0")

Explanation

To average a list of values, ignoring any errors that might exist in the range, you can use the AVERAGEIF or AGGREGATE function, as described below. In the example shown, the formula in E5 is:

=AVERAGEIF(values,">=0")

where “values” is the named range B5:B14.

Worked Example:   Average numbers ignore zero in Excel

How this formula works

The AVERAGEIF function can calculate an average of numeric data with one or more criteria. In this case, the criteria is the expression “>=0”. This filters out error values, and AVERAGEIF returns the average of the remaining eight values, 91.75.

Worked Example:   How to Sum Range with Errors in Excel

Alternative with AGGREGATE

The AGGREGATE function can also ignore errors when calculating an average. To calculate an average with the AGGREGATE function, you can use a formula like this:

=AGGREGATE(1,6,values)

Here, the number 1 specifies average, and the number 6 is an option to ignore errors. Like AVERAGEIF above, AGGREGATE returns the average of the remaining eight values, 91.75.

Post navigation

Previous Post:

How to use Excel FALSE Function

Next Post:

Large with criteria 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

  • How to use Excel OR Function
  • How to return blank in place of #DIV/0! error in Excel
  • Extract multiple matches into separate rows in Excel
  • Nested IF function example in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate most recent day of week in Excel
  • MINUTE function: Description, Usage, Syntax, Examples and Explanation
  • Display Days until expiration date in Excel
  • Get fiscal year from date in Excel
  • WEEKNUM function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Calculate conditional mode with criteria in Excel
  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel
  • Group numbers at uneven intervals in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Check if range contains a value not in another range in Excel
  • How to get original number from percent change in Excel
  • Index and match on multiple columns in Excel
  • Common Errors in Excel
  • How to add sequential row numbers to a set of data in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning