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

Data Analysis

  • How To Perform and Interpret Regression Analysis in Excel
  • Understanding Pivot Tables in Excel
  • Chart Axes in Excel
  • Filter Data Based on Date in Excel
  • How To Create Frequency Distribution in Excel

References

  • Convert text string to valid reference in Excel using Indirect function
  • How to use Excel TRANSPOSE Function
  • How to use Excel OFFSET function
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel INDIRECT Function

Data Validations

  • Excel Data validation only dates between
  • Excel Data validation with conditional list
  • Excel Data validation must contain specific text
  • Excel Data validation date in next 30 days
  • Excel Data validation must begin with

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

by

What is CHISQ.TEST function in Excel?

CHISQ.TEST function is one of Statistical functions in Microsoft Excel that returns the test for independence. CHISQ.TEST returns the value from the chi-squared (χ2) distribution for the statistic and the appropriate degrees of freedom. You can use χ2 tests to determine whether hypothesized results are verified by an experiment.

Syntax of CHISQ.TEST function

CHISQ.TEST(actual_range,expected_range)

The CHISQ.TEST function syntax has the following arguments:

  • Actual_range     Required. The range of data that contains observations to test against expected values.
  • Expected_range     Required. The range of data that contains the ratio of the product of row totals and column totals to the grand total.

CHISQ.TEST formula explanation

  • If actual_range and expected_range have a different number of data points, CHISQ.TEST returns the #N/A error value.
  • The χ2 test first calculates a χ2 statistic using the formula:Equationwhere:

    Aij = actual frequency in the i-th row, j-th column

    Eij = expected frequency in the i-th row, j-th column

    r = number or rows

    c = number of columns

  • A low value of χ2 is an indicator of independence. As can be seen from the formula, χ2 is always positive or 0, and is 0 only if Aij = Eij for every i,j.
  • CHISQ.TEST returns the probability that a value of the χ2 statistic at least as high as the value calculated by the above formula could have happened by chance under the assumption of independence. In computing this probability, CHISQ.TEST uses the χ2 distribution with an appropriate number of degrees of freedom, df. If r > 1 and c > 1, then df = (r – 1)(c – 1). If r = 1 and c > 1, then df = c – 1 or if r > 1 and c = 1, then df = r – 1. r = c= 1 is not allowed and #N/A is returned.
  • Use of CHISQ.TEST is most appropriate when Eij’s are not too small. Some statisticians suggest that each Eij should be greater than or equal to 5.

Example of CHISQ.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.

Men (Actual) Women (Actual) Description
58 35 Agree
11 25 Neutral
10 23 Disagree
Men (Expected) Women (Expected) Description
45.35 47.65 Agree
17.56 18.44 Neutral
16.09 16.91 Disagree
Formula Description Result
=CHISQ.TEST(A2:B4,A6:B8) The χ2 statistic for the data above is 16.16957 with 2 degrees of freedom 0.0003082

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

  • Return blank if in Excel
  • Extract multiple matches into separate rows in Excel
  • Invoice status with nested if in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert date to Julian format in Excel
  • Get first day of month in Excel
  • Get first Monday before any date in Excel
  • Check If Two Dates are same month in Excel
  • How to get number of days, weeks, months or years between two dates in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel
  • Map inputs to arbitrary values in Excel
  • Calculate conditional mode with criteria in Excel

General

  • AutoFit Column Width, AutoFit Row Height in Excel
  • Customize Ribbon In Excel
  • How to set or clear a print area in Excel Worksheet
  • Subtotal by invoice number in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning