Common aggregate functions in Google Sheets

Key takeaways:

  • Aggregate functions simplify data analysis in Google Sheets, allowing users to perform calculations efficiently without complex formulas.

  • The following are the common aggregate functions in Google Sheets:

    • SUM: Adds up all numbers in a specified range.

    • COUNT: Counts the number of cells containing numbers in a range.

    • AVERAGE: Calculates the arithmetic mean of values in a range.

    • MIN: Identifies the smallest number in a range.

    • MAX: Identifies the largest number in a range.

    • MEDIAN: Finds the middle value in a dataset.

    • MODE: Returns the most frequently occurring number in a dataset.

    • PRODUCT: Multiplies all numbers in a specified range.

  • Using these functions helps users efficiently summarize and analyze large datasets, making data handling easier for reports and presentations.

In Google Sheets, aggregate functionsAggregate functions calculate results like sums, averages, counts, or find minimum and maximum values. are crucial for manipulating and analyzing data. Without the need for complex formulas or costly calculations, they let users swiftly and effectively carry out a variety of calculations on data sets. These tools come in handy when working with huge datasets or simplifying data for reports or presentations.

Advantage

One of the aggregate functions’ main benefits is its capacity to automate time-consuming operations and lower the risk of mistakes. Users only need to apply the proper aggregate function to the necessary range of cells in Google Sheets to rapidly complete calculations, saving them the trouble of manually adding up numbers or counting entries. This automation enhances productivity and improves accuracy, as the calculations are based on the actual data in the spreadsheet.

Types

Here’s an overview of some common aggregate functions:

  • SUM

  • COUNT

  • AVERAGE

  • MIN

  • MAX

  • MEDIAN

  • MODE

  • PRODUCT

Some common aggregate functions
Some common aggregate functions

Now, let’s look at them in detail:

The SUM function

The SUM function adds up all the numbers in a range of cells. For instance, if we want to calculate a student’s total score, we can easily do this using the SUM function.

The illustration below represents how to apply the SUM function on five cells in Google Sheets:

The SUM function in Google Sheets
The SUM function in Google Sheets

In the above illustration, using the formula =SUM(B1:B5), we instructed Google Sheets to add up the values from cell B1 to B5, resulting in a total sum of 75.

The COUNT function

The COUNT function counts the number of cells containing numbers within a specified range. It’s particularly handy when we need to know how many entries we have in a dataset. For instance, if we want to count the number of subjects listed in a student’s data, we can easily do this using the COUNT function.

The illustration below represents how to apply the COUNT function on five cells in Google Sheets:

The COUNT function in Google Sheets
The COUNT function in Google Sheets

In the above illustration, using the formula =COUNT(B1:B5), we instructed Google Sheets to count the number of values from cell B1 to B5, resulting in a count of 5.

The AVERAGE function

The AVERAGE function calculates the arithmetic mean of a range of cells. It’s useful for finding the typical value in a set of numbers. For instance, we might use it to find the average class score.

The illustration below represents how to apply the AVERAGE function on five cells in Google Sheets:

The AVERAGE function in Google Sheets
The AVERAGE function in Google Sheets

In the above illustration, using the formula =AVERAGE(B1:B5), we instructed Google Sheets to calculate the average values from cell B1 to B5, resulting in an average value of 15.

The MIN function

The MIN function returns the smallest number in a range of cells. It’s helpful when we want to identify the lowest value in a dataset. For instance, we could use it to find the minimum score a student gets.

The illustration below represents how to apply the MIN function on five cells in Google Sheets:

The MIN function in Google Sheets
The MIN function in Google Sheets

In the above illustration, using the formula =MIN(B1:B5), we instructed Google Sheets to find the minimum value among the values from cell B1 to B5, resulting in the minimum value of 5.

The MAX function

The MAX function does the opposite of MIN; it returns the largest number in a range of cells. For instance, we could use it to find a student’s maximum score.

The illustration below represents how to apply the MAX function on five cells in Google Sheets:

The MAX function in Google Sheets
The MAX function in Google Sheets

In the above illustration, using the formula =MAX(B1:B5), we instructed Google Sheets to find the maximum value among the values from cell B1 to B5, resulting in 25.

The MEDIAN function

The MEDIAN function returns the middle number in a set of given numbers. For instance, if we want to find the median of a student’s marks in the dataset, we can easily use the MEDIAN function.

The illustration below represents how to apply the MEDIAN function on five cells in Google Sheets:

The MEDIAN function in Google Sheets
The MEDIAN function in Google Sheets

In the above illustration, using the formula =MEDIAN(B1:B5), we instructed Google Sheets to calculate the median value among the values from cell B1 to B5, resulting in a median value of 15.

The MODE function

The MODE function returns the most frequently occurring number in a dataset. It’s handy for finding the most common value. For instance, we can use the MODE function to identify the most repeated marks a student gets.

The illustration below represents how to apply the MODE function on five cells in Google Sheets:

The MODE function in Google Sheets
The MODE function in Google Sheets

In the above illustration, using the formula =MODE(B1:B5), we instructed Google Sheets to find the mode among the values from cell B1 to B5, resulting in the mode value 10.

The PRODUCT function

The PRODUCT function calculates the result of multiplying all the numbers in a range of cells. For instance, if we want to calculate the product of the marks a student gets, we can use the PRODUCT function.

The illustration below represents how to apply the PRODUCT function on five cells in Google Sheets:

The PRODUCT function in Google Sheets
The PRODUCT function in Google Sheets

In the above illustration, using the formula =PRODUCT(B1:B5), we instructed Google Sheets to calculate the product values from cell B1 to B5, resulting in the product value 750000.

Conclusion

In Google Sheets, aggregate functions are important for analyzing data efficiently by getting a summarized view. They allow users to perform calculations such as summing, counting, averaging, finding minimum and maximum values, determining the median and mode, and calculating products without implementing complex formulas or manual calculations. These functions make handling large datasets easier and simplify data for reports or presentations.

Unlock your potential: Google Sheets fundamentals series, all in one place!

To deepen your understanding of Google Sheets, explore our series of Answers below:

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved