Excel LINEST Function

What is LINEST function in Excel?


The LINEST function is one of the Statistical functions of Excel.

It Returns statistics that describe a linear trend matching known data points, by fitting a straight line using the least squares method.

We can find this function in Statistical category of the insert function Tab.

How to use LINEST function in excel

  1. Click on an empty cell (like F5).
 an empty cell in excel

2. Click on the fx icon (or press shift+F3).

fx icon in excel

3. In the insert function tab you will see all functions.

function list in excel

4. Select STATISTICAL category.

5. Select LINEST function.

6. Then select ok.

excel LINEST function

7. In the function arguments Tab you will see LINEST function.

8. Known_ys is the set of y-values you already know in the relationship y = mx + b.

9. Known_xs is an optional set of x-values that you may already know in the relationship y = mx + b.

10. Const is a logical value: the constant b is calculated normally if Const = TRUE or omitted; b is set equal to 0 if Const = FALSE.

11. Stats is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE or omitted.

12. You will see the results in the formula result section.

Examples of LINEST function in Excel

Leave a Reply

Your email address will not be published. Required fields are marked *