Equal-variance two-tail test
| A | B | |
|---|---|---|
| 1 | A | B |
| 2 | 1 | 2 |
| 3 | 2 | 3 |
| 4 | 3 | 5 |
Formula: D2: =ROUND(T.TEST(A2:A4,B2:B4,2,2),4)
Result: 0.2746
Type two pools the two sample variances.
T.TEST with worked examples you can test in the live grid. The argument details are in the Excel guide.
The arguments and common errors are covered in the T.TEST Excel guide; check the function help in Google Sheets for its own argument list.
| A | B | |
|---|---|---|
| 1 | A | B |
| 2 | 1 | 2 |
| 3 | 2 | 3 |
| 4 | 3 | 5 |
Formula: D2: =ROUND(T.TEST(A2:A4,B2:B4,2,2),4)
Result: 0.2746
Type two pools the two sample variances.
| A | B | |
|---|---|---|
| 1 | A | B |
| 2 | 1 | 2 |
| 3 | 2 | 3 |
| 4 | 3 | 5 |
Formula: D2: =ROUND(T.TEST(A2:A4,B2:B4,2,3),4)
Result: 0.2846
Type three uses the unequal-variance degrees-of-freedom calculation.
| A | B | |
|---|---|---|
| 1 | Before | After |
| 2 | 10 | 9 |
| 3 | 12 | 10 |
| 4 | 15 | 14 |
Formula: D2: =ROUND(T.TEST(A2:A4,B2:B4,1,1),4)
Result: 0.0286
Type one analyzes row-by-row differences in matched observations.
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 |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page