Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
CMS CMS is offline
external usenet poster
 
Posts: 3
Default How to reference trendline equation

I am trying to put together a petroleum consumption projection for my
University and need to reference a trendline equation.

I have it set up so every year, we can enter in that years petrol.
consumption and the graph updates, then the trendline updates, but the
projected figures (a list going out to 2020) does not. This is because to get
the projections, I had to manually copy the trendline equation to the cell,
referencing appropriate cells (i.e. the year).

If I could set up an absolute reference to the equation, whenever it was
updated, the projected figures would also be updated but I cannot figure out
how to do this. Sorry for the wordy post, thanks for any help.

--
CMS
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default How to reference trendline equation

You want to use the slope and intercept functions to create the formula...
With the following data in Cells A1:C13

Date Sales
Jan 39.57395298 1
Feb 38.34244752 2
Mar 21.74347515 3
Apr 3.235821974 4
May 72.04120397 5
Jun 61.27490214 6
Jul 71.66341066 7
Aug 22.2055994 8
Sep 27.11134988 9
Oct 95.8971653 10
Nov 27.19312349 11
Dec 84.79849085 12

I used the formulas
=SLOPE(B2:B13, C2:C13) = 3.13448

and
=INTERCEPT(B2:B13, C2:C13) = 26.71596

to derive the formula
y = 3.1345x + 26.716
--
HTH...

Jim Thomlinson


"CMS" wrote:

I am trying to put together a petroleum consumption projection for my
University and need to reference a trendline equation.

I have it set up so every year, we can enter in that years petrol.
consumption and the graph updates, then the trendline updates, but the
projected figures (a list going out to 2020) does not. This is because to get
the projections, I had to manually copy the trendline equation to the cell,
referencing appropriate cells (i.e. the year).

If I could set up an absolute reference to the equation, whenever it was
updated, the projected figures would also be updated but I cannot figure out
how to do this. Sorry for the wordy post, thanks for any help.

--
CMS

  #3   Report Post  
Posted to microsoft.public.excel.misc
CMS CMS is offline
external usenet poster
 
Posts: 3
Default How to reference trendline equation

Thanks Jim. I found a way around this through using the GROWTH function after
some more research. Your way looks equally valid. Thanks again.
--
CMS


"Jim Thomlinson" wrote:

You want to use the slope and intercept functions to create the formula...
With the following data in Cells A1:C13

Date Sales
Jan 39.57395298 1
Feb 38.34244752 2
Mar 21.74347515 3
Apr 3.235821974 4
May 72.04120397 5
Jun 61.27490214 6
Jul 71.66341066 7
Aug 22.2055994 8
Sep 27.11134988 9
Oct 95.8971653 10
Nov 27.19312349 11
Dec 84.79849085 12

I used the formulas
=SLOPE(B2:B13, C2:C13) = 3.13448

and
=INTERCEPT(B2:B13, C2:C13) = 26.71596

to derive the formula
y = 3.1345x + 26.716
--
HTH...

Jim Thomlinson


"CMS" wrote:

I am trying to put together a petroleum consumption projection for my
University and need to reference a trendline equation.

I have it set up so every year, we can enter in that years petrol.
consumption and the graph updates, then the trendline updates, but the
projected figures (a list going out to 2020) does not. This is because to get
the projections, I had to manually copy the trendline equation to the cell,
referencing appropriate cells (i.e. the year).

If I could set up an absolute reference to the equation, whenever it was
updated, the projected figures would also be updated but I cannot figure out
how to do this. Sorry for the wordy post, thanks for any help.

--
CMS

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default How to reference trendline equation

You may wish to look at functions such as FORECAST and LINEST ?
--
David Biddulph

"CMS" wrote in message
...
I am trying to put together a petroleum consumption projection for my
University and need to reference a trendline equation.

I have it set up so every year, we can enter in that years petrol.
consumption and the graph updates, then the trendline updates, but the
projected figures (a list going out to 2020) does not. This is because to
get
the projections, I had to manually copy the trendline equation to the
cell,
referencing appropriate cells (i.e. the year).

If I could set up an absolute reference to the equation, whenever it was
updated, the projected figures would also be updated but I cannot figure
out
how to do this. Sorry for the wordy post, thanks for any help.

--
CMS



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
trendline equation terry Charts and Charting in Excel 6 December 19th 06 08:56 PM
Trendline Equation bastien86 Excel Worksheet Functions 5 July 8th 06 03:19 AM
extracting the trendline equation Will1 Charts and Charting in Excel 2 November 25th 05 07:50 PM
Rounding in Trendline Equation Phil Hageman Charts and Charting in Excel 3 January 15th 05 01:15 AM
Logarithmic Trendline Equation Phil Hageman Charts and Charting in Excel 2 January 13th 05 11:55 AM


All times are GMT +1. The time now is 11:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"