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.

Syntax

=CORREL(array1, array2)

Arguments

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

Remarks

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:

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

Return value

It returns a numeric value between -1 and 1.

Example

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.

=CORREL(C6:C17,D6:D17)

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

Notes:

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

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

IMAGINARY
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

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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