Statistical - CORREL Function



Description

The CORREL function returns the correlation coefficient of the Array1 and Array2 cell ranges. Use the correlation coefficient to determine the relationship between two properties.

Syntax

CORREL (array1, array2)

Arguments

Argument Description Required/Optional
Array1 A cell range of values. Required
Array2 A second cell range of values. Required

Notes

  • The equation for the correlation coefficient is −

    $$Correl\left ( X,Y \right )=\frac{\sum \left ( x-\bar{x} \right )\left ( y-\bar{y} \right )}{\sqrt{\sum \left ( x-\bar{x} \right )^2 \sum \left ( y-\bar{y} \right )^2}}$$

    Where $\bar{x}$ and $\bar{y}$ are the sample means AVERAGE(array1) and AVERAGE(array2).

  • If an array or reference argument contains text, logical values, or empty cells, those values are ignored. However, cells with the value zero are included.

  • If Array1 and Array2 have a different number of data points, CORREL returns the #N/A error value.

  • If either Array1 or Array2 is empty, or if s (the standard deviation) of their values equals zero, CORREL returns the #DIV/0! error value.

Applicability

Excel 2007, Excel 2010, Excel 2013, Excel 2016

Example

Correl Function
advanced_excel_statistical_functions.htm
Advertisements