Plotting a Best-Fit Trendline in Excel 2007

Microsoft Excel, Tips & Tricks Add comments

msexceltweak.pngIn these complex and uncertain times, forecasting business performance is increasingly important. Today, more than ever, managers at all levels need to make intelligent predic­tions of future sales and profit trends as part of their overall business strategy. By forecast­ing sales six months, a year, or even three years down the road, managers can anticipate related needs such as employee acquisitions, warehouse space, and raw material require­ments. Similarly, a profit forecast enables the planning of the future expansion of a com­pany.

Business forecasting has been around for many years, and various methods have been developed-some more successful than others. The most common forecasting method is the qualitative “seat-of-the-pants” approach, in which a manager (or a group of managers) estimates future trends based on experience and knowledge of the market. This method, however, suffers from an inherent subjectivity and a short-term focus because many man­agers tend to extrapolate from recent experience and ignore the long-term trend. Other methods (such as averaging past results) are more objective but generally useful for fore­casting only a few months in advance.

In business, it’s becoming increasingly popular to use a statistical tool called regression analy­sis to determine the relationship between one phenomenon that depends on another. For example, car sales might be dependent on interest rates, and units sold might be dependent on the amount spent on advertising. The dependent phenomenon is called the dependent variable or the y-value, and the phenomenon upon which it’s dependent is called the inde­pendent variable or the x-value. (Think of a chart or graph on which the independent vari­able is plotted along the horizontal [x] axis and the dependent variable is plotted along the vertical [y] axis.)

Given these variables, you can do two things with regression analysis:

  • Determine the relationship between the known x- and y-values and use the results to calculate and visualize the overall trend of the data.
  • Use the existing trend to forecast new y-values.

With linear data, the dependent variable is related to the independent variable by some constant factor. For example, you might find that car sales (the dependent variable) increase by one million units whenever interest rates (the independent variable) decrease by 1 per­cent. Similarly, you might find that division revenue (the dependent variable) increases by $100,000 for every $10,000 you spend on advertising (the independent variable).

You make these sorts of determinations by examining the trend underlying the current data you have for the dependent variable. In linear regression, you analyze the current trend by calculating the line of best-fit, or the trendline. This is a line through the data points for which the differences between the points above and below the line cancel each other out (more or less).

The easiest way to see the best-fit line is to use a chart. Note, however, that this works only if your data is plotted using an XY (scatter) chart. For example, Figure 1 shows a work­sheet with quarterly sales figures plotted on an XY chart. Here, the quarterly sales are the dependent variable, and the period is the independent variable. (In this example, the inde­pendent variable is just time, represented, in this case, by fiscal quarters.)

The following steps show you how to add a trendline to a chart:

  1. Click the chart to select it.
  2. If more than one data series is plotted, click the series with which you want to work.
  3. Choose Layout, Trendline, Linear Trendline. Excel inserts the trendline.

Figure 2 shows the best-fit trendline added to the chart.

CAUTION

It’s important not to view the trendline values as somehow trying to predict or estimate the actual y-values (sales).The trendline simply gives you an overall picture of how the y-values change when the x-values change.

To see a trendline through your data, first make sure the data is plotted using an XY chart

Figure 1 To see a trendline through your data, first make sure the data is plotted using an XY chart.

The quarterly sales chart with a best-fit trendline added

Figure 2 The quarterly sales chart with a best-fit trendline added.

Technorati Tags: ,

Popularity: 13% [?]

If you liked this post, would you please buy me a twelve-ounce lattes for only $2

Related Post

  • Plotting the Average on the Value Axis in Excel 2007
  • The Village - Excel Freak Work of Art
  • Converting Mainframe Dates to Excel Dates in Excel 2007
  • Creating a Workspace of Workbooks in Excel 2007
  • Creating a Workbook with a Specified Number of Sheets in Excel 2007
  • Don't Find What You're Looking For? Please Try Here...

    Google
     

    Leave a Reply

    WP Theme & Icons by N.Design Studio
    Entries RSS Comments RSS Add to Technorati Favorites Log in