Statistical Summary in Excel: How to Do It
In this article
You can build a full statistical summary in Excel in a few minutes using the Data Analysis ToolPak, which generates a labelled table of mean, median, mode, standard deviation, variance, range, skewness, kurtosis, count and confidence level in one go. If the ToolPak is not installed, or you prefer live formulas that update as your data changes, the built-in functions (AVERAGE, MEDIAN, STDEV.S, QUARTILE.INC and so on) do the same job. Either route works; the choice comes down to whether you want a one-off snapshot or a summary that refreshes itself.
A statistical summary describes a column of numbers with a handful of values instead of every row. It answers questions like "what is typical here?", "how spread out is it?" and "are there extreme values pulling the average?" before you chart or model anything. Getting the summary right early saves you from drawing conclusions from a mean that a single outlier has dragged sideways.
What You'll Need
- A Microsoft Excel desktop app for Windows or Mac (the Data Analysis ToolPak is a desktop add-in; it is not available in the browser version, Excel for the web, or most mobile apps).
- A single column of clean numeric data, ideally with blank rows removed and one header cell at the top.
- Permission to install an add-in. On a work or school computer, the ToolPak may be disabled by whoever administers the account, in which case use the formula approach instead.
- Enough rows to make the numbers meaningful. Small samples produce misleading standard deviations and confidence levels.
Step-by-Step
The steps below are for Windows and Mac desktop Excel. Menu names can differ slightly by version, device and region, so look for the closest matching label if yours reads a little differently.
- Prepare your data. Put the numbers you want to summarise in one column, with a single header in the first cell (for example "Order Value"). Delete total rows, subtotals and text notes that sit inside the column, because the ToolPak will stop reading at the first blank or non-numeric cell in a range.
- Open the add-ins list. On Windows, go to File > Options > Add-ins. On Mac, go to Tools > Excel Add-ins. The Mac route opens the add-in dialog directly; the Windows route shows a manager panel first.
- Find the Analysis ToolPak. In the Manage drop-down at the bottom of the Windows Options dialog, choose Excel Add-ins and click Go. Tick the box next to Analysis ToolPak and click OK. On Mac, tick Analysis ToolPak in the list and click OK.
- Confirm the Data tab. Look at the ribbon: a new Analysis group labelled Data Analysis should appear on the Data tab. If it does not, close and reopen Excel and check the box again.
- Launch the tool. Go to Data > Data Analysis, select Descriptive Statistics in the list and click OK.
- Set the Input Range. Click into the Input Range box and select your column, including the header row. The header is optional but helps Excel label the output.
- Tick Labels in first row if you included the header. Leave it unticked if you selected only the numbers, otherwise Excel will try to treat the header as data and complain.
- Choose an output location. Pick Output Range and click a single empty cell where the table should start, ideally on a separate sheet. Never drop the output on top of your source data.
- Tick Summary statistics. This is the key checkbox. Optionally tick Confidence Level for Mean and set a percentage (95% is the common default). Leave Kth Largest and Kth Smallest unticked unless you specifically want the top and bottom ranks.
- Click OK and read the table. You will get Count, Sum, Mean, Median, Mode, Standard Deviation, Sample Variance, Kurtosis, Skewness, Range, Minimum, Maximum and Sum, plus the confidence value if you asked for it. The Mean is your average, the Median is the middle value, and the gap between them tells you whether the data is lopsided.
- Sanity-check the output. Compare Count against the number of rows you expected. If it is lower, hidden blank or text cells cut the range short. Check Minimum and Maximum for values that should not exist, such as a zero where every price is positive.
- Round and format. Select the output column and apply Number format with a sensible number of decimal places. Standard deviation to four decimals looks precise but is usually noise.
If you cannot install the ToolPak, type the formulas yourself in a small labelled block. For data in A2:A100 use =COUNT(A2:A100) for the count, =AVERAGE(A2:A100), =MEDIAN(A2:A100), =STDEV.S(A2:A100) for sample standard deviation (use STDEV.P for a whole population), =MIN(A2:A100), =MAX(A2:A100) and =MAX(A2:A100)-MIN(A2:A100) for the range. Add =QUARTILE.INC(A2:A100,1) and =QUARTILE.INC(A2:A100,3) for the first and third quartiles. This block updates automatically whenever the source data changes, which is the main advantage over the ToolPak's frozen snapshot.
Common Mistakes
- Selecting a range that includes totals. A sum row at the bottom inflates the mean and doubles your count. Summarise the raw rows only.
- Ticking Labels in first row when there is no header. Excel returns an error or silently drops your first number. Match the tick to your selection.
- Mixing STDEV.S and STDEV.P. Use the sample version when your column is a sample of a larger group; use the population version only when the column is the entire group. The difference matters most with small counts.
- Reporting the mean alone. A mean with no spread hides whether the numbers cluster tightly or swing wildly. Always pair it with standard deviation or the quartiles.
- Overwriting the source. Choosing Output Range and clicking on a cell inside your data replaces real rows with the summary. Use a fresh sheet.
- Trusting a truncated range. If the selection stops at a blank row, the summary looks fine but describes only part of the data. Check that Count equals your expected row total.
Tips
- Convert the source range to an Excel Table (select it and press Ctrl+T, or Command+T on Mac). Formulas built on the table name grow automatically as you add rows.
- Build a small dashboard block of formulas once, then copy it under each new data column and relabel the cells. It becomes a reusable summary template.
- Add a skewness value to spot lopsided data. A large positive skew means a few high values are pulling the mean above the median, in which case the median is often the fairer figure to quote.
- Use conditional formatting or =COUNTIF to flag blanks before summarising, since the ToolPak quietly ignores them and your count will not match the row count.
- Keep the confidence level at 95% unless you have a reason to change it, so figures stay comparable across reports.
Troubleshooting
Data Analysis button is missing. The add-in is not switched on, or your organisation blocks it. Re-check File > Options > Add-ins, then restart Excel. If the box is greyed out, use the formula method instead.
"Input range contains non-numeric data" error. A text value or stray space sits in the column. Select the column, use Find & Select to locate the suspect cell, and clear or correct it. Numbers stored as text are a common cause, so check the cell alignment: text numbers usually sit left, real numbers right.
Count is lower than the number of rows. There is a blank or text cell inside the range. Fill or remove it, then rerun the tool.
Standard deviation shows as an error or zero. A zero usually means every value is identical, which is correct but worth confirming. An error often means the range shrank to one cell. Re-select the full column.
Output overwrote your data. Press Ctrl+Z (Command+Z on Mac) immediately. If you have saved and closed the file, open the previous version from the file's version history if your storage keeps one.
Frequently Asked Questions
Does the Data Analysis ToolPak work in Excel for the web or on mobile?
No. It is a desktop add-in. Excel for the web and the mobile apps do not offer it, so use the built-in formulas there instead.
What is the difference between standard deviation and sample variance in the output?
Variance is the average squared distance from the mean; standard deviation is its square root, returned in the same units as your data. Standard deviation is easier to interpret and is the usual figure to report.
Should I use median or mean?
Report the mean for roughly symmetrical data, and the median when the data is skewed or has extreme values, such as incomes or house prices. Showing both is the safest option.
How often should I rebuild the summary?
The ToolPak output is a snapshot and does not refresh. Formula-based summaries update automatically, so use those if the source data changes regularly.
Can I summarise several columns at once?
Yes. Select adjacent columns as the input range and tick Summary statistics; the ToolPak prints a separate block for each column. Non-adjacent columns need separate runs.