
📎 This article includes 1 downloadable practice file ↓
In this article
STDEV.P measures spread when your data is the entire group, not a sample. The P version divides by n instead of n−1, so it comes out a little smaller than STDEV.S.
Syntax
=STDEV.P(number1, [number2], ...)
| Argument | What it means |
|---|---|
number1… |
The full population. |
Examples
Example 1
=STDEV.P(B2:B13)
Spread of all 12 monthly sales figures for the year.
STDEV.P in practice
Where you will use it
- Spread of a complete population
- All branches' sales
- Process variation
Worked example
| Rows used | Formula | Result |
|---|---|---|
| 3 | =ROUND(STDEV.P(INDEX({120,135,128,160,95,140,132},SEQUENCE(A2))),3) | 6.128 |
| 5 | =ROUND(STDEV.P(INDEX({120,135,128,160,95,140,132},SEQUENCE(A3))),3) | 21.096 |
| 7 | =ROUND(STDEV.P(INDEX({120,135,128,160,95,140,132},SEQUENCE(A4))),3) | 18.354 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Sample data | Use STDEV.S |
| Text | Ignored |
Related functions
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
📎 Practice files for this article
- 📗Practice workbook: Statistics advanced33 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.⬇ XLSX · 36 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time — plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul →Build this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.