How can I calculate the average by month in Excel?” 2

How can I calculate the average by month in Excel?”

To calculate the average by month in Excel, follow these steps:
1. Select the data that you want to use in your calculation.
2. In a new column, enter the dates for each data point.
3. Use the “MONTH” function to extract the month from each date. For example, if your date is in column A, the formula would be =MONTH(A2).
4. Next, use the “AVERAGEIF” function to specify the range of months and the data to be averaged. For example, if your months are in column B and your data is in column C, the formula would be =AVERAGEIF(B2:B10, “=1”, C2:C10) for the average of January.
5. Repeat this formula for each month, changing the criteria to match the corresponding month number.
6. The result will be the average for each month. You can then format the cells to display as desired.
By following these steps, you can easily calculate the average by month in your Excel spreadsheet.

Calculate Average by Month in Excel


Often you may want to calculate the average value grouped by month in Excel.

For example, suppose we have the following dataset and we’d like to calculate the average daily sales, grouped by month:

The following step-by-step example shows how to do so.

Step 1: Enter the Data

First, enter the data values into Excel:

Step 2: Extract the Month from Dates

Next, we need to use the =MONTH() function to extract the month from each date.

In our example, we’ll type the following formula in cell D2:

=MONTH(A2)

We’ll then drag and fill this formula down to every remaining cell in column D:

Step 3: Find the Unique Months

Next, we need to use the =UNIQUE() function to produce a list of unique months.

In our example, we’ll type the following formula in cell F2:

=UNIQUE(D2:D10)

Step 4: Calculate the Average by Month

Next, we will use the AVERAGEIF(range, criterion, average_range) function to find the average of the daily sales values, grouped by month.

In our example, we’ll type the following formula in cell G2:

=AVERAGEIF($D$2:$D$10, F2, $B$2:$B$10)

We’ll then drag and fill this formula down to the remaining cells in column G:

Excel average by month

This tells us:

  • The average daily sales value in January was 39.
  • The average daily sales value in February was 25.
  • The average daily sales value in March was 27.75.

The following tutorials explain how to perform other common tasks in Excel:

Cite this article

stats writer (2024). How can I calculate the average by month in Excel?”. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-calculate-the-average-by-month-in-excel/

stats writer. "How can I calculate the average by month in Excel?”." PSYCHOLOGICAL SCALES, 27 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-calculate-the-average-by-month-in-excel/.

stats writer. "How can I calculate the average by month in Excel?”." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-calculate-the-average-by-month-in-excel/.

stats writer (2024) 'How can I calculate the average by month in Excel?”', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-calculate-the-average-by-month-in-excel/.

[1] stats writer, "How can I calculate the average by month in Excel?”," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I calculate the average by month in Excel?”. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top