• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

What is the formula for Linear Trendline?

PP3321

Active Member
Thanking you in advance again for your amazing support...

I want to analyze the pattern of value in a span of 30 days.
For this, I add the Linear Trendline to my chart. Please see the attached file.

My question is, is there any way to do Linear Trendline manually, without clicking the button in the ribbon? I want to obtain the values for this trendline.

Should I use moving average...?
Or is there any function that can achieve this...?
 

Attachments

  • Chandoo Forum.xlsx
    13.1 KB · Views: 5
Hi ,

The following formula , entered as an array formula , using CTRL SHIFT ENTER , will display , as an array , the two values.

=LINEST($C$2:$C$31, $B$2:$B$31,TRUE)

Make sure to enter the formula in two horizontal cells next to each other e.g. D1 , E1.

Narayan
 
@Faseeh
@NARAYANK991

Thank you so much!!! I really appreciate your help.
This area is completely new to me,
and I need some time to study what you taught me.

I will get back to you later.
 
Back
Top