or

Register

or

### Kutools for Excel 22.00HOT

#### 300+ Powerful Features You Must Have in Excel

Kutools for Excel is a powerful add-in that frees you from performing time-consuming operations in Excel, such as combine sheets quickly, merge cells without losing data, paste to only visible cells, count cells by color and so on. 300+ powerful features / functions for Excel 2019, 2016, 2013, 2010, 2007 or Office 365!

### Office Tab 14.00HOT

#### Adding Tabbed Interface for Office

It enables tabbed browsing, editing, and managing of Microsoft Office applications. You can open multiple documents / files in a single tabbed window, such as using the browser IE 8/9/10, Firefox, and Google Chrome. It's compatible with Office 2019, 2016, 2013, 2010, 2007, 2003 or Office 365. Demo

### Kutools for Outlook 13.00NEW

#### 100+ Powerful Features for Outlook

Kutools for Outlook is a powerful add-in that frees you from time-consuming operations which majority of Outlook users has to perform daily! It can save your time from using Microsoft Outlook 2019, 2016, 2013, 2010 or Office 365!

### Kutools for Word  9.00NEW

#### 100+ Powerful Features for Word

Kutools for Word is a powerful add-in that frees you from time-consuming operations which majority of Word users have to perform daily! It can save your time from using Microsoft Word / Office 2019, 2016, 2013, 2010, 2007, 2003 or Office 365!

### Classic Menu for Office

Restores the old look and menus of Office 2003 to Microsoft Office 2019, 2016, 2013, 2010, 2007 or Office 365. Don’t lose time in finding commands on the new Ribbon. Easy to deploy to all computers in enterprises and organizations.

## How to calculate the correlation coefficient between two variables in Excel?

We usually use correlation coefficient (a value between -1 and 1) to display how strongly two variables are related to each other. In Excel, we also can use the CORREL function to find the correlation coefficient between two variables.

Note: A correlation coefficient of +1 indicates a perfect positive correlation, which means that as variable X increases, variable Y increases and while variable X decreases, variable Y decreases.
On the other hand, a correlation coefficient of -1 indicates a perfect negative correlation. As variable X increases, variable Z decreases and as variable X decreases, variable Z increases.

Method A Directly use CORREL function

Method B Apply Data Analysis and output the analysis

More tutorials about calculations in Excel

#### Method A Directly use CORREL function

For example, there are two lists of data, and now I will calculate the correlation coefficient between these two variables.

Select a blank cell that you will put the calculation result, enter this formula =CORREL(A2:A7,B2:B7), and press Enter key to get the correlation coefficient. See screenshot:

In the formula, A2:A7 and B2:B7 are the two variable lists you want to compare.

you can insert a line chart to view the correlation coefficient visually. See screenshot:

#### Batch do Same Calculation on Cells

In Excel, you may want to apply the same calculation to a range of cells, generally, you will create a formula, then drag fill handle over the cells which maybe a little troublesome if the range is large. Here, the Operation Tools in Kutools for Excel, can apply one calculation to selected cells once time.
Click to have 30-day free trial with full features of Kutools for Excel

#### Method B Apply Data Analysis and output the analysis

With the Analysis Toolpak add-in in Excel, you can quickly generate correlation coefficients between two variables, please do as below:

1. If you have add the Data Analysis add-in to the Data group, please jump to step 3. Click File > Options, then in the Excel Options window, click Add-Ins from the left pane, and go to click Go button next to Excel Add-ins drop-down list.

2. In the Add-Ins dialog, check Analysis ToolPak, click OK to add this add-in to Data tab group.

3. Then click Data > Data Analysis, and in the Data Analysis dialog, select Correlation, then click OK.

4. Then the Correlation dialog, do as below operation:

1) Select the data range;

2) Check Columns or Rows option based on your data;

3) Check Labels in first row if you have labels in the data;

4) Check one option as you need in Output options secton.

5. Click OK. And the analysis result has been displayed in the range you specified.

#### Seconds to calculate current age based on given birthday date

If you have a list of employees' birthday, how can you quickly calculate thier current ages for each other in Excel sheet? Here the Calculate age based on birth function in Kutools for Excel can quickly solve this problem whithout remembering the complex formula.  Click for full-featured 30 days free trial!

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

#### Related Articles

• Calculate or Assign Letter Grade In Excel
To assign letter grade for each student based on their scores may be a common task for a teacher. For example, I have a grading scale defined where the score 0-59 = F, 60-69 = D, 70-79 = C, 80-89 = B, and 90-100 = A, see more.
• Calculate discount rate or price in Excel
When Christmas is coming, there must be many sale promotions in shopping malls. But if the different kinds of items have different discounts, how can you calculate the discount rates or prices of the different items?

### The Best Office Productivity Tools

#### Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

• Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
• Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
• Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
• Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
• Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
• Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
• Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
• Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
• More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.

#### Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
###### or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
• To post as a guest, your comment is unpublished.
· 1 years ago
Well then what about the sardines?!?