1. Home
  2. Functions
  3. Compatibility
  4. TTEST
CompatibilityCompatibility

TTEST function

Returns the probability of a Student's t test (older name of T.TEST).

Syntax

=TTEST(array1, array2, tails, type)

Arguments

ArgumentRequiredDescription
array1RequiredThe first sample
array2RequiredThe second sample
tailsRequired1 for a one tailed test, 2 for two tailed
typeRequired1 paired, 2 equal variance, 3 unequal variance

How to use TTEST

TTEST is kept so older workbooks keep working. It calculates the same way as T.TEST, which is the name to use in new formulas.

TTEST takes 4 required arguments. Type =TTEST( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=TTEST({3,4,5,8,9,1,2,4,5}, {6,19,3,2,14,4,5,17,1}, 2, 1)Result 0.196015785

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.