TTEST function - Zoho Sheet - Help Guide

TTEST

Returns the probability associated with a T-test. Calculates the likelihood that two samples have come from the same two underlying populations having the same mean.

 

Syntax

 

TTEST(data1; data2; mode; type)

data1: The first array or data range. Eg., A2:A6

data2: The second array or data range. Eg., B2:B6

mode: Specifies the type of distribution.

1 - one-tailed distribution

2 - two-tailed distribution

type: Determines the type of test to perform.

1 - Paired samples
2 - Two samples with equal variance (homoscedastic)

3 - Two samples with unequal variance (heteroscedastic)

 

Examples  

 

Formula

Result

=TTEST(A2:A6;B2:B6;C2;D2)

0.035241998

=TTEST(A2:A6;B2:B6;C3;D3)

0.317809755

=TTEST(A2:A6;B2:B6;C4;D4)

0.316641349


Get a hands-on experience of the function in the embedded range below. 



Possible Errors

 

Errors

Meaning

#N/A!

  • The function could not find the value it was asked to look for. Commonly occurs in VLOOKUP and similar functions.

#NAME!

  • The function name is incorrect or invalid.

  • The given defined name (if any) is invalid.

  • There is a typo in the defined name used in the function.

  • Double quotes are missing for text values in the function.

  • Colon missing in a cell range reference.

#VALUE!

  • The given argument's data type is incorrect or invalid.
    For example, the function =DATE(A1:A3) will return a #VALUE error when a text value is present in the range.

#REF!

  • The given cell reference is incorrect or invalid. This error may occur when a cell/range has been deleted, moved, or pasted over.

#NUM!

  • The number of values in data1 is not equal to data2 and type=1.

  • The value of mode is not equal to 1 or 2.

  • The value of type is not equal to 1, 2, or 3.

 

Similar Functions

  • ZTEST