10.3. Using Common Functions: Calculating Averages with the AVERAGE Function

Spreadsheets are powerful tools for managing and analyzing data. Google Sheets, in particular, offers a wide range of functions that make it easy to perform complex calculations. Among these functions, the AVERAGE function is one of the most used, allowing you to calculate the arithmetic mean of a set of numbers efficiently and accurately. In this section, we'll explore the AVERAGE function and learn how to use it to calculate averages in your Google Sheets spreadsheets.

Introduction to the AVERAGE Function

The AVERAGE function is a basic function in spreadsheets that calculates the arithmetic mean of the values ​​provided as arguments. The arithmetic mean is the sum of a set of numbers divided by the number of numbers in the set. The AVERAGE function is particularly useful in various situations, such as performance analysis, evaluating market trends, monitoring school grades, among others.

AVERAGE Function Syntax

The syntax of the AVERAGE function is simple and straightforward:

=AVERAGE(value1, [value2, ...])

Where:

  • value1, value2, ... are the arguments that can be numbers, cell references, ranges or a combination of these. The function will calculate the average of all given numbers.

How to Use the AVERAGE Function

To calculate the average of a set of numbers in Google Sheets using the AVERAGE function, follow the steps below:

  1. Select the cell where you want to display the average result.
  2. Type =AVERAGE( to start the function.
  3. Enter the numbers or select the cells or ranges of cells that contain the values ​​for which you want to calculate the average. For example, you can type =AVERAGE(A1:A10) to calculate the average of the values ​​in cell A1 through A10.
  4. Press Enter to complete the function and display the result.

Practical Examples of Using the AVERAGE Function

Consider a sales tracking spreadsheet where you have daily sales figures for a month and want to calculate the average sales for the month. Assume the values ​​are in the range B2:B31. To calculate the average, you would use the function as follows:

=AVERAGE(B2:B31)

Another common example is the calculation of student grade point averages. If the notes are in cells C2 through C6, the function would look like this:

=AVERAGE(C2:C6)

Considerations When Using the AVERAGE Function

When using the AVERAGE function, it is important to consider the following:

  • If one of the arguments provided is text or an empty cell, it will be ignored when calculating the average.
  • If you want to include TRUE and FALSE logical values ​​or text representations of these logical values ​​in the calculation, you must use the AVERAGEIF function.
  • To calculate the average of a set of numbers that meet certain criteria, you can use the AVERAGEIF or AVERAGEIFS function.
  • The AVERAGE function can be combined with other functions, such as SUM and COUNTAVALUES, to perform more complex calculations.

Missing Data Treatment

In some cases, you may encounter empty cells or missing data when calculating averages. If you want to treat empty cells as zero in the calculation, you can use the AVERAGE function or manually add zeros to empty cells before applying the AVERAGE function.

Advanced Tips

For advanced users, you can perform weighted average calculations using the SUMPRODUCT function in conjunction with the AVERAGE function. The weighted average takes into account the weight of each value in the data set, being useful in financial and statistical analyses.

Conclusion

The AVERAGE function is an essential tool in Google Sheets for calculating averages for data sets. Understanding its syntax and applicability allows you to perform data analysis with greater efficiency and accuracy. Practicing using the AVERAGE function in different scenarios will reinforce your ability to manipulate and interpret data in your spreadsheets.

With this knowledge, you are now more prepared to explore the potential of spreadsheets and apply the AVERAGE function in your own analyses, whether in the work, academic or personal environment. Remember, practice makes perfect, so don't hesitate to experiment and apply what you've learned to become an even more proficient Google Sheets user.

Now answer the exercise about the content:

Which of the following statements about the AVERAGE function in Google Sheets is correct?

You are right! Congratulations, now go to the next page

You missed! Try again.

Article image Using common functions (SUM, AVERAGE, etc.): Counting cells with the COUNT function

Next page of the Free Ebook:

25Using common functions (SUM, AVERAGE, etc.): Counting cells with the COUNT function

5 minutes

Obtenez votre certificat pour ce cours gratuitement ! en téléchargeant lapplication Cursa et en lisant lebook qui sy trouve. Disponible sur Google Play ou App Store !

Get it on Google Play Get it on App Store

+ 6.5 million
students

Free and Valid
Certificate with QR Code

48 thousand free
exercises

4.8/5 rating in
app stores

Free courses in
video, audio and text