Skip to main content

Excel INTERCEPT Function

The INTERCEPT function calculates the point at which a linear regression line will intersect the y-axis by using the given x-values and y-values.

intercept function 1


Syntax

=INTERCEPT(known_ys, known_xs)


Arguments

  • known_ys (required): An array or cell reference to dependent variables (y-values).
  • known_xs (required): An array or cell reference to independent variables (x-values).

Return Value

The INTERCEPT function returns a numeric value.


Function Notes

  • Arguments can be numbers, arrays, or references that contain numbers.
  • INTERCEPT ignores blank cells, text and logical values in a reference argument.
  • INTERCEPT ignores text and logical values in an array argument. However, if the two array arguments have different numbers of data points, the #N/A error value will be returned.
  • If there are any error values in any of the arguments, INTERCEPT will return the first error value.
  • The #DIV/0! error occurs if:
    • The variance of the supplied known_xs equals to zero;
    • Either of the supplied known_xs or known_ys arguments is empty.

Example

Supposing you have a table with x- and y-values as shown below, to get the y-axis intercept value, please copy or enter the formula below in a blank cell, and press Enter to get the result:

=INTERCEPT({2;-7;3;6;9},{-10;-7;0;3;8})

Or, use cell references to make the formula dynamic:

=INTERCEPT(C4:C8,B4:B8)

intercept function 2


Related functions

Excel LINEST Function

The Excel LINEST function returns the statistic for a best fit straight line based on the supplied set of x value and y value by using the “least squares” method. The function returns an array of constant values.


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations