Syntax
| Parameter | Description |
|---|---|
| array1 | Parameter of the TTEST function. |
| array2 | Parameter of the TTEST function. |
| tails | Parameter of the TTEST function. |
| type | Parameter of the TTEST function. |
Examples
Compare two product ratings
=TTEST(A2:A50, B2:B50, 2, 3)
Paired diet study
=TTEST(C2:C16, D2:D16, 1, 1)
Manufacturing comparison
=TTEST(E2:E101, F2:F101, 2, 2)
Common Errors
Paired tests (type 1) require arrays of equal length.
Tails must be 1 or 2, type must be 1, 2, or 3.
Tips
TTEST is the compatibility version. T.TEST is the modern replacement with identical behavior and consistent naming.
Non-numeric cells in the arrays are excluded from the calculation. Make sure your data ranges do not inadvertently include headers or text notes.
T-tests become more reliable with larger samples. With very small samples (n < 5 per group), results should be interpreted cautiously.
Try TTEST in Viztab
Import your data and use TTEST with 370+ other formulas. No signup required.
Open Viztab