CORREL()

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.

Arguments

  • array1 (required). A cell range of values

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

Note

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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.