← All functions

INTERCEPT

Calculates the y-value at which the line resulting from linear regression of a dataset will intersect the y-axis (x=0).

StatisticalINTERCEPT(data_y, data_x)

The INTERCEPT function in Google Sheets calculates the y-value at which a linear regression line through a dataset crosses the y-axis (where x=0). It's a key building block for trend analysis and forecasting. Dive into our comprehensive guide to master its application.

Parameters

  • data_y: The array or range of dependent (y) data points.
  • data_x: The array or range of independent (x) data points.

Step-by-Step Tutorial

  1. Calculating the intercept of a dataset:
    • Example: If A1:A5 (y-values) contains 3, 5, 7, 9, 11 and B1:B5 (x-values) contains 1, 2, 3, 4, 5, then =INTERCEPT(A1:A5, B1:B5) returns 1.
    • Result: 1 (the regression line crosses the y-axis at y=1)

Use Cases and Scenarios

  1. Sales Forecasting: Determine the baseline value of a trend line before accounting for growth over time.
  2. Scientific Research: Find the starting value of a linear relationship between two experimental variables.
  3. Financial Modeling: Estimate fixed costs by finding the intercept of a cost-versus-volume regression.

Related Functions

  • SLOPE: Calculates the slope of the line resulting from linear regression of a dataset.
  • FORECAST: Calculates a predicted value based on existing data using linear regression.
  • TREND: Returns values along a linear trend, using existing data points.

Related Articles

No related articles available for the INTERCEPT function.