FormulaCraft

CORREL

CORREL calculates the Pearson product-moment correlation between two equal-length arrays. A result near 1 indicates a strong positive relationship, near -1 a strong negative one, and near 0 little linear association. Use it to test whether two variables move together.

Excel
=CORREL(A2:A5,B2:B5)
Google Sheets
=CORREL(A2:A5,B2:B5)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Ad SpendRevenue
10008200
150010500
200013100
250015800

=CORREL(A2:A5,B2:B5)0.9993496337

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1Provide two equal-length data ranges: =CORREL(A2:A5,B2:B5).
  2. 2CORREL returns a value between -1 and 1; values above 0.7 or below -0.7 suggest a strong relationship.
  3. 3Use results to decide whether a linear regression or further analysis is warranted.

Need a version for your data?

Try: “Check whether advertising spend and revenue are correlated across monthly data

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: