Excel

How to Use the INTERCEPT Function in Excel (Step-by-Step Guide with Examples)

When analyzing data, it’s often useful to understand the relationship between two variables—for example, how sales depend on advertising spend, or how grades depend on study hours.

Excel’s INTERCEPT function works with the SLOPE function to define a straight regression line. While SLOPE gives the rate of change, INTERCEPT tells you where the line crosses the Y-axis (the starting point when X = 0).


🔍 What is the INTERCEPT Function?

The INTERCEPT function returns the point at which a regression line crosses the Y-axis.

Syntax:

=INTERCEPT(known_y’s, known_x’s)
  • known_y’s → Dependent variable values (the outcomes).

  • known_x’s → Independent variable values (the inputs).

💡 Together with =SLOPE(), you can build a full regression equation:

y = slope * x + intercept

✅ Example 1: Study Hours vs. Test Scores

You collect the following data:

Hours (X) Score (Y)
1 55
2 60
3 65
4 70
  • Formula for slope:

=SLOPE(B2:B5, A2:A5)

Result: 5

  • Formula for intercept:

=INTERCEPT(B2:B5, A2:A5)

Result: 50

✔️ Regression Equation:

y = 5x + 50

Meaning: If a student studies 0 hours, the expected score is 50.


✅ Example 2: Advertising Spend vs. Sales

Ad Spend (X) Sales (Y)
1,000 7,000
2,000 9,000
3,000 11,000
4,000 13,000
  • Formula for slope:

=SLOPE(B2:B5, A2:A5)

Result: 2

  • Formula for intercept:

=INTERCEPT(B2:B5, A2:A5)

Result: 5,000

✔️ Regression Equation:

y = 2x + 5000

Meaning: Even with 0 ad spend, baseline sales are $5,000.


✅ Example 3: Negative Intercept

If data trends downward, the intercept may be negative.

X Y
1 80
2 60
3 40
4 20

Formula:

=INTERCEPT(B2:B5, A2:A5)

Result: 100

✔️ Interpretation: If X = 0, Y starts at 100, and decreases by 20 per step (slope = -20).


🎯 Practical Uses of INTERCEPT

  1. Forecasting → Estimate baseline sales, revenue, or performance when X = 0.

  2. Scientific Data Analysis → Understand initial conditions in experiments.

  3. Business Decision-Making → Identify fixed income or starting values.

  4. Regression Analysis → Build predictive models with SLOPE + INTERCEPT.


📝 Conclusion

The INTERCEPT function is a key tool in Excel for building regression equations. While SLOPE shows the rate of change, INTERCEPT reveals the baseline value when X = 0.

👉 Use both together to create regression models that help predict outcomes and make better business or research decisions.