---
title: "CORREL function in Excel: syntax and examples | PracticeExcel"
description: "How to use CORREL in Excel and Google Sheets: measure how closely two columns of numbers move together."
canonical_url: "https://practiceexcelonline.com/functions/correl"
locale: en
meta:
  "og:description": "How to use CORREL in Excel and Google Sheets: measure how closely two columns of numbers move together."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q09SUkVMIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBDT1JSRUwgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IG1lYXN1cmUgaG93IGNsb3NlbHkgdHdvIGNvbHVtbnMgb2YgbnVtYmVycyBtb3ZlIHRvZ2V0aGVyLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~Q09SUkVMKGFycmF5MSwgYXJyYXkyKQ%2Cp_Ii9mdW5jdGlvbnMvY29ycmVsIg%2Cs_1jaG9tZqZ0a9A5TD.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "CORREL function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q09SUkVMIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBDT1JSRUwgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IG1lYXN1cmUgaG93IGNsb3NlbHkgdHdvIGNvbHVtbnMgb2YgbnVtYmVycyBtb3ZlIHRvZ2V0aGVyLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~Q09SUkVMKGFycmF5MSwgYXJyYXkyKQ%2Cp_Ii9mdW5jdGlvbnMvY29ycmVsIg%2Cs_1jaG9tZqZ0a9A5TD.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The CORREL function**

Returns the correlation coefficient of two ranges, from -1 to 1. Close to 1 means the two rise together, close to -1 that one falls as the other rises, and close to 0 no straight-line link.

=

CORREL(

## **Syntax**

```
CORREL(array1, array2)
```

<dl><dt>**array1 **</dt>
<dd>The first range of numbers.</dd>
<dt>**array2 **</dt>
<dd>The second range, the same size as the first.</dd></dl>

## **Examples**

D1`=CORREL(<sup>1</sup>A2:A6,<sup>2</sup>B2:B6)`

|  | A | B | C | D |
| --- | --- | --- | --- | --- |
| 1 | Ad spend | Sales |  | **0.98644** |
| 2 | 10 | 120 |  | |
| 3 | 20 | 150 |  | |
| 4 | 30 | 200 |  | |
| 5 | 40 | 210 |  | |
| 6 | 50 | 260 |  | |

**In plain words:** How closely <sup>1</sup>the ad spend in A2:A6 and <sup>2</sup>the sales in B2:B6 move together.

## **Questions**

<details>

<summary>

### Does a high correlation mean one thing causes the other?

</summary>

No. CORREL only measures how closely two columns move together in a straight line. Both may be driven by something else, like the season.

</details>

## **Related functions**

- [**AVERAGE**](https://practiceexcelonline.com/functions/average)
- [**MEDIAN**](https://practiceexcelonline.com/functions/median)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/correl#webpage","description":"How to use CORREL in Excel and Google Sheets: measure how closely two columns of numbers move together.","name":"CORREL function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/correl","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/functions/correl#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/functions/correl#/schema/question/1"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/correl"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/correl#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"CORREL function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/correl#article","description":"How to use CORREL in Excel and Google Sheets: measure how closely two columns of numbers move together.","headline":"CORREL function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q09SUkVMIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBDT1JSRUwgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IG1lYXN1cmUgaG93IGNsb3NlbHkgdHdvIGNvbHVtbnMgb2YgbnVtYmVycyBtb3ZlIHRvZ2V0aGVyLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~Q09SUkVMKGFycmF5MSwgYXJyYXkyKQ%2Cp_Ii9mdW5jdGlvbnMvY29ycmVsIg%2Cs_1jaG9tZqZ0a9A5TD.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/correl#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/correl#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/functions/correl#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"Does a high correlation mean one thing causes the other?","acceptedAnswer":{"@type":"Answer","text":"No. CORREL only measures how closely two columns move together in a straight line. Both may be driven by something else, like the season."}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q09SUkVMIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBDT1JSRUwgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IG1lYXN1cmUgaG93IGNsb3NlbHkgdHdvIGNvbHVtbnMgb2YgbnVtYmVycyBtb3ZlIHRvZ2V0aGVyLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~Q09SUkVMKGFycmF5MSwgYXJyYXkyKQ%2Cp_Ii9mdW5jdGlvbnMvY29ycmVsIg%2Cs_1jaG9tZqZ0a9A5TD.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~Q09SUkVMIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBDT1JSRUwgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IG1lYXN1cmUgaG93IGNsb3NlbHkgdHdvIGNvbHVtbnMgb2YgbnVtYmVycyBtb3ZlIHRvZ2V0aGVyLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~Q09SUkVMKGFycmF5MSwgYXJyYXkyKQ%2Cp_Ii9mdW5jdGlvbnMvY29ycmVsIg%2Cs_1jaG9tZqZ0a9A5TD.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
