The CHISQ.DIST.RT function returns the right-tailed probability of the chi-squared distribution. The X^{2} distribution is associated with a X^{2} test. Use the X^{2} test to compare observed and expected values. By comparing the observed results with the expected ones, you can decide whether your original hypothesis is valid.

**Syntax**:= CHISQ.DIST.RT(x,deg_freedom)

The CHISQ.DIST.RT function syntax has 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 10^{10}.

**Example**: Let’s look at some Excel CHISQ.DIST.RT function examples and explore how to use the CHISQ.DIST.RT function as a worksheet function in Microsoft Excel:

**Syntax**: =CHISQ.DIST.RT(B1,B2)

**Result**: 0.050000589

Based on the Excel spreadsheet above, the following CHISQ.DIST.RT examples would return:

**Syntax**: =CHISQ.DIST.RT(C1,C2)**Result**: 0.000779573

**Syntax**: =CHISQ.DIST.RT(D1,D2)**Result**: 0.113846298

**Syntax**: =CHISQ.DIST.RT(D1,D2)**Result**: 0.113846298

**Note**:

- If the deg_freedom argument is not an integer, it is truncated by MS Excel.
- The function belongs to the CHISQ group of functions. It was introduced in MS Excel 2010 and hence is unavailable for earlier versions. The CHISQ.DIST.RT function is an updated version of the CHIDIST function.
- #VALUE! error – Occurs when any of the arguments provided is non-numeric. Remember, CHISQ.DIST.RT will accept only numeric datasets for both arguments and return numeric data.
- #NUM! error – Occurs when:
- The given value of x is negative.
- The deg_freedom argument is less than 1 or greater than 10
^{10}.