# Google Sheets CORREL Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/correl-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The CORREL function calculates the correlation coefficient between two data sets, indicating the strength and direction of their linear relationship.

```
CORREL(data_y, data_x)
```

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the CORREL you need in plain EnglishGenerate Formula

## Parameters

**`data_y`**:\
The range of cells that contains the dependent variable data points for which you want to calculate the correlation.

**`data_x`**:\
The range of cells that contains the independent variable data points that you want to correlate with the `data_y`.

## What is a CORREL?

The *CORREL* function in Google Sheets is a statistical tool used to calculate the correlation coefficient between two sets of data. This coefficient measures the strength and direction of a linear relationship between two variables, providing insight into how closely related they are. The value of the correlation coefficient ranges from -1 to 1, where -1 indicates a perfect negative correlation, 1 indicates a perfect positive correlation, and 0 indicates no correlation.

In simpler terms, CORREL helps you understand whether an increase in one variable tends to correspond with an increase or decrease in another variable.

## A Practical Example

Imagine you are analyzing the relationship between advertising spend and sales revenue for your business:

### Advertising Spend Table:

| Month | Advertising Spend |
| - | - |
| Jan | 2000 |
| Feb | 2500 |
| Mar | 3000 |
| Apr | 3500 |
| May | 4000 |

### Sales Revenue Table:

| Month | Sales Revenue |
| - | - |
| Jan | 5000 |
| Feb | 6000 |
| Mar | 7000 |
| Apr | 8000 |
| May | 9000 |

You want to find out if there is a correlation between the amount spent on advertising and the sales revenue generated.

## CORREL Formula

To achieve this, you would use the CORREL function as follows:

```
=CORREL(A2:A6, B2:B6)
```

In this formula:

- `A2:A6` is the range containing the Advertising Spend data.
- `B2:B6` is the range containing the Sales Revenue data.

## Result of the Formula

When you apply the CORREL formula to the data, it will return a value that indicates the correlation coefficient. For example, if the result is `0.99`, it suggests a very strong positive correlation between advertising spend and sales revenue.

### Interpretation of the Result

- **0.99**: Strong positive correlation - as advertising spend increases, sales revenue also increases.
- **0**: No correlation - changes in advertising spend do not affect sales revenue.
- **-0.99**: Strong negative correlation - as advertising spend increases, sales revenue decreases.

## Why Use CORREL?

CORREL is beneficial because it provides a quick and easy way to assess the relationship between two variables. Understanding these relationships can help businesses make informed decisions regarding budgeting, marketing strategies, and resource allocation. Additionally, it can aid in identifying trends and patterns in data.

## Key Takeaways:

- **CORREL**: A statistical function that calculates the correlation coefficient between two sets of data.
- **Range of Values**: Correlation coefficient ranges from -1 to 1, indicating the strength and direction of the relationship.
- **Data Analysis**: Useful for analyzing relationships in business, finance, and research scenarios.
- **Decision Making**: Helps in making informed decisions based on the strength of relationships between variables.

CORREL is an essential function for anyone working with data analysis in Google Sheets, providing valuable insights into the relationships between different variables.

Happy analyzing!

## Example use case

You have a table with sales data in Column A and corresponding advertising spend in Column B. Use the CORREL formula to calculate the correlation between sales and advertising spend, helping you understand the effectiveness of your marketing efforts.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Create A Pivot Table In Google Sheets](https://betteranalyst.com/google-sheets/how-to-create-a-pivot-table-in-google-sheets)
- [How To Divide In Google Sheets](https://betteranalyst.com/google-sheets/how-to-divide-in-google-sheets)
- [How To Enable Macros In Google Sheets](https://betteranalyst.com/google-sheets/how-to-enable-macros-in-google-sheets)
- [How To Filter In Google Sheets](https://betteranalyst.com/google-sheets/how-to-filter-in-google-sheets)
- [How To Find Circular References In Google Sheets](https://betteranalyst.com/google-sheets/how-to-find-circular-references-in-google-sheets)
- [How To Find Duplicates In Google Sheets](https://betteranalyst.com/google-sheets/how-to-find-duplicates-in-google-sheets)
- [How To Freeze A Row In Google Sheets](https://betteranalyst.com/google-sheets/how-to-freeze-a-row-in-google-sheets)
- [How To Freeze Panes In Google Sheets](https://betteranalyst.com/google-sheets/how-to-freeze-panes-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
