+ Reply to Thread
Results 1 to 5 of 5

Trendline is extremely wierd

  1. #1
    Registered User
    Join Date
    09-20-2017
    Location
    Gilbert, Arizona
    MS-Off Ver
    2013
    Posts
    3

    Trendline is extremely wierd

    I'm trying to display an exponential trend line for an assignment for my class, but the trend line is just going off into space.
    Any idea on why it is doing this?
    Capture.JPG

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Trendline is extremely wierd

    Attach a sample workbook, not a picture. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    09-20-2017
    Location
    Gilbert, Arizona
    MS-Off Ver
    2013
    Posts
    3

    Re: Trendline is extremely wierd

    Sorry about that, here is the workbook. I just put in a line to show what i believe what the line will look like and what I want. I did it in google sheets and i got what i wanted.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Trendline is extremely wierd

    The limits of double precision strike again. Testing steps:
    1) Display equation on chart, expand number format, enter coefficients into spreadsheet (if I were doing this thing for real, I would use the LOGEST() or LINEST() function to get equation coefficients, but this is quick testing)
    2) Create formula in column G =$R$11*exp($R$12*D8) and copy down. Note that all values above year 1993 are #NUM. This is because the exp(0.356*1993) part of the function overflows the processor. I expect this is what is happening in the chart, and it is charting a very large number instead of erroring.

    I don't know how you can change how the trendline utility computes the trendline values. With the coefficients in the spreadsheet, you can rearrange the equation:
    ln(y)=ln(A)+B*t
    compute ln(A)+B*t, then use the EXP() function to get the real values for the function. Or find some other calculation strategy/order of operations to avoid the overflow error.

    That should explain the error, and suggest one way around the error. Is there more you need help with?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    09-20-2017
    Location
    Gilbert, Arizona
    MS-Off Ver
    2013
    Posts
    3

    Re: Trendline is extremely wierd

    I think i got it, thanks!

+ 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] Excel 2010 Trendline With Data labels or number on forward forecast trendline
    By camelight in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 10-15-2015, 08:35 AM
  2. Wierd error
    By lompeluiten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2014, 10:12 AM
  3. Replies: 0
    Last Post: 10-11-2011, 03:22 PM
  4. Wierd XL Behavior
    By revwhop in forum Excel General
    Replies: 1
    Last Post: 03-13-2006, 10:35 AM
  5. Wierd Excel
    By Baruch Ortiz in forum Excel General
    Replies: 4
    Last Post: 01-27-2006, 06:50 PM
  6. Wierd result
    By paulsete in forum Excel General
    Replies: 6
    Last Post: 08-04-2005, 04:58 AM

Tags for this Thread

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