Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Excel Frequency Function Example
  • How To Sort One Column or Multiple Columns in Excel
  • Get column name from index in Excel Table
  • Excel Pie Chart
  • How To Create Frequency Distribution in Excel

References

  • Excel Advanced Lookup using Index and Match Functions
  • How to retrieve first match between two ranges in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Convert text string to valid reference in Excel using Indirect function
  • Two-way lookup with VLOOKUP in Excel

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation require unique number
  • Excel Data validation date in specific year
  • Excel Data validation must begin with
  • Excel Data validation exists in list

T.TEST function: Description, Usage, Syntax, Examples and Explanation

by

What is T.TEST function in Excel?

T.TEST function is one of Statistical functions in Microsoft Excel that returns the probability associated with a Student’s t-Test. Use T.TEST to determine whether two samples are likely to have come from the same two underlying populations that have the same mean.

Syntax of T.TEST function

T.TEST(array1,array2,tails,type)

The T.TEST function syntax has the following arguments:

  • Array1:  The first data set.
  • Array2: The second data set.
  • Tails: Specifies the number of distribution tails. If tails = 1, T.TEST uses the one-tailed distribution. If tails = 2, T.TEST uses the two-tailed distribution.
  • Type:  The kind of t-Test to perform.

Parameters

If type equals This test is performed
1 Paired
2 Two-sample equal variance (homoscedastic)
3 Two-sample unequal variance (heteroscedastic)

Explanation of T.TEST function

  • If array1 and array2 have a different number of data points, and type = 1 (paired), T.TEST returns the #N/A error value.
  • The tails and type arguments are truncated to integers.
  • If tails or type is nonnumeric, T.TEST returns the #VALUE! error value.
  • If tails is any value other than 1 or 2, T.TEST returns the #NUM! error value.
  • T.TEST uses the data in array1 and array2 to compute a non-negative t-statistic. If tails=1, T.TEST returns the probability of a higher value of the t-statistic under the assumption that array1 and array2 are samples from populations with the same mean. The value returned by T.TEST when tails=2 is double that returned when tails=1 and corresponds to the probability of a higher absolute value of the t-statistic under the “same population means” assumption.

Example of T.TEST function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data 1 Data 2
3 6
4 19
5 3
8 2
9 14
1 4
2 5
4 17
5 1
Formula Description Result
=T.TEST(A2:A10,B2:B10,2,1) Probability associated with a Student’s paired t-Test, with a two-tailed distribution. 0.196016

Post navigation

Previous Post:

How to generate random date between two dates in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Complete List of Excel Logical Functions, References and Examples
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Not Equal To ‘<>‘ operator in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Calculate date overlap in days in Excel
  • How to get Weekdays, Working days between Two Dates in Excel
  • How to get number of days, weeks, months or years between two dates in Excel
  • How to calculate working days left in month in Excel
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group times into 3 hour buckets in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • How to randomly assign people to groups in Excel
  • If cell contains one of many things in Excel

General

  • Print Excel Sheet In Landscape Or Portrait
  • Share Excel data with Word documents
  • List worksheet index numbers in Excel
  • Check if multiple cells have same value in Excel
  • How to calculate project complete percentage in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning