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. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “standardize data in 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
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 “standardize data in 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.