Statistics
T.TEST
p-value of a t-test: type 1 is paired, 2 equal variances, 3 unequal variances (Welch).
Syntax
T.TEST(array1, array2, tails, type)Example: =T.TEST(B2:B21,C2:C21,2,3)
Available in: Excel 2010+
Try it
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in F2: =T.TEST(C2:C7,D2:D7,2,3)
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Region | Product | Units | Price | Result | |
| 2 | East | Pen | 120 | 2.5 | 0.0316326035581 | |
| 3 | West | Pen | 80 | 2.5 | ||
| 4 | East | Book | 45 | 12 | ||
| 5 | North | Book | 60 | 12 | ||
| 6 | West | Lamp | 30 | 25 | ||
| 7 | East | Lamp | 15 | 25 |
Result in F2: 0.0316326035581