Syntax. CORREL(array1,array2)

Definition. This function returns the correlation coefficient of a two-dimensional random variable with values in the cell ranges array1 and array2. Use the correlation coefficient to determine the relationship between two properties.

For example, you can examine the relationship between the number of website visits and online orders.


  • array1 (required). A cell range of values

  • array2 (required). A second cell range of values


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

If array1 and array2 have a different number of data points, CORREL() returns the #N/A error. If either array1 or array2 is empty ...

Get Microsoft® Excel® 2010 Formulas & Functions Inside Out now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.