Can a trendline in Numbers be extended to see predictions without adding data that does not exist?

The spread sheet that I'm working with adds daily data over a 6 month timeframe. The trendline stops at the newest data point. I would like to know what to expect in 6 months so I can make adjustments to adjust progress. I would like to do this without adding false data that I don't have yet.



Thanks

Posted on Nov 15, 2013 7:03 AM

Reply
16 replies

Jun 25, 2014 7:55 PM in response to Community User

If you notice in my first response... the top screenshot shows a plot with a trend line that shows the equation. I used the slope and offset in the formula that extend the "prediction"


you could use the forecast() or linest() function to create this prediction with out the trend line.



Here is another example:

User uploaded file

I entered actual (but made up) data in columns A and B


then I calculate the slope and intercept of that data in column F

F3=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 1)

F4=INDEX(LINEST(B2:B6,A2:A6,TRUE,TRUE), 2)


now in columns C and D I enter X values and calculate predicted Y values using the slope and intercepts:

D2=$F$3×C2+$F$4

select D2 and fill down as needed

Nov 15, 2013 8:15 AM in response to ECFD23

EC,


What Wayne showed you is only extending the Slope of the trend line because he happened to use the linear fit option. Had he chosen one of the several other options, he would have been doing more than just extending the Slope when he entered the equation of the Trend Line into the new series.


I think it is important to note that it is a fine distinction to worry about the extention of a trend line unless you also worry about the space between the data points.


Jerry

Nov 15, 2013 8:23 AM in response to ECFD23

I want to extend the slope of the trendline without using predictions. I want the trendline to show me the predictions.


But isn't that precisely what Wayne's example does? It uses the trendline equation derived from the existing data points to plot additional points on the trendline.


Thanks for the useful example, Wayne. I've often wondered how exactly to do this.


SG

Jun 24, 2014 6:37 PM in response to Community User

B2-B9 were the X data in Wayne's example. B11-B14 appear to be somewhat arbitrarily chosen X data points for the extended trend line. B10 was a copy of B9, the last X data point of the actual data. All were probably typed in manually or he used a simple formula. For the extended trend line you really only need two X data points, not all those that Wayne had. Assuming you are extending to the right, you need one that is the same as the last real X data point and you need one that is further to the right, to the point you want the line extended.


If your trend is a linear fit (straight line), you can use FORECAST to calculate the Y data for your two X data points.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can a trendline in Numbers be extended to see predictions without adding data that does not exist?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.