CHISQ.TEST Function in Excel: Are These Categories Related?

⏱ 1 min readUpdated 28 September 2026

StatisticsLevel: ExpertAvailable in: Excel 2010+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

CHISQ.TEST compares observed counts with expected counts and returns a p-value.

Syntax

=CHISQ.TEST(actual_range, expected_range)
Argument What it means
expected_range Same shape as actual.

Examples

Example 1

=CHISQ.TEST(B2:D4, G2:I4)

Is preferred product related to city?

T.TEST

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong