EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Statistical Functions in Excel Excel T.Test Function
Secondary Sidebar
Excel Functions
  • Statistical Functions in Excel
    • COUNTIF Formula in Excel
    • COUNTIF Multiple Conditions
    • COUNTIFS with Multiple Criteria
    • Statistics in Excel
    • Confidence Interval in Excel
    • Interpolate in Excel
    • Linear Programming in Excel
    • COUNTIFS in Excel
    • Excel Variance
    • Normal Distribution Formula in Excel
    • Count Cells with Text in Excel
    • Excel Formula For Rank
    • Linear Regression in Excel
    • COUNTA Function in Excel
    • MAX Formula in Excel
    • Excel NORMSINV
    • Count Names in Excel
    • FORECAST Formula in Excel
    • NPER in Excel
    • Excel Median Formula
    • Lognormal Distribution in Excel
    • Excel Chi Square Test
    • Count Formula in Excel
    • COUNTIF Examples in Excel
    • Excel P-Value
    • COUNTIF Not Blank in Excel
    • Excel Standard Deviation Formula
    • Excel GROWTH Formula
    • Excel Percentile Formula
    • Excel Frequency Formula
    • Excel Average Formula
    • Excel Correlation Matrix
    • Excel Z Score
    • Excel MAX IF Function
    • Z TEST in Excel
    • Excel Trendline
    • Excel F-Test
    • Excel STDEV Function
    • Excel Frequency Distribution
    • DCOUNT Function in Excel
    • Excel MIN Function
    • Excel Forecast Function
    • FREQUENCY Excel Function
    • COUNTIF with Multiple Criteria
    • Standard Deviation in Excel
    • MAX Excel Function
    • Excel QUARTILE Function
    • Excel T.Test Function
    • Excel PERCENTILE Function
    • MODE Excel Function
    • SLOPE Excel Function
    • Excel Median Function
    • Excel TREND Function
    • Excel Count Function
    • Excel LARGE Function
    • SMALL Excel Function
    • COUNTIF Excel Function
    • Excel AVERAGE Function
    • Excel CORREL Function
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Excel Tips (222+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL ADVANCED Training Certification
  • Online Excel for Marketing Course

Excel T.Test Function

By Jeevan A YJeevan A Y

T.Test Function in Excel

T.TEST in Excel (Table of Contents)

  • T.TEST Function in Excel
  • T.TEST Formula in Excel
  • How to Use T.TEST Function in Excel?

T.TEST in Excel

T-Test function in excel is used for calculating the probability of significant difference between two data sets whether any or both of them are under the same population with the same mean. T-Test, which also includes whether the data sets we are using for calculation is a one-tail distribution or two tail distribution with a kind of variance that may be equal or unequal.

T.TEST Formula in Excel:

The Formula for the T.TEST Function in Excel is as follows:

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

T.Test Formula in Excel

The Formula of T.TEST includes 4 types of arguments:

Array1: This is the first set of the sample you are testing.

Array2: This is the second set of the sample you are comparing.

Tails: This is the number of tails for the distribution. There are two types of tails are there. 1. One-tailed distribution and 2.Two-tailed distribution

Type: There are 3 types of T.Test available in statistics.

T.Test (arguments)

  1. Paired, this examines whether the mean between paired sets is equal.
  2. Two-sample equal variance examines whether the variance of means between two sets is equal.
  3. Two-sample unequal variance examines whether the variance of means between two sets is unequal.

In recent versions, T.TEST is introduced. In earlier versions, TTEST is the formula. Still, it is available in recent versions to support compatibility.

How to Use T.TEST Function in Excel?

T.TEST Function in Excel is very simple and easy to use. Let us understand the working of T.TEST in Excel by Some Examples.

You can download this T.TEST Function Excel Template here – T.TEST Function Excel Template

Example #1

The functionality of the T.TEST can be best explained by using an example dataset to get the logic of the T.TEST.

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,768 ratings)

I have Group 1 and Group 2 test scores of a classroom. I need to run T.TEST to find is there a significant difference between these two groups.

significant difference

Apply T.TEST to get the difference.

The first test is a type of Paired.

 type of Paired.

The result is 0.04059.

result

The second test is a type of Two Samples equal variance.

 Sample equal variance

The result is 0.2148.

result

The third test is a type of Two Sample unequal variance.

unequal variance

The result is 0.2158.

result

The returned value is generally called as the P-value. If the P-value is <0.05, we can come to the conclusion that the two sets of data have a different mean. Otherwise, the two means are not significantly different from each other.

T.Test Example 1-7

Example #2

I have the salary numbers of two different departments. I want to find if the mean of two department’s salaries is significantly different are not.

T.Test different departments

Apply the T.TEST function to see the difference.

see the difference

The above formula returns the result as:

formula returns

Run T.TEST using Analysis Tool Pack

We can run the T.TEST using the analysis tool pack located under the Data ribbon tab.

 Analysis Tool Pack

If you do not find this option in your excel, follow the below steps to unhide this.

Step 1: Go to File and Options

T.Test Click File and Options

Step 2: Click on Add-Ins

T.Test (click o n add - in)

Step 3: Select Excel Add-ins and click Go

Excel add - in

Step 4: Select Analysis ToolPak and click OK.

ToolPak and click OK

Step 5: This must have enabled the Data Analysis Option.

Data Analysis

Follow the below Steps to Run T.TEST using Data Analysis ToolPak

Step 1: Click on Data Analysis under the Data tab.

Data (Data Analysis )

Step 2: Scroll down find the t-Test.

Scroll down

Step 3: Click on the first t-test, and it will open the below dialogue box.

Click on first t-test

Step 4: Select the Variable 1 range and Variable 2 range.

Variable range

Step 5: Once all the above boxes filled, click on the OK button.

OK button

It will show a detailed report.

detailed report

This will show the mean of each data set, their variance, how many observations are taken into consideration, correlation, and P-value.

We need to see the P-value (refer to B26), i.e. 0.000186102 that is way below than the expected P-value of 0.05.

As long as the P-value is less than 0.05, our data is significant.

Things to Remember

  • The T.TEST can accept only numerical values, anything other than numerical values; we get the result of #VALUE!
  • If the tails value is other than 1 or 2, we will get #NUM! error
  • Learn the difference between the One-tailed test and the Two-tailed test to understand it better.
  • One of the assumptions is samples have been randomly drawn from the large data.
  • Standard P-Value is 0.05 i.e. 5%. If the variance is less than 5%, then your data is significant.

Recommended Articles

This has been a guide to T.TEST in Excel. Here we discuss the T.TEST Formula in Excel and how to use T.TEST Function in Excel along with excel examples and downloadable excel templates. You may also look at these useful functions in excel –

  1. CEILING Function in Excel
  2. Examples of COMBIN Function
  3. SUMPRODUCT Function in Excel
  4. How to Use LEN Function in Excel?
  5. Examples of PRODUCT Function in Excel
Popular Course in this category
Excel Advanced Training (16 Courses, 23+ Projects)
  16 Online Courses |  23 Hands-on Projects |  140+ Hours |  Verifiable Certificate of Completion
4.8
Price

View Course

Related Courses

Excel for Marketing Training (8 Courses, 13+ Projects)4.9
1 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download T.TEST Function Excel Template

EDUCBA

Download T.TEST Function Excel Template

EDUCBA

डाउनलोड T.TEST Function Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more