Syntax
| Parameter | Description |
|---|---|
| array1 | Parameter of the CORREL function. |
| array2 | Parameter of the CORREL function. |
Examples
Ad spend vs. revenue
=CORREL(B2:B13, C2:C13)
Temperature vs. heating cost
=CORREL(D2:D365, E2:E365)
No correlation check
=ABS(CORREL(A2:A100, B2:B100)) < 0.1
Common Errors
The two arrays have different numbers of data points. They must be the same length.
One or both arrays have zero variance (all values are identical). Correlation is undefined when a variable doesn't vary.
Tips
A high correlation means two variables move together, but does not prove one causes the other. Ice cream sales and drowning deaths are correlated because both increase in summer.
CORREL detects linear patterns. A perfect U-shaped or circular relationship would show a correlation near 0. Scatter plot your data first.
CORREL^2 = RSQ. If CORREL returns 0.9, then RSQ is 0.81, meaning 81% of the variance in Y is explained by X.
Try CORREL in Viztab
Import your data and use CORREL with 370+ other formulas. No signup required.
Open Viztab