+ Reply to Thread
Results 1 to 5 of 5

Excel Linear Trendline Query

Hybrid View

  1. #1
    Registered User
    Join Date
    03-18-2010
    Location
    Swindon England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Excel Linear Trendline Query

    Hi All,

    I have the below values on an excel scatter plot graph. I can draw a linear trendline through the values by right clicking on a value, hitting “Add Trendline” and hitting “Linear”. What I would prefer is to have the values of the linear trendline written on my spreadsheet as at the times of each entry. (ie fill in below “Linear Trendline Value” row).

    Does anyone know if this can be done? If not, can anyone suggest an alternative method that would give approximately what I am looking for? Does anyone have any alternative suggestions?

    All help will be greatly appreciated, no matter how small. Thanks in Advance for all responses.

    (See attachment for Scatter Plot Graph)

    Time 1 2.5 4 4.75 7.2 7.9 8.5
    Value 2 5 4 3 7 4 9
    Linear Trendline Value
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel Linear Trendline Query

          ----------B----------- ---C--- ---D--- --E--- --F--- --G--- --H--- --I---
      2                          0.59786 1.79524                                   
      3                                                                            
      4   Time                         1     2.5      4   4.75    7.2    7.9    8.5
      5   Value                        2       5      4      3      7      4      9
      6   Linear Trendline Value  2.3931  3.2899 4.1867 4.6351 6.0998 6.5183 6.8771
    The formula in C2:D2 is

    =LINEST(C5:I5, C4:I4)

    It MUST be confirmed with Ctrl+Shift+Enter.

    In C6 and copied across,

    =$C$2*C4 + $D$2

    See Help for LINEST.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-18-2010
    Location
    Swindon England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Excel Linear Trendline Query

    Quote Originally Posted by shg View Post
          ----------B----------- ---C--- ---D--- --E--- --F--- --G--- --H--- --I---
      2                          0.59786 1.79524                                   
      3                                                                            
      4   Time                         1     2.5      4   4.75    7.2    7.9    8.5
      5   Value                        2       5      4      3      7      4      9
      6   Linear Trendline Value  2.3931  3.2899 4.1867 4.6351 6.0998 6.5183 6.8771
    The formula in C2:D2 is

    =LINEST(C5:I5, C4:I4)

    It MUST be confirmed with Ctrl+Shift+Enter.

    In C6 and copied across,

    =$C$2*C4 + $D$2

    See Help for LINEST.
    Thank for that. What exact formula do you have in box D2? Unable to reconcile your figure. Again, thanks in advance.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel Linear Trendline Query

    Do you have what you need?

    If not, do you want to continue here or at MrExcel?

    Either way, please read the forum rules about cross-posting.

  5. #5
    Registered User
    Join Date
    03-18-2010
    Location
    Swindon England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Excel Linear Trendline Query

    Quote Originally Posted by shg View Post
    Do you have what you need?

    If not, do you want to continue here or at MrExcel?

    Either way, please read the forum rules about cross-posting.
    I have what I need. Thanks for your assistance.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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