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])
Advertisements

About mathtuition88

http://mathtuition88.com
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

1 Response to 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 )

Google photo

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

Twitter picture

You are commenting using your Twitter 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.