The CORREL Function
CORREL is the shortest route from two Excel columns to Pearson's correlation coefficient. It returns a single number from -1 to +1.
Excel syntax
=CORREL(array1, array2)| Argument | Meaning | Example |
|---|---|---|
| array1 | First variable range | A2:A11 |
| array2 | Second variable range | B2:B11 |
| Return | Pearson r from -1 to +1 | 0.9632 |
- Text, logical values, and blank cells are ignored.
- Cells containing numeric zero are included.
- The two arrays must contain the same number of paired values, or Excel returns #N/A.
Example data
Advertising spend and sales revenue, both in thousands.
| Ad Spend | Sales |
|---|---|
| 10 | 85 |
| 20 | 102 |
| 30 | 118 |
| 40 | 135 |
| 50 | 98 |
| 60 | 152 |
| 70 | 168 |
| 80 | 175 |
| 90 | 190 |
| 100 | 210 |
Enter the formula in a blank cell
Put the cursor in a result cell such as D2, then enter the CORREL formula.
=CORREL(A2:A11, B2:B11)Press Enter
Excel returns the Pearson correlation coefficient immediately.
Interpret the direction and strength
The relationship is very strongly positive: as advertising spend increases, sales tend to increase strongly and consistently.
=CORREL($A$2:$A$11, $B$2:$B$11)Type the formula directly
Enter =CORREL(A2:A11, B2:B11) in a blank cell and press Enter.
Use the function wizard
Click a target cell, press the fx button, search for CORREL, then select Array1 and Array2.
Open it from the formula menu
Use Formulas -> More Functions -> Statistical -> CORREL when you do not remember the exact name.