Google Sheets CORREL Function: Syntax, Examples & Tips

The CORREL function calculates the correlation coefficient between two data sets, indicating the strength and direction of their linear relationship.
Google Sheets
CORREL(data_y, data_x)

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

On this page
  1. Parameters
  2. What is a CORREL?
  3. A Practical Example
  4. CORREL Formula
  5. Result of the Formula
  6. Why Use CORREL?
  7. Key Takeaways:
  8. Example use case

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:

MonthAdvertising Spend
Jan2000
Feb2500
Mar3000
Apr3500
May4000

Sales Revenue Table:

MonthSales Revenue
Jan5000
Feb6000
Mar7000
Apr8000
May9000

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:

Google Sheets
=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.

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.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

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