In Excel: use =AVERAGE(range), for example =AVERAGE(A1:A10), or =AVERAGEIF(range, criteria) to average only matching rows.
n = 7 · Sum = 103.00 · Min = 9.00 · Max = 21.00
7 values
What this does
AVERAGE adds the numbers in a range and divides by how many there are, ignoring blank and text cells (unlike a manual SUM/COUNT, which you would have to guard yourself). It is the arithmetic mean — the single value that best represents the centre of a tidy data set, though a few extreme values can drag it, which is when MEDIAN is the better choice. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. Treat “moving average using excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That turns a workflow that saves repeating the same clicks every week into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
For the scores 12, 15, 9, 21, 17, 14 in A1:A6, =AVERAGE(A1:A6) returns 14.67. To average only passing scores, =AVERAGEIF(A1:A6,">=10") ignores the 9 and returns 15.8. If one score were a typo of 210, the average would leap to 47 — a reminder to check for outliers. The average is the first summary anyone asks for — typical sales, mean score, average response time. Knowing when it lies (skewed data, hidden blanks) is what separates a quick number from a trustworthy one. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Here is the takeaway for “moving average using excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
Common mistakes
- Including blank cells you meant to count as zero —
AVERAGEignores blanks, changing the divisor. - Letting a single outlier skew the mean; check with
MEDIANwhen data is lopsided. - Averaging an already-averaged column (an average of averages) instead of the raw values.
- Counting text cells as zeros —
AVERAGEskips them, which may not be what you intend.
Frequently asked questions
Average vs median?
The average (mean) uses every value and is pulled by extremes; the median is the middle value and resists outliers. Use median for skewed data like incomes or house prices.
Does AVERAGE count blank cells?
No. Blanks are ignored, so they do not lower the result. If a blank should count as zero, replace it with 0 first.
How do I average with a condition?
AVERAGEIF takes one condition; AVERAGEIFS takes several across different columns.
Other ways people ask this
On the way here you may have searched this as “moving average formula excel” and “how to find moving average in excel” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “moving average formula excel”, “how to find moving average in excel” all point at the one operation explained on this page, which is why they all lead here.