Over 2 million + professionals use CFI to learn accounting, financial analysis, modeling and more. Unlock the essentials of corporate finance with our free resources and get an exclusive sneak peek at the first module of each course.
Start Free
Chi Square Test Excel Function
The CHISQ.DIST Function[1] is categorized under Excel Statistical functions. It will return the chi-square distribution. The distribution is commonly used for studying the variations in percentage across samples. This guide will break down the Chi Square Test Excel function in detail.
In financial analysis, this function can be useful in finding out the variations in an individual’s assumptions. For example, assume we operate a company manufacturing jeans. We manufacture jeans of two colors only – black and blue. If we want to find out the proportion of blue jeans sold in proportion to the total number of jeans manufactured, we can use Chi Square in Excel to find out.
The CHISQ.DIST function was introduced in MS Excel 2010 and hence is unavailable in earlier versions.
Chi Square Excel Formula
=CHISQ.DIST(x,deg_freedom,cumulative)
The CHISQ.DIST uses the following arguments:
X (required argument) – This is the value at which the chi-square distribution is to be evaluated. It should be greater than or equal to zero.
Deg_freedom (required argument) – This is the number of degrees of freedom. It must be an integer between 1 and 1010.
Cumulative (required argument) – This is a logical value that determines the form of the function. It can either be TRUE (use the cumulative distribution function) or FALSE (will use the probability density function).
How to use the Chi Square function
To understand the uses of the Chi Square in Excel function, let’s consider an example:
Example
Suppose we are given the following data:
The formula for calculating the CHISQ distribution using the cumulative distribution function is shown below:
We get the result below:
The formula for calculating the CHISQ distribution using the probability density function is shown below:
We get the result below:
Notes about the Chi Square Excel function
If the deg_freedom argument is not an integer, it is truncated by MS Excel.
#VALUE! error – Occurs when any of the arguments provided are non-numeric.
#NUM! error – Occurs when:
The given value of x is negative.
The deg_freedom argument is less than 1 or greater than 1010.
Additional Resources
Thanks for reading CFI’s guide to the Chi Square Test Excel function! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional CFI resources:
To master the art of Excel, check out CFI’s Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.