+ Reply to Thread
Results 1 to 3 of 3

Trendline Formula Wrong - What mistake did I make?

  1. #1
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Trendline Formula Wrong - What mistake did I make?

    Hi!

    In the attached graph there are 6 trendlines.
    The X axis represents EVENT 10 till 100
    The Y axis represent the values listed in behind MAX MAN till AUTOBRAKE 1. (6 lines in total)
    I added the trendlines. Linear for the MAX MAN line and Polynome grade 2 for the other lines.
    The trendlines match the data quite well.
    Then I clicked to show the formulas

    Those formulas are wrong.

    What mistake did I make?

    Many thanks for your help.

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Trendline Formula Wrong - What mistake did I make?

    I see no evidence in your attached Excel file to indicate any error in the trendlines.

    But let me guess: you used the displayed precision of the coefficients in formulas, and you found that your calculated data points are not close to the apparent trendline data points in some cases.

    The mistake would be: using the imprecise coefficients.

    I suggest that either you format the trendline label to show the coefficients with greater precision (Scientific with 14 decimal places, in general; Number with 17 decimal places, for your current formulas), or you use LINEST to calculate the coefficients directly in the worksheet.

    Actually, when I tried the latter for the AUTOBRAKE1 data (B8:K8), I could not duplicate any "mistake" even with the less precise coefficients.

    Nevertheless, see the formulas and coefficients in row 9 and row 10 as a demonstration of the principle.

    PS, for completeness.... Another common mistake is to use the trendline formulas in a Line Chart, instead of an XY Scatter chart. You __did__ use the latter; good. But to explain: a Line Chart always uses x=1,2,3,... instead of the values that we display on the x-axis. Consequently, the Line Chart trendline coefficients are wrong if the actual x-values are different (e.g. 10,20,30,... in your case).
    Last edited by joeu2004; 04-17-2021 at 11:21 AM.

  3. #3
    Registered User
    Join Date
    04-17-2021
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    9

    Re: Trendline Formula Wrong - What mistake did I make?

    Thanks!

    This helped a lot.
    I changed the trendline for all lines to Polygone 3rd power and formatted the trendline label to 20 decimals.
    This gave me a 100% match for all data.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Quadratic Trendline Equation is Completely wrong, or did I interpret it wrongly?
    By enigami in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-12-2017, 08:04 AM
  2. [SOLVED] Linear trendline:wrong equation
    By Jan M. in forum Excel Charting & Pivots
    Replies: 13
    Last Post: 09-28-2016, 02:09 PM
  3. Excel Trendline and Equation Application – wrong results
    By dargonaro in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2016, 10:08 AM
  4. Scatter Plot X Axis & Trendline Formula Wrong
    By mhroberts in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-29-2015, 02:04 PM
  5. Replies: 5
    Last Post: 12-02-2013, 12:27 PM
  6. Excel prints wrong trendline equation on graph
    By justyna-whitney in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-19-2013, 06:13 PM
  7. Replies: 2
    Last Post: 04-15-2011, 01:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1