Excel INTERCEPT Function

This Excel Tutorial demonstrates how to use the Excel INTERCEPT Function in Excel to calculate the y intercept, with formula examples.

INTERCEPT Function Description:

The INTERCEPT Function Calculates the Y intercept for a best-fit line for known Y and X values.

Formula Examples:

intercept function examples

Example Formula Result
1 =INTERCEPT(C5:C10,D5:D10) -1

Syntax and Arguments:

The Syntax for the INTERCEPT Formula is:

Function Arguments ( Inputs ):

known_y’s – An array of known Y values.

known_x’s – An array of known X values.

Additional Notes



You can also use the INTERCEPT function in VBA. Type:
For the function arguments (known_y’s, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

How to use the INTERCEPT Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
intercept formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=INTERCEPT(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the intercept function in excel

For more information about the INTERCEPT Formula visit the
Microsoft Website.