FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

CORREL in Google Sheets

CORREL with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the CORREL Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Perfect positive relationship

AB
1xy
213
325
437
549

Formula: D2: =CORREL(A2:A5,B2:B5)

Result: 1

Every one-unit increase in x accompanies a two-unit increase in y.

Perfect negative relationship

AB
1xy
218
326
434
542

Formula: D2: =CORREL(A2:A5,B2:B5)

Result: -1

The points lie exactly on a descending line.

No linear relationship

AB
1xy
2-11
300
411

Formula: D2: =CORREL(A2:A4,B2:B4)

Result: 0

The symmetric U-shaped pattern has zero Pearson correlation.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =CORREL(A2:A7,B2:B7)

Example spreadsheet for CORREL
ABCD
1MonthRevenueResult
211200.976687116029
32135
43150
54148
65170
76185
Result in D2: 0.976687116029

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.