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 ...