TTEST
Statistical

Returns the probability associated with a Student's t-test

Syntax:

=TTEST(array1, array2, tails, type)

Example:

=TTEST(A2:A10, B2:B10, 2, 1)