
📎 This article includes 1 downloadable practice file ↓
In this article
CORREL returns a number between −1 and 1: near 1 means both rise together, near −1 means one falls as the other rises, near 0 means no linear link.
Syntax
=CORREL(array1, array2)
| Argument | What it means |
|---|---|
array1, array2 |
Two ranges of equal size. |
Examples
Example 1
=CORREL(B2:B25, C2:C25)
Ad spend vs sales across 24 months.
CORREL in practice
Where you will use it
- Do ad spend and sales move together?
- Rain vs umbrella sales
- Check two KPIs for a relationship
Worked example
Five observations per pair, stored beside the table.
| Case | Pair | Formula | Result |
|---|---|---|---|
| 1 | Ad spend vs sales | =ROUND(CORREL(INDEX($H$1:$L$3,A2,0),INDEX($N$1:$R$3,A2,0)),3) | 0.999 |
| 2 | Rainy days vs umbrellas | =ROUND(CORREL(INDEX($H$1:$L$3,A3,0),INDEX($N$1:$R$3,A3,0)),3) | 0.994 |
| 3 | Unrelated numbers | =ROUND(CORREL(INDEX($H$1:$L$3,A4,0),INDEX($N$1:$R$3,A4,0)),3) | -0.152 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Correlation is not causation | A third factor can drive both |
| Outliers | One extreme point can create or hide a correlation |
Related functions
RSQ · SLOPE · LINEST
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
📎 Practice files for this article
- 📗Practice workbook: Statistics basics22 tasks on realistic sales data — type your formula, the Check column turns green when it is right. Answers sheet included.⬇ XLSX · 34 KB
Free to use for learning. Files with macros (.bas) are plain text — import them with Alt+F11 → File → Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time — plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul →Build this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.