SheetRocks
Documentation/Formulas/CORREL

CORREL

Returns the correlation coefficient between two data sets

Syntax

CORREL(array1, array2)

Arguments

Argument Description Required
array1 A cell range of values Required
array2 A second cell range of values Required

Examples

Correlation between two data sets

=CORREL(A1:A5, B1:B5)
Result ⇒ 0.6396
A B
1 3 2
2 2 4
3 4 5
4 5 4
5 6 6

Correlation with perfect positive correlation

=CORREL(A1:A3, B1:B3)
Result ⇒ 1
A B
1 1 2
2 2 4
3 3 6

Correlation with mixed values

=CORREL(A1:A3, B1:B3)
Result ⇒ 1
A B
1 10 5
2 20 15
3 30 25

Related Functions

Other Statistical functions:


← Back to Formula Reference