Returns the Pearson correlation coefficient of two sets of data.
CORREL(x, y)
where x and y are ranges or arrays containing the two sets of data.
Any text or empty entries are ignored.
CORREL calculates:
where are the averages of x, y.
CORREL(A1:A30, B1:B30)
returns the Pearson correlation coefficient for the two sets of data in A1:A30 and B1:B30.
The Relationship Between Study Hours and Exam Scores
Imagine you are a teacher and you want to see if there is a relationship between the number of hours students spend studying and their final exam scores. You collect data from 10 students in your class.
Student | Study Hours (X) | Exam Score (Y) | ||
|---|---|---|---|---|
A | B | C | ||
1 | 1 | 5 | 75 | |
2 | 2 | 10 | 90 | |
3 | 3 | 3 | 60 | |
4 | 4 | 8 | 85 | |
5 | 5 | 6 | 80 | |
6 | 6 | 4 | 70 | |
7 | 7 | 9 | 95 | |
8 | 8 | 7 | 88 | |
9 | 9 | 2 | 55 | |
10 | 10 | 12 | 92 |
In this table, the "Study Hours" data is one array (let's call it Array1), and the "Exam Score" data is the second array (Array2).
To find the correlation between these two variables, you would use the CORREL function.
Formula:
CORREL(B1:B10, C1:C10)
Assuming your "Study Hours" data is in cells B1 through B10 and "Exam Score" data is in cells C1 through C10.
Result:
The CORREL function would return a value of 0.924009118.
In this example, the high correlation coefficient of approximately 0.924 suggests that there is a very strong positive relationship between the number of hours a student studies and their exam score. This means that, based on this data, students who study more tend to get higher exam scores.
Result for CORREL(B1:B10, C1:C10):
PRODUCT & FEATURES
RESOURCES
Terms | Privacy | Spam Policy
© 2026 Zapof