In Excel: use =STANDARDIZE(x, mean, standard_dev) — it returns the z-score, the number of standard deviations a value sits from the mean.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
x | required | The value to convert to a z-score. |
mean | required | The mean of the distribution. |
standard_dev | required | The standard deviation. Must be greater than zero. |
Related functions
Compute the mean and standard deviation of the range, or nest AVERAGE and STDEV.S directly.
Select the result cell and type =STANDARDIZE(.
Enter the value, then the mean, then the standard deviation, separated by commas.
Anchor the AVERAGE and STDEV ranges with $ before filling down.
What this does
STANDARDIZE converts a raw value into a z-score: how many standard deviations it lies above or below the mean. That single number makes otherwise incomparable measures comparable — a test score and a response time can be ranked against each other once both are standardised. It is also the basis of the usual outlier rule, where anything beyond roughly ±3 warrants a look. The standard deviation argument must be positive; zero returns #NUM!, which happens when every value in the range is identical. 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. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “z score formula excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. 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. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
A value of 88 in a distribution with a mean of 72 and standard deviation of 9: =STANDARDIZE(88, 72, 9) returns 1.78, meaning it sits 1.78 deviations above average. Applied down a column, =STANDARDIZE(B2, AVERAGE($B$2:$B$200), STDEV.S($B$2:$B$200)) standardises the whole series and makes outliers visible at a glance. STANDARDIZE puts different measures on one scale, which is the prerequisite for comparing or combining them at all. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. 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 and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “z score formula excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Forgetting to anchor the mean and standard-deviation ranges when filling down, so each row standardises against a different distribution.
- A standard deviation of zero, which returns
#NUM!— every value in the range is identical. - Reading z-scores as probabilities; converting them needs NORM.S.DIST.
Frequently asked questions
What is a z-score?
The number of standard deviations a value lies from the mean. Zero is exactly average, +2 is two deviations above.
What counts as an outlier?
A common rule of thumb is beyond ±3, though the right threshold depends on the data and how much of it you have.
Why does STANDARDIZE return #NUM!?
The standard deviation argument is zero or negative — usually because every value in the source range is the same.