Table of Contents
Use =CORREL(array1, array2) to calculate the Pearson correlation between two sets of paired numbers. A result near +1 indicates a strong positive linear relationship. A result near −1 indicates a strong negative one. A value near zero indicates little linear association and can still occur when the variables have a nonlinear relationship.
Compare paired data in Excel
Put one observation on each row. For example, use column A for sales, B for TV ad spend, and C for radio ad spend, with all three figures on each row referring to the same period and market.

=CORREL(A2:A201, B2:B201)
=CORREL(A2:A201, C2:C201)


If one result is 0.78 and the other is 0.576, both are positive in this example and the first is closer to +1. That comparison alone cannot establish which campaign caused more sales. Check for seasonality, extreme values and other factors shared by the rows.
Check errors and visualize the relationship
- #N/A: Check that the input ranges are the same size and start on the same observation.
- #DIV/0!: Check that there are usable numeric pairs and that neither range is constant.
- Unexpected result: Look for blank cells or numbers stored as text. Excel ignores text and blanks but includes numeric zero. Verify that zero represents a real observation.
Use an XY scatter chart to look for outliers and curves. A PivotTable can prepare grouped totals, and the desktop Data > Data Analysis > Correlation tool can produce a matrix when the Analysis ToolPak is enabled. Check Microsoft’s CORREL reference for formula behavior and the chart guide for choosing a clear display.


Reader Comments 0
Sign in with email or Google to join the discussion.