Table of Contents
Introduction: Understanding Monthly Averages in Excel
In data analysis, understanding trends over time is crucial for making informed decisions. One common analytical task involves calculating the average value of a dataset, grouped by specific time intervals, such as months. This approach helps identify seasonal patterns, evaluate performance, and forecast future outcomes. For businesses tracking sales, project managers monitoring task completion rates, or financial analysts examining expenses, having the ability to quickly aggregate and analyze data on a monthly basis within Excel is invaluable.
This guide will walk you through a detailed, step-by-step process to effectively calculate monthly averages in Excel. We will explore how to transform raw daily data into meaningful monthly summaries using several built-in functions. By the end of this tutorial, you will be equipped with the knowledge to apply these techniques to your own datasets, gaining deeper insights into your operations.
Consider a scenario where you have daily sales figures and you wish to determine the average daily sales for each month. This seemingly complex task can be broken down into manageable steps, leveraging Excel‘s powerful capabilities. Below is an illustrative example of the kind of data we will be working with:

The subsequent sections will meticulously detail each stage of this calculation, ensuring clarity and providing a robust understanding of the underlying Excel functions involved. We’ll start by organizing our data and then proceed to extract, identify, and finally calculate the desired averages.
Step 1: Preparing Your Data in Excel
The foundational step for any analysis in Excel is to ensure your data is correctly entered and structured. For calculating monthly averages, it is essential to have a column dedicated to dates and another for the numerical values you wish to average. Accurate data entry minimizes errors and streamlines the subsequent computational steps.
Begin by opening a new or existing spreadsheet in Excel. Populate the first column (Column A) with your dates and the second column (Column B) with the corresponding numerical values, such as daily sales. It is important that your dates are formatted as actual dates in Excel, not as text, to allow for date-specific functions to work correctly. If your dates are not recognized, you may need to adjust the cell formatting.
For our example, we will use a simple dataset consisting of daily records. This structured format will serve as the basis for all further calculations in our exercise. The image below illustrates how your initial data setup should appear:

Once your data is entered and correctly formatted, you are ready to proceed to the next step, which involves extracting the month information from these dates. This separation of month data is crucial for grouping and averaging by month.
Step 2: Extracting Month Numbers from Dates
To group your data by month, you first need to isolate the month component from each date entry. Excel provides a dedicated function for this purpose: the MONTH() function. This function takes a date as its argument and returns the month as an integer, ranging from 1 (January) to 12 (December).
The MONTH() function is straightforward to use. Its syntax is simply =MONTH(serial_number), where serial_number is the date from which you want to extract the month. This function is invaluable when you need to perform calculations or analysis based on monthly periods, as it standardizes the month representation.
To apply this in our example, navigate to an empty column, such as Column D, and in cell D2, type the following formula. This formula targets the date in cell A2, retrieving its corresponding month number:
=MONTH(A2)
After entering the formula into cell D2, press Enter. The cell will display the month number for the date in A2. To apply this formula to all other dates in your dataset, simply use the fill handle. Click on cell D2, then click and drag the small square at the bottom-right corner of the cell downwards until you cover all rows containing dates. This action efficiently copies the formula, adjusting the cell reference (e.g., from A2 to A3, A4, etc.) automatically.

Upon completing this step, you will have a new column populated with the month numbers corresponding to each date. This organized list of month identifiers is a critical precursor to grouping and calculating averages.
Step 3: Identifying Unique Months for Analysis
Once you have extracted all the month numbers, the next logical step is to determine the unique months present in your data. This is crucial because you’ll want to calculate an average for each distinct month, rather than repeatedly processing the same month. Identifying unique months provides the criteria for our subsequent averaging calculations.
Excel offers a dynamic array function, UNIQUE(), which is perfectly suited for this task. The UNIQUE function extracts all distinct values from a specified range, presenting them in a new array. This eliminates duplicates and provides a clean list of the months for which we need to compute averages.
To implement this, select an empty cell where you want your list of unique months to appear, for instance, cell F2. Type the following formula, referencing the column where you extracted the month numbers (Column D in our example):
=UNIQUE(D2:D10)
Press Enter, and Excel will automatically spill the unique month numbers into cells below F2. This dynamic array feature means you don’t need to drag and fill; the function intelligently populates the necessary range. This list will serve as our grouping criterion for the final averaging step.

Having this concise list of unique months is fundamental to performing targeted calculations. It ensures that each month is considered precisely once when determining its average, making your analysis both accurate and efficient.
Step 4: Calculating Monthly Averages Using AVERAGEIF
With our unique month identifiers established, we are now ready to compute the average daily sales for each month. The ideal Excel function for this conditional averaging is AVERAGEIF(). This powerful function allows you to calculate the average of a range of cells that meet a specified criterion.
The AVERAGEIF() function has three essential arguments: AVERAGEIF(range, criterion, average_range).
range: This is the range of cells you want to evaluate against the criterion. In our case, it’s the column containing the extracted month numbers (Column D).criterion: This is the condition or value that cells in therangemust meet. Here, it will be each unique month number from our list in Column F.average_range: This is the actual range of cells that will be averaged if their corresponding cells in therangemeet thecriterion. For our example, this is the column with daily sales values (Column B).
It’s crucial to use absolute references (e.g., $D$2:$D$10) for the range and average_range to ensure they do not change when the formula is copied. The criterion, however, should typically be a relative reference (e.g., F2), so it correctly refers to the next unique month as the formula is dragged down.
In cell G2, adjacent to your first unique month in cell F2, enter the following formula:
=AVERAGEIF($D$2:$D$10, F2, $B$2:$B$10)
After inputting the formula and pressing Enter, cell G2 will display the average sales for the month indicated in F2. To apply this calculation for all unique months, use the fill handle once more. Drag the formula down from G2 to cover all cells corresponding to your unique month list in Column F. This will populate Column G with the average daily sales for each respective month.

The results will immediately provide clear insights into your monthly performance. Based on our example, the calculated averages are:
- The average daily sales value for January (month 1) was 39.
- The average daily sales value for February (month 2) was 25.
- The average daily sales value for March (month 3) was 27.75.
These averages offer a concise summary of your data, enabling quick comparisons and highlighting trends across different months.
Conclusion: Leveraging Monthly Averages for Insights
Calculating monthly averages in Excel is a fundamental skill that transforms raw transactional data into actionable intelligence. By following the steps outlined in this guide—from data preparation and month extraction to identifying unique months and applying the powerful AVERAGEIF() function—you can efficiently analyze temporal trends in your datasets.
The ability to segment and summarize data by month allows for a clearer understanding of seasonal variations, performance fluctuations, and long-term patterns. This analytical capability is crucial for strategic planning, resource allocation, and identifying areas for improvement or opportunities for growth. Mastering these Excel techniques empowers you to derive deeper insights and make data-driven decisions more effectively.
Additional Resources for Excel Proficiency
To further enhance your Excel skills and explore other advanced functionalities, consider delving into additional tutorials. Continuous learning can unlock even more powerful ways to manage and analyze your data, making you a more proficient user of this versatile software.
Here are some related tutorials that explain how to perform other common tasks in Excel, building upon the foundational knowledge you’ve gained today:
These resources can help you expand your data analysis toolkit, enabling you to tackle a wider range of challenges with confidence.
Cite this article
Mohammed looti (2025). Learn to Calculate Monthly Averages in Excel. PSYCHOLOGICAL STATISTICS. Retrieved from https://statistics.arabpsychology.com/calculate-average-by-month-in-excel/
Mohammed looti. "Learn to Calculate Monthly Averages in Excel." PSYCHOLOGICAL STATISTICS, 28 Oct. 2025, https://statistics.arabpsychology.com/calculate-average-by-month-in-excel/.
Mohammed looti. "Learn to Calculate Monthly Averages in Excel." PSYCHOLOGICAL STATISTICS, 2025. https://statistics.arabpsychology.com/calculate-average-by-month-in-excel/.
Mohammed looti (2025) 'Learn to Calculate Monthly Averages in Excel', PSYCHOLOGICAL STATISTICS. Available at: https://statistics.arabpsychology.com/calculate-average-by-month-in-excel/.
[1] Mohammed looti, "Learn to Calculate Monthly Averages in Excel," PSYCHOLOGICAL STATISTICS, vol. X, no. Y, ص Z-Z, October, 2025.
Mohammed looti. Learn to Calculate Monthly Averages in Excel. PSYCHOLOGICAL STATISTICS. 2025;vol(issue):pages.