FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

T.TEST in Google Sheets

T.TEST with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

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.

Worked examples in Google Sheets

Equal-variance two-tail test

AB
1AB
212
323
435

Formula: D2: =ROUND(T.TEST(A2:A4,B2:B4,2,2),4)

Result: 0.2746

Type two pools the two sample variances.

Unequal-variance two-tail test

AB
1AB
212
323
435

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.

Paired one-tail test

AB
1BeforeAfter
2109
31210
41514

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.

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)

Example spreadsheet for T.TEST
ABCDEF
1RegionProductUnitsPriceResult
2EastPen1202.50.0316326035581
3WestPen802.5
4EastBook4512
5NorthBook6012
6WestLamp3025
7EastLamp1525
Result in F2: 0.0316326035581

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.