Excel SUBTOTAL and AGGREGATE functions

  • Post author:
  • Post category:Blog
  • Post comments:0 Comments
You are currently viewing Excel SUBTOTAL and AGGREGATE functions

Here, we will learn how to use the Excel math functions: SUBTOTAL and AGGREGATE.

SUBTOTAL function

The Excel SUBTOTAL function allows users to create groups and then perform various other Excel functions such as SUM, COUNT, AVERAGE, MAX, etc. The function can be found in all the versions of Excel. For example, in the screenshot shown, I filter the table to show sales only for the "North" region. The SUBTOTAL formula adjusts automatically to remove all other regions. Here, the SUBTOTAL 9 formula has been used which uses the SUM function to sum up the values. Similarly, SUBTOTAL 1 uses AVERAGE, SUBTOTAL 2 uses COUNT, SUBTOTAL 3 uses COUNTA, SUBTOTAL 4 uses MAX, SUBTOTAL 5 uses MIN, and so on.

AGGREGATE function

The Excel AGGREGATE function returns an aggregate calculation like AVERAGE, COUNT, MAX, etc., optionally ignoring errors. The function can be found in Excel 365 - Excel 2010. For example, in the screenshot shown, the AGGREGATE 4 formula has been used which uses the MAX function to return the largest numeric value in the range E4:E14. To ignore values, the sixth option has been used that ignores error values.

You have successfully learnt how to use the Excel math functions: SUBTOTAL and AGGREGATE.

Download Practice Workbook

Kunal

Hey, I am Kunal Aggarwal, the founder and author of Kunal Excel Tip based in New Delhi, India. I have completed my postgraduation from NIIT Limited, New Delhi in Excel course in 2019. Since then, I have been using and learning Microsoft Excel and started writing posts on the spreadsheet software here since March 2024.

Leave a Reply