Skip to main content

Excel CORREL function

The CORREL function returns the correlation coefficient of two cell ranges, which can be used to determine the relationship between two properties.

The CORREL Function VS. the PEARSON Function

The CORREL function performs the same calculation as the PEARSON function. If you are using Excel 2003 and earlier versions, the CORREL function is more recommended, because the PEARSON function may exhibit some rounding errors.


=CORREL(array1, array2)


Array1 (required): A set of independent variables.
Array2 (required): A set of dependent variables.
The two arrays can be entered as:
-- A cell reference
-- A range of values


1. If an array contains the following values, they will be ignored in the result:
-- Text;
-- Logical value "TRUE" or "FALSE";
-- Empty cells.
2. Zero values will be included in the result;
3. The #N/A error occurs if array1 and array2 have different numbers of cells;
4. The #DIV/0! error occurs when either of the following condition is meet:
-- Either “array1” or “array2” is empty;
-- The standard deviation of their values equals zero.
5. The equation for the CORREL function is as follows:

is the sample mean of array1;
is the sample mean of array2.

Return value

It returns a numeric value between -1 and 1.


As shown in the screenshot below, there are two sets of data, 2020 and 2021. To calculate the correlation coefficient of these two cell ranges, you need to do as follows.

Select a cell, for example D19, enter the formula below and press the Enter key to get the result.


Here you get the result 0.684448164, which means that there is a strong positive correlation between the given two sets of values.


1). A positive result +1 indicates a perfect positive correlation between the two sets of values.
2). A negative result -1 indicates a perfect inverse (negative) correlation between the two sets of values.
3). A result 0 indicates no relationship between the two variables.

Related Functions

The COMPLEX function converts real and imaginary coefficients to a complex number of the form x + yi or x + yj.

The IMAGINARY function returns the imaginary coefficient of a given complex number in the form x + yi or x + yj.

Excel IMREAL Function
The IMREAL function returns the real coefficient of a given complex number in the form x + yi or x + yj.

The Best Office Productivity Tools

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations