Excel: Find Sum, Average, Median by ignoring NA or invalid values

Today I just found out about the AGGREGATE function in Microsoft Excel, which allows you to find the sum, average, median, product and various other statistical numbers while ignoring NaN values.

The usual Excel function of AVERAGE will produce errors if any of the cells are invalid.

With AGGREGATE, for instance if we want to calculate the average (while ignoring invalid cells), we just type in the Excel formula

=AGGREGATE(1,6, [data])

Author: mathtuition88

Math and Education Blog

One thought on “Excel: Find Sum, Average, Median by ignoring NA or invalid values”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: