Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 395
Default Get value equal to final point of chart trendline [=Trend( )] ?

I don't use trendlines much, and when I do it is just for the visual.

Now I find myself in a situation where I need to plot the trendline, but
also take the endpoints of two trendlines on my graph and get the difference
in value between those final points. The graph X-axis is 12 months (Jan-Dec)
and the actual number of points plotted will vary (adding a point each month).

The graph uses the values based on a named range: =opov4.xls!vo12 (fixed
range, not dynamic). It also uses a named range for the x-axis values:
=opov4.xls!vXAxisShort

I can put [vo12] in as the first parameter of the trend function
successfully (it shows the array of values), [vXAxisShort] for the X-axis
values... but no matter what I put in to try to convince it to give me the
value for "Dec" (or 12), it doesn't return a value without any x values.

I also tried the same for the "Forecast" function, and still no love.

The help files for trend and forecase aren't all that helpful to understand
why it isn't working.

Suggestions are welcome!
Thank you,
Keith


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Get value equal to final point of chart trendline [=Trend( )] ?

Keith,

You should try FORECAST. From your description, it should be something like

=FORECAST(12,vXAxisShort,vo12)

But note that your vXAxisShort values need to be of the same 'type' (integers for months) as the
12 - so you can't just have, for example, formatted date cells as "m" to justs show the month and
have that work - in that case, use

=FORECAST(DATEVALUE("12/31/2009"),vXAxisShort,vo12)

HTH,
Bernie
MS Excel MVP


"ker_01" wrote in message
...
I don't use trendlines much, and when I do it is just for the visual.

Now I find myself in a situation where I need to plot the trendline, but
also take the endpoints of two trendlines on my graph and get the difference
in value between those final points. The graph X-axis is 12 months (Jan-Dec)
and the actual number of points plotted will vary (adding a point each month).

The graph uses the values based on a named range: =opov4.xls!vo12 (fixed
range, not dynamic). It also uses a named range for the x-axis values:
=opov4.xls!vXAxisShort

I can put [vo12] in as the first parameter of the trend function
successfully (it shows the array of values), [vXAxisShort] for the X-axis
values... but no matter what I put in to try to convince it to give me the
value for "Dec" (or 12), it doesn't return a value without any x values.

I also tried the same for the "Forecast" function, and still no love.

The help files for trend and forecase aren't all that helpful to understand
why it isn't working.

Suggestions are welcome!
Thank you,
Keith




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 partial data start point JJ@Mich Charts and Charting in Excel 1 March 1st 09 04:08 AM
Different color & trend for data at specific starting point Steve Charts and Charting in Excel 0 July 31st 07 08:38 PM
How do I plot a trendline that goes through a specified point? triplej80 Charts and Charting in Excel 2 February 7th 06 09:45 PM
Chart point colours to show time trend AndyE Charts and Charting in Excel 7 May 13th 05 09:10 AM
How do i approximate the value of a point on the trendline? Dheer Charts and Charting in Excel 2 January 7th 05 02:00 AM


All times are GMT +1. The time now is 06:49 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"