CHISQ.TEST: Google Sheets formulas explained

Do you spend countless hours trying to analyze data in Google Sheets? Do you want to impress your colleagues with your data analysis skills? Then keep reading, because I’m about to show you one of the most powerful and useful formulas in Google Sheets: CHISQ.TEST.


CHISQ.TEST is a function in Google Sheets that performs a chi-squared test on a set of observed and expected frequencies to determine how likely it is that any observed difference between the sets arose by chance.

But wait, what is a chi-squared test, you may ask? A chi-squared test is a statistical hypothesis test that uses a chi-squared distribution to determine whether there is a significant difference between the expected frequencies and the observed frequencies in one or more categories of a contingency table.

How to use CHISQ.TEST?

The syntax for CHISQ.TEST is relatively straightforward. Here's an example:


In this example, A1:A5 and B1:B5 are ranges of cells that contain the observed frequencies and the expected frequencies, respectively. The CHISQ.TEST function will then return the probability of observing such a difference between the two sets. If the resulting value is less than 0.05 (which means that there is less than a 5% chance that such a difference would occur by chance), we can conclude that the difference is statistically significant.

Let's take a real-life example to see how CHISQ.TEST can be used:

Say you own an ice cream parlor and would like to know whether your customers' flavor preferences are influenced by their age. You create a table that shows the number of customers in different age groups who selected each flavor:

Flavor Under 18 18-30 31-50 Above 50
Chocolate 10 25 30 15
Vanilla 20 15 20 10
Strawberry 15 10 15 5

You can then calculate the expected frequencies assuming that there is no relationship between age and flavor preference:

Flavor Under 18 18-30 31-50 Above 50
Chocolate 17.5 25 22.5 10
Vanilla 15 20 17.5 7.5
Strawberry 12.5 15 12.5 5

Finally, you can use the CHISQ.TEST function to determine whether there is a significant difference between the observed frequencies and the expected frequencies:


The resulting value is 0.204, which is greater than 0.05, meaning that there is no statistically significant difference between the observed frequencies and the expected frequencies. Therefore, you can conclude that age does not significantly influence flavor preference.


CHISQ.TEST is a powerful tool that can help you analyze data and draw conclusions with confidence. It's just one of the many functions available in Google Sheets that make data analysis accessible to everyone, regardless of their level of expertise. So next time you're faced with a data analysis challenge, try using CHISQ.TEST and see for yourself how easy and effective it can be!

That’s it for CHISQ.TEST in Google Sheets. I hope you found this article helpful in understanding how to use CHISQ.TEST and what it’s all about. If you have any questions or comments, feel free to reach out to me. Until the next time!

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.