T.TEST function
the probability associated with a Student's t-test.
Statistical · Excel 2010+ · Guided Excel example
Where can you use it?
Analytics, quality and research teams. Use this group to examine distributions, variability or relationships in measurements, sales or service durations.
Scenario in the workbook
Compare paired observations with a two-tailed t test. Test type 1 selects pairing.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Reading A | Reading B |
| 7 | 1 | 2 |
| 8 | 4 | 5 |
| 9 | 9 | 7 |
Record 1
=T.TEST(A7:A9,B7:B9,2,1)Illustrative output1
See the inputs and instructions for all 3 examplesSyntax
T.TEST(array1,array2,tails,type)
Worked examples
Compare paired observations with a two-tailed t test. Test type 1 selects pairing.
Column F provides expressions as text. Satisfy the stated requirements, then paste into an empty Excel cell and compare with column G. The result was not verified in desktop Excel here.
| Row | A | B |
|---|---|---|
| 6 | Reading A | Reading B |
| 7 | 1 | 2 |
| 8 | 4 | 5 |
| 9 | 9 | 7 |
| Trial | Expression | Sample output |
|---|---|---|
| Record 1 | =T.TEST(A7:A9,B7:B9,2,1) |
1 |
| Record 2 | =T.TEST(A7:A9,B7:B9+1,2,1) |
0.4226497308 |
| Record 3 | =T.TEST(A7:A9,B7:B9-1,2,1) |
0.4226497308 |