Statistical
Excel 2010
◉ 12 views
=Z.TEST()
This article describes the formula syntax and usage of the Z.TEST, which returns the one-tailed P-value of a z-test.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=Z.TEST(array,x,[sigma])
Hover argument names in the table for details.
Output typeNumber
Popularity8 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =Z.TEST() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
array |
Array | Required | The array or range of data against which to test x. |
x |
Number | Required | The value to test. |
sigma |
Number | Optional | The population (known) standard deviation. If omitted, the sample standard deviation is used. |
▣ Examples
مقدار احتمال یکطرفه آزمون z برای مجموعه داده بالا با میانگین فرضی جامعه ۴ (0.090574)
=Z.TEST(A2:A11,4)
مقدار احتمال دوطرفه آزمون z برای مجموعه داده بالا با میانگین فرضی جامعه ۴ (0.181148)
=2 * MIN(Z.TEST(A2:A11,4), 1 - Z.TEST(A2:A11,4))
مقدار احتمال یکطرفه آزمون z برای مجموعه داده بالا با میانگین فرضی جامعه ۶ (0.863043)
=Z.TEST(A2:A11,6)
مقدار احتمال دوطرفه آزمون z برای مجموعه داده بالا با میانگین فرضی جامعه ۶ (0.273913)
=2 * MIN(Z.TEST(A2:A11,6), 1 - Z.TEST(A2:A11,6))
✦ Tips
- Z.TEST represents the probability that the sample mean would be greater than the observed value AVERAGE(array), when the underlying population mean is μ0. From the symmetry of the Normal distribution, if AVERAGE(array) < x, Z.TEST will return a value greater than 0.5.
- The following Excel formula can be used to calculate the two-tailed probability that the sample mean would be further from x (in either direction) than AVERAGE(array), when the underlying population mean is x: =2 * MIN(Z.TEST(array,x,sigma), 1 - Z.TEST(array,x,sigma)).
⚠ Common Errors
#N/A
If array is empty, Z.TEST returns the #N/A error value.
Fix: Check the data range
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!