Browse » Home
Sunday, May 27, 2012
How to Calculate a Moving Average in Excel
1. Open a new worksheet in Microsoft Excel. Enter dates and their corresponding data points in two columns. For instance, to analyze monthly revenue figures, enter each month in column A and the corresponding revenue figure next to it in column B. A year's worth of data, then, would fill cells A1 through A12 and B1 through B12.
2. Determine the time interval of the moving average you want to calculate, such as a three-month or six-month moving average. Go to the last value of the first interval and click on the corresponding empty cell to the right. Using the example from Step 1, if you want to calculate a three-month moving average, you would click on cell C3 because B3 contains the last value of the first three months of the year.
3. Use the AVERAGE function and type a formula into the empty cell you selected, specifying the data range for the first interval. In this example, you would type '=AVERAGE(B1:B3)'.
4. Position your mouse on the lower right corner of the cell with the formula until you see a ' .' Left click and drag the formula down to the empty cell next to the last data point in the adjacent column. In the example above, you would drag the formula from cell C3 down to cell C12 to calculate the three-month moving average for the rest of the year.