When you are looking to calculate a moving average in Microsoft Excel, it is important to understand the basics. The average is simply the sum of the individual values in a given row or column. To calculate an average in Excel, you first need to create a worksheet and name it “Average.” Then, within the Average worksheet, you will need to create two columns: one called “Values” and another called “Avg.” In Values column, you will need to enter the individual values for your data. In Avg column, you will want to enter the average of all of your data. This will give you a more accurate estimate of how much data is typically changing over time. Now that you have your averages created, it is time to use them! To do this, simply click on the green arrow next to Average in your worksheet and select “Calculate.” This will take you to a new window where you can enter your data into different fields. You can also choose to save your results as a chart or graph.


You may think of a moving average for forecasting stocks or investments. But you can also use it to see trends for inventory, sales, or similar data. Without equations or functions, you can calculate a moving average easily in Excel.

RELATED: How to Use the Built-In Stocks Feature in Microsoft Excel

Add the Data Analysis Tool in Excel

While you can perform calculations and create a line graph to display your moving average in Excel, there’s an easier way.

Microsoft offers a free Analysis ToolPak that you can add to Excel. The tool lets you develop statistical or engineering analyses with a variety of functions. One such option is a moving average.

To see if you already have the Analysis ToolPak, go to the Data tab and look for the Data Analysis button in the Analysis section of the ribbon.

If you have the button, you’re good to go and can move on to calculating a moving average below. If not, here’s you can add it quickly.

Go to the Search box at the top of Excel and enter “Add-ins.” When you see Add-ins in the list, select it.

Alternatively, click File > Options and select “Add-ins” on the left. At the bottom of the window, next to Manage, pick “Excel Add-ins” and click “Go.”

After the Add-ins window displays, check the box next to Analysis ToolPak and click “OK.”

Now when you head to the Data tab, you should see the Data Analysis button in the ribbon.

RELATED: How to Get Microsoft Excel to Calculate Uncertainty

Calculate a Moving Average

When you’re ready to calculate the moving average, click the Data Analysis button on the Data tab. Select “Moving Average” from the list and click “OK.”

At the top of the Moving Average window, enter the Input Range into the corresponding box. You can also click inside the box and then drag through your data range. Optionally, you can check the box for “Labels in First Row” and include an Interval.

Next, enter the Output Range by entering a cell reference or clicking inside the box and selecting a cell on your sheet. Optionally, you can check the box for Standard Errors. And to create a graph of the moving average as well as receive the results, check the box for Chart Output.

When you finish setting up the moving average click “OK” and you’ll see the output. You have the values beginning in the cell you selected for the output. If you selected the Chart Output, you’ll have a handy line graph displaying the data as well.

Be sure to check out the other options available with the Analysis ToolPak. You can do things like create a histogram, find a correlation, or use the random number generator.