Skip to main content

Extending the Trendline

- In the first part of this tutorial you saw how to add a Trendline Chart. The type of Trendline we used was an Linear Regression one.
You can get Excel to extend the linear regression line on your chart. Click on your chart to highlight it. Click on the plus symbol again (Or bring up the Format Trendline dialogue box again, if you're using Excel 2007 and 2010.). Expand the Trendline option and select More Options. From the Trendline Options, have a look at the Forecast boxes. Type a 6 into Forward:
Format Trendline Options
Press the Enter key on your keyboard and you should see the line extend on your chart:
Chart showing predicted future values
New values have been added to the X-Axis. It now goes from 0 to 14. Trace the vertical line up from 12 until you come to the sloping line. Now trace a straight horizontal line the left, all the way to the Y-Axis, and you can see it reads a value of just above 20000:
Reading values on the linear chart
If you look in cell B14 of your spreadsheet, you can see that the value is a more precise 20382.56. So Excel is predicting we'll earn this much in 2018.
If you want to add the new values as dots to your chart. Click on one of the dots on your chart. This will highlight all the dots:
Selecting the chart data points
The cells B2 to C9 (the data points) will also be highlighted on your spreadsheet:
Cells B2 to C9 highlighted in the spreadsheet
To add more data points, drag the blue square in the bottom right of cell C9. Drag it down to cell C15. Now drag the purple square in cell B9. Drag it down to cell B15.
Dragging chart data to add more data points
Now have a look at your chart. Click outside of the dots to deselect them:
Excel has added the data points to the chart
Excel has added the 6 new dots. It has added them all on the line. (They are all on the line because they are predictions, rather than real data.)
And that's it for X Y Scatter charts and linear regression. The above techniques come in quite handy for when you need to show future predictions: predicting revenue streams, predicting future crime statistics, share prices, and lots more besides. If you're looking for work, one thing that may impress an employer is to say that you can do linear progressions on an X Y Scatter chart!
In the next section, we'll have a look at something called Sparklines.

Comments

Popular posts from this blog

Beginners PHP  -This is a complete and free PHP programming course for beginners. It's assumed that you already have some HTML skills. But you don't need to be a guru, by any means. If you need a refresher on HTML, then click the link for the Web Design course on the left of this page. Everything you need to get started with this PHP course is set out in section one below. Good luck! Home Page > PHP Section One - An Introduction to PHP 1. What is PHP and Why do I need it? 2. What you need to get started 3. Installing and testing Wampserver 4. Troubleshooting > PHP Two - Getting Started With Variables 1. What is a Variable? 2. Putting text into variables 3. Variables - some practice 4. More variable practice 5. Joining direct text and variable data 6. Adding up in PHP 7. Subtraction 8. Multiplication 9. Division 10. Floating point numbers > PHP Three - Conditional Logic 1. If Statements 2. Using If Statements 3....
Javascript Tutorials for the Beginner - Welcome to the Home and Learn course for Javascript. Although it is aimed at complete beginners to the subject we do assume that you have some knowledge of HTML and a little CSS. You don't have to be an expert, though. Just the basics will do. (If you're not sure about the HTML then see our Web Design course.) You don't need to buy any software for this Javascript course - you probably already have everything you need to get started.   > Section One: Getting Started 1. Software needed 2. Our Javascript Templates 3. A little word about debugging Home Page > Section Two: The Browser 1. A First Script 2. Javascript Tag Placement 3. The Browser Object Model 4. Browser Window Methods 5. The Document Object Model > Section Three: Javascript Programming Basics 1. Javascript Variables 2. Math Operators 3. Operator Precedence 4. IF Statements 5. IF ... Else 6. Comparison Operators 7...

PRATYUSHA HOME

Hi interesting readers, Prathysha NGO, Chennai. Bala gurukul orphange, chennai. Pratyusha support, Hyderbad. Krr oldage home, Vizag. Disa foundation.......................................................... so on..................... Join hands with us for a good cause. Thank you all. Contact  us on our  whatsapp no:  8939374254    for the more details. You can pay through Paytm scanner. for each donor we will give an online PDF book as a gift. Thank you Pratyusha Home