
In this article
STDEVP gives the standard deviation of a whole population. It is a compatibility function: Excel keeps it so workbooks from Excel 2007 and earlier still calculate, but Microsoft recommends STDEV.P for new work. Both give the same result.
Advertisement
Syntax
=STDEVP(number1, ...)
| Argument | What it means |
|---|---|
number1… |
All values |
Examples
Example 1
=ROUND(STDEVP(INDEX({12,15,18,22,25,30,41},SEQUENCE(A2))),3)
Result: 2.449. See the worked example table below for more cases.
💡 For new workbooks use STDEV.P: it gives the same answer and is the name Microsoft keeps documenting.
STDEVP in practice
Where you will use it
- Opening and checking older workbooks that use STDEVP
- Understanding formulas shared by colleagues on older Excel versions
- Knowing when to swap in STDEV.P for clarity
Worked example
| Rows used | Formula | Result |
|---|---|---|
| 3 | =ROUND(STDEVP(INDEX({12,15,18,22,25,30,41},SEQUENCE(A2))),3) | 2.449 |
| 5 | =ROUND(STDEVP(INDEX({12,15,18,22,25,30,41},SEQUENCE(A3))),3) | 4.673 |
| 7 | =ROUND(STDEVP(INDEX({12,15,18,22,25,30,41},SEQUENCE(A4))),3) | 9.161 |
Results calculated in Excel. Same result as STDEV.P.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Using STDEVP in new files | Prefer STDEV.P: same result, clearer name, and the function Microsoft keeps improving |
| Mixing old and new names in one model | Pick one style per workbook so formulas are easy to audit |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Advertisement
✨ Ask AI about this article
Stuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong