Microsoft Excel Forecasting & Data Analysis
Microsoft Excel Forecasting & Data Analysis
Data Analysis
KEY DESCRIPTION
CTRL+SHIFT+( Unhides any hidden rows within the selection.
CTRL+SHIFT+) Unhides any hidden columns within the selection.
CTRL+SHIFT+& Applies the outline border to the selected cells.
CTRL+SHIFT_ Removes the outline border from the selected cells.
CTRL+SHIFT+~ Applies the General number format.
CTRL+SHIFT+$ Applies the Currency format with two decimal places (negative numbers in
parentheses).
CTRL+SHIFT+% Applies the Percentage format with no decimal places.
CTRL+SHIFT+^ Applies the Exponential number format with two decimal places.
CTRL+SHIFT+# Applies the Date format with the day, month, and year.
CTRL+SHIFT+@ Applies the Time format with the hour and minute, and AM or PM.
CTRL+SHIFT+! Applies the Number format with two decimal places, thousands separator,
and minus sign (-) for negative values.
CTRL+SHIFT+* Selects the current region around the active cell (the data area enclosed by
blank rows and blank columns).
In a PivotTable, it selects the entire PivotTable report.
CTRL+SHIFT+: Enters the current time.
CTRL+SHIFT+" Copies the value from the cell above the active cell into the cell or the
Formula Bar.
CTRL+SHIFT+Plus Displays the Insert dialogue box to insert blank cells.
(+)
CTRL+Minus (-) Displays the Delete dialogue box to delete the selected cells.
CTRL+; Enters the current date.
CTRL+` Alternates between displaying cell values and displaying formulas in the
worksheet.
CTRL+' Copies a formula from the cell above the active cell into the cell or the
Formula Bar.
CTRL+1 Displays the Format Cells dialogue box.
CTRL+2 Applies or removes bold formatting.
CTRL+3 Applies or removes italic formatting.
CTRL+4 Applies or removes underlining.
CTRL+5 Applies or removes strikethrough.
CTRL+6 Alternates between hiding objects, displaying objects, and displaying
placeholders for objects.
CTRL+8 Displays or hides the outline symbols.
CTRL+9 Hides the selected rows.
CTRL+0 Hides the selected columns.
CTRL+A Selects the entire worksheet.
If the worksheet contains data, CTRL+A selects the current region.
Pressing CTRL+A a second time selects the current region and its summary
rows. Pressing CTRL+A a third time selects the entire worksheet.
When the insertion point is to the right of a function name in a formula,
displays the Function Arguments dialogue box.
CTRL+SHIFT+A inserts the argument names and parentheses when the
insertion point is to the right of a function name in a formula.
CTRL+B Applies or removes bold formatting.
CTRL+C Copies the selected cells.
CTRL+C followed by another CTRL+C displays the Clipboard.
CTRL+D Uses the Fill Down command to copy the contents and format of the
topmost cell of a selected range into the cells below.
CTRL+F Displays the Find and Replace dialogue box, with the Find tab selected.
SHIFT+F5 also displays this tab, while SHIFT+F4 repeats the last Find
action.
CTRL+SHIFT+F opens the Format Cells dialogue box with the Font tab
selected.
CTRL+G Displays the Go To dialogue box.
F5 also displays this dialogue box.
CTRL+H Displays the Find and Replace dialogue box, with the Replace tab
selected.
CTRL+I Applies or removes italic formatting.
CTRL+K Displays the Insert Hyperlink dialogue box for new hyperlinks or the Edit
Hyperlink dialogue box for selected existing hyperlinks.
CTRL+N Creates a new, blank workbook.
CTRL+O Displays the Open dialogue box to open or find a file.
CTRL+SHIFT+O selects all cells that contain comments.
CTRL+P Displays the Print dialogue box.
CTRL+SHIFT+P opens the Format Cells dialogue box with the Font tab
selected.
CTRL+R Uses the Fill Right command to copy the contents and format of the
leftmost cell of a selected range into the cells to the right.
CTRL+S Saves the active file with its current file name, location, and file format.
CTRL+T Displays the Create Table dialogue box.
CTRL+U Applies or removes underlining.
CTRL+SHIFT+U switches between expanding and collapsing of the
formula bar.
CTRL+V Inserts the contents of the Clipboard at the insertion point and replaces any
selection. Available only after you have cut or copied an object, text, or cell
contents.
CTRL+ALT+V displays the Paste Special dialogue box. Available only
after you have cut or copied an object, text, or cell contents on a worksheet
or in another program.
CTRL+W Closes the selected workbook window.
CTRL+X Cuts the selected cells.
CTRL+Y Repeats the last command or action, if possible.
CTRL+Z Uses the Undo command to reverse the last command or to delete the last
entry that you typed.
CTRL+SHIFT+Z uses the Undo or Redo command to reverse or restore
the last automatic correction when AutoCorrect Smart Tags are displayed.
Function keys
KEY DESCRIPTION
F1 Displays the Microsoft Office Excel Help task pane.
CTRL+F1 displays or hides the Ribbon, a component of the Microsoft Office Fluent user
interface.
ALT+F1 creates a chart of the data in the current range.
ALT+SHIFT+F1 inserts a new worksheet.
F2 Edits the active cell and positions the insertion point at the end of the cell contents. It also
moves the insertion point into the Formula Bar when editing in a cell is turned off.
SHIFT+F2 adds or edits a cell comment.
CTRL+F2 displays the Print Preview window.
F3 Displays the Paste Name dialogue box.
SHIFT+F3 displays the Insert Function dialogue box.
F4 Repeats the last command or action, if possible.
CTRL+F4 closes the selected workbook window.
F5 Displays the Go To dialogue box.
CTRL+F5 restores the window size of the selected workbook window.
F6 Switches between the worksheet, Ribbon, task pane, and Zoom controls. In a worksheet
that has been split (View menu, Manage This Window, Freeze Panes, Split Window
command), F6 includes the split panes when switching between panes and the Ribbon area.
SHIFT+F6 switches between the worksheet, Zoom controls, task pane, and Ribbon.
CTRL+F6 switches to the next workbook window when more than one workbook window
is open.
F7 Displays the Spelling dialogue box to check spelling in the active worksheet or selected
range.
CTRL+F7 performs the Move command on the workbook window when it is not
maximized. Use the arrow keys to move the window, and when finished press ENTER, or
ESC to cancel.
F8 Turns extend mode on or off. In extend mode, Extended Selection appears in the status
line, and the arrow keys extend the selection.
SHIFT+F8 enables you to add a nonadjacent cell or range to a selection of cells by using
the arrow keys.
CTRL+F8 performs the Size command (on the Control menu for the workbook window)
when a workbook is not maximized.
ALT+F8 displays the Macro dialogue box to create, run, edit, or delete a macro.
F9 Calculates all worksheets in all open workbooks.
SHIFT+F9 calculates the active worksheet.
CTRL+ALT+F9 calculates all worksheets in all open workbooks, regardless of whether
they have changed since the last calculation.
CTRL+ALT+SHIFT+F9 rechecks dependent formulas, and then calculates all cells in all
open workbooks, including cells not marked as needing to be calculated.
CTRL+F9 minimizes a workbook window to an icon.
F10 Turns key tips on or off.
SHIFT+F10 displays the shortcut menu for a selected item.
ALT+SHIFT+F10 displays the menu or message for a smart tag. If more than one smart tag
is present, it switches to the next smart tag and displays its menu or message.
CTRL+F10 maximizes or restores the selected workbook window.
F11 Creates a chart of the data in the current range.
SHIFT+F11 inserts a new worksheet.
ALT+F11 opens the Microsoft Visual Basic Editor, in which you can create a macro by
using Visual Basic for Applications (VBA).
F12 Displays the Save As dialogue box.
KEY DESCRIPTION
ARROW Move one cell up, down, left, or right in a worksheet.
KEYS CTRL+ARROW KEY moves to the edge of the current data region in a
worksheet.
SHIFT+ARROW KEY extends the selection of cells by one cell.
CTRL+SHIFT+ARROW KEY extends the selection of cells to the last nonblank
cell in the same column or row as the active cell, or if the next cell is blank,
extends the selection to the next nonblank cell.
LEFT ARROW or RIGHT ARROW selects the tab to the left or right when the
Ribbon is selected. When a submenu is open or selected, these arrow keys switch
between the main menu and the submenu. When a Ribbon tab is selected, these
keys navigate the tab buttons.
DOWN ARROW or UP ARROW selects the next or previous command when a
menu or submenu is open. When a Ribbon tab is selected, these keys navigate up
or down the tab group.
In a dialogue box, arrow keys move between options in an open drop-down list,
or between options in a group of options.
DOWN ARROW or ALT+DOWN ARROW opens a selected drop-down list.
BACKSPACE Deletes one character to the left in the Formula Bar.
Also clears the content of the active cell.
In cell editing mode, it deletes the character to the left of the insertion point.
DELETE Removes the cell contents (data and formulas) from selected cells without
affecting cell formats or comments.
In cell editing mode, it deletes the character to the right of the insertion point.
END Moves to the cell in the lower-right corner of the window when SCROLL LOCK
is turned on.
Also selects the last command on the menu when a menu or submenu is visible.
CTRL+END moves to the last cell on a worksheet, in the lowest used row of the
rightmost used column. If the cursor is in the formula bar, CTRL+END moves the
cursor to the end of the text.
CTRL+SHIFT+END extends the selection of cells to the last used cell on the
worksheet (lower-right corner). If the cursor is in the formula bar,
CTRL+SHIFT+END selects all text in the formula bar from the cursor position to
the end—this does not affect the height of the formula bar.
ENTER Completes a cell entry from the cell or the Formula Bar, and selects the cell below
(by default).
In a data form, it moves to the first field in the next record.
Opens a selected menu (press F10 to activate the menu bar) or performs the action
for a selected command.
In a dialogue box, it performs the action for the default command button in the
dialogue box (the button with the bold outline, often the OK button).
ALT+ENTER starts a new line in the same cell.
CTRL+ENTER fills the selected cell range with the current entry.
SHIFT+ENTER completes a cell entry and selects the cell above.
ESC Cancels an entry in the cell or Formula Bar.
Closes an open menu or submenu, dialogue box, or message window.
It also closes full screen mode when this mode has been applied, and returns to
normal screen mode to display the Ribbon and status bar again.
HOME Moves to the beginning of a row in a worksheet.
Moves to the cell in the upper-left corner of the window when SCROLL LOCK is
turned on.
Selects the first command on the menu when a menu or submenu is visible.
CTRL+HOME moves to the beginning of a worksheet.
CTRL+SHIFT+HOME extends the selection of cells to the beginning of the
worksheet.
PAGE DOWN Moves one screen down in a worksheet.
ALT+PAGE DOWN moves one screen to the right in a worksheet.
CTRL+PAGE DOWN moves to the next sheet in a workbook.
CTRL+SHIFT+PAGE DOWN selects the current and next sheet in a workbook.
PAGE UP Moves one screen up in a worksheet.
ALT+PAGE UP moves one screen to the left in a worksheet.
CTRL+PAGE UP moves to the previous sheet in a workbook.
CTRL+SHIFT+PAGE UP selects the current and previous sheet in a workbook.
SPACEBAR In a dialogue box, performs the action for the selected button, or selects or clears
a check box.
CTRL+SPACEBAR selects an entire column in a worksheet.
SHIFT+SPACEBAR selects an entire row in a worksheet.
CTRL+SHIFT+SPACEBAR selects the entire worksheet.
ALT+SPACEBAR displays the Control menu for the Microsoft Office Excel
window.
TAB Moves one cell to the right in a worksheet.
Moves between unlocked cells in a protected worksheet.
Moves to the next option or option group in a dialogue box.
SHIFT+TAB moves to the previous cell in a worksheet or the previous option in a
dialogue box.
CTRL+TAB switches to the next tab in dialogue box.
CTRL+SHIFT+TAB switches to the previous tab in a dialogue box.
Please download the exercise file from the following link before
you get started.
https://www.dropbox.com/s/5jv0jitsx85j08s/Forecasting%20and%20d
ata%20analysis%20blank.xlsm?dl=0
UNIT 1 - FORECASTING
Often in forecasting, a key step is knowing when something can be forecast accurately,
and when forecasts are no better than tossing a coin. Good forecasts capture the
genuine patterns and relationships which exist in the historical data, but do not
replicate past events that will not occur again.
In all environments where numbers are collected and people make use of these
numbers the ability to forecast or extrapolate data may be required. It doesn’t really
matter if you are talking about sales figures, expenses, man-hours, growth, market
shares etc. to create a budget you need to forecast. To be able to forecast in Excel you
must have historical data. In this workbook time series data is used for the forecasts.
The periods can be quarters, months, minutes, hours, years whatever suite your
business. The predictability of an event or a quantity depends on several factors
including:
Whether the forecasts can affect the thing you are trying to forecast.
It is not possible to forecast everything. It is easy to forecast the time of the sunrise
tomorrow, but it is impossible to forecast tomorrow’s lottery numbers and very
difficult to forecast, who is going to win this year’s European Song Contest
In Excel you have different methods to calculate a forecast, but Excel can only base the
calculations on known data. You can use What-if analysis tools to manipulate your
forecasts based on knowledge you have about the future (you will get a new product
line, you have to close down 5 stores, you will spend a lot of money on marketing) to
predict the future.
In forecasting you are going to look at the trends that the data have and use these
trends to help forecast future values or values outside the measured data. The trends
can also be used to infill data where data is missing in the collected data. You will also
forecast seasonal data and also look at data which are not suitable for forecasting.
LINEAR REGRESSION
Discussion
If the goal is prediction, or forecasting, linear regression can be used to fit a predictive
model to an observed data set of y and x values or known actual data (y) over time (x)
(time series data). After developing such a model, if an additional value of x (a new
period) is then given without its accompanying value of y, the fitted model can be
used to make a prediction of the value of y.
The sales figures (y) are known for a number of periods (x) it makes it possible
forecasting sales (y) for future periods (x).
In Excel the linear regression can be calculated using the Forecast function, The Trend
function, the Fill-Handle, by calculating the equation: Y = mX + c, and by adding a
Trendline to a chart.
The Data Analysis Tool Regression is an analysis tool to return important information
if you are working with Linear Regression such as the Slope, the Y-Interceptor, R-
square, and other statistical. The different terms will be explained later in this
workbook.
You can also calculate the Slope and the Y Interceptor using the functions Slope and
Intercept.
Discussion
Microsoft Excel provides a variety of functions you can use to calculate forecasts. One
of them is the Forecast function. The Forecast function can calculate trend, a linear
forecast, or linear regression for as many future periods needed based on data from
previous periods.
The Forecast function consists of three required arguments, in the following order: X,
Known_y’s, and Known_x’s. X is the period for which you want to calculate the
forecast. Known_y’s is the array with the known values. Known_x’s is the array with
the known periods (must be a numeric range and not dates, months or years).
Procedures
Click fx
5. In the Insert function dialog box, locate Statistical category in the Or
select a category: box.
6. Click on Forecast.
Select statistical
Select Forecast
Click OK
9. Enter the cell reference for the cell with the period information.
10. In the Known_y’s box, select the cells containing the known values.
11. Make the cell references absolute (Press F4 or add the $ signs)
12. In the Known_x’s box, select the cells containing the known periods.
13. Make the cell references absolute (Press F4 or add the $ signs)
Click OK
15. Copy down the Forecast function to get the forecast for known periods
and unknown periods.
The forecast function is built in the Fill handle. Select the known periods’ factual data
and drag down the Fill handle and the Fill handle will forecast the unknown periods.
Drag fill handle
If you compare the result using the fill handle in the Sales column and using the
Forecast function in the Forecast column you can see that both methods will return the
same result for November and December.
THE TREND FUNCTION
Discussion
The Trend can calculate trend, a linear forecast, or linear regression for as many future
periods needed based on data from previous periods.
The Trend function is an array function and the steps to use it are different from
“normal” functions in Excel. The whole range where you want the result to be
displayed must be selected and after the needed arguments have been entered the
keys Ctrl Shift Enter must be pressed instead of pressing Enter. Then the function will
return the result for the whole range in the selected range.
The Trend function consists of one required argument and three optional arguments,
in the following order: Known_y’s, Known_x’s, New_x’s, and Const. Known_y’s is
the array with the known values. Known_x’s is the array with the known periods
(must be a numeric range and not dates, months or years). New_x’s is the array with
future periods if the Trend function is used for forecasting. Const is a logical value
specifying whether to force the constant b to equal 0.
Procedures
2. Select the range where you want the result of the function.
6. Click on Trend.
Select statistical
Select Trend
Click OK
10. In the Known_x’s box, select the cells containing the known periods.
Procedures
Period 11 and 12
2. Select the range where you want the result of the function.
6. Click on Trend.
10. In the Known_x’s box, select the cells containing the known periods.
11. In the New_x’s box, select the cells containing the unknown periods.
The Trend function will return exactly the same result as the forecast
function.
Discussion
To make it easy to calculate trend or forecast using the equation Y = mX + c you need
the slope and y interceptor.
First the equation:
Y = mX + c
Where:
X is the X value (the period in time series data) for which you want to know the value
of Y
Where:
Where:
c is the Y intercept of the line (or Y value when there is no X value or X =0)
The Slope function consists of two required arguments, in the following order:
Known_y’s, and Known_x’s. Known_y’s is the array with the known values.
Known_x’s is the array with the known periods (must be a numeric range and not
dates, months or years).
Procedures
5. Click on Slope.
The Intercept function consists of two required arguments, in the following order:
Known_y’s, and Known_x’s. Known_y’s is the array with the known values.
Known_x’s is the array with the known periods (must be a numeric range and not
dates, months or years).
Procedures
5. Click on Intercept.
Procedures
2. Type =( click in the cell with the slope. Press F4 to lock the
cell reference.
3. Type * click in the cell with the period number (x). Type )
5. Press enter.
The Forecast function, the Trend function and the trend/forecast equation will return
exactly the same result and it does not really matter which method used.
EXPONENTIAL REGRESSION
Discussion
Sometimes the growth in a model is not linear, but it is exponential. If the growth is
exponential Excel has forecasting tools to replace the Forecast and Trend function.
In the example below the sales has an exponential growth rate. The Forecast function
forecast period 11 to 2005333.333. This is not a realistic forecast, because the known
sale for period 10 is already £ 2,200,000.00.
In this section you will see how you can forecast an exponential growth.
THE GROWTH FUNCTION
Discussion
The Growth function can calculate exponential growth and exponential growth
forecast. The Growth function is an array function and the steps to use it are different
from “normal” functions in Excel. The whole range where you want the result to be
displayed must be selected and after the needed arguments have been entered the
keys Ctrl Shift Enter must be pressed instead of pressing Enter. Then the function will
return the result for the whole range in the selected range.
The Growth function consists of one required argument and three optional arguments,
in the following order: Known_y’s, Known_x’s, New_x’s, and Const. Known_y’s is
the array with the known values. Known_x’s is the array with the known periods
(must be a numeric range and not dates, months or years). New_x’s is the array with
future periods if the Growth function is used for forecasting. Const is a logical value
specifying whether to force the constant b to equal 0.
Procedures
1. To use a Growth function, first create a data range with data values you
know.
2. Select the array where you want the result of the function.
Click fx
Select statistical
Select Growth
Click OK
10. In the Known_x’s box, select the cells containing the known periods.
The array functions will add the result to the whole selected array and will look
different in the formula bar. Excel will display the formula enclosed in curly brackets {
}.
If the Growth function is used to forecast:
Procedures
1. To use a Growth function for forecasting, first create a data range with
periods you want to forecast.
Period 11 and 12
2. Select the array where you want the result of the function.
Click fx
6. Click on Growth.
10. In the Known_x’s box, select the cells containing the known periods.
11. In the New_x’s box, select the cells containing the unknown periods.
EXPONENTIAL SMOOTHING
Discussion
Exponential smoothing is another method to forecast actual time series data. The
method uses a percentage of the previous period’s actual data and a percentage of the
previous period’s forecast. The model can easily be adjusted to increase the accuracy
when more actual data is known. When the model is created you need to decide a
percentage (also called Alpha). May be you decide to set Alpha to 30%. Then the
exponential smoothing forecast will use 30% of the previous period actual data and
70% of the previous forecast to forecast the next period. Because exponential
smoothing is calculated from the previous period’s forecast you must guess the first
forecast or use the actual known value as forecast value. Exponential smoothing can
only predict one future period again because you need the previous period’s actual
known data.
Later you will see how you can use error measurement calculations and the Solver
tool to increase the accuracy when you are working with exponential smoothing.
The math:
F=forecast
t=period
D=demand or actual known data
Ft+1=alpha * Dt + (1-alpha) * Ft
Alpha = 30%
Procedures
1. Guess forecast for the first period or if you have data from
the previous period use them as forecast for the previous
period.
3. Type = select the cell with alpha * select the cell with
previous known actual data
4. Type + (1- select the cell with alpha )* select the cell with
last forecast
5. Press enter.
THE DATA ANALYSIS TOOL EXPONENTIAL
SMOOTHING
Instead of doing the calculations yourself you can use the Data analysis Exponential
Smoothing tool. You can find it by selecting the Data Analysis command from the
Analysis group at the far right end of the data ribbon. Select Exponential Smoothing
from the list and click OK.
If there is no Analysis group or Data Analysis command on the Ribbon, you must
install Data Analysis TOOLPAK (please go to Appendix A in this workbook to see
how to install Data Analysis TOOLPAK).
After you have entered all necessary information into the Exponential Smoothing
dialog box, you can get the result in the output range.
You can specify the following items in the Exponential Smoothing parameters dialog
box:
Parameter Description
Input Range The array where you have the data you want to examine
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the workbook
with the input data or New Workbook to get the output
in a new workbook
When you have finished entering the information click OK and you will get the
output.
Procedures
Click OK
The output
Let us have a look at the output. You got the exponential smoothing forecast not for
the first period as mentioned before you must have data from the previous period to
work with exponential smoothing. Then you got standard error calculated based on
the average from the previous 3 periods. That is why the standard error results starts
from period 5. The error calculations are very important to make sure that the forecast
is as accurate as possible and to make sure that you are using the right forecasting
model. Later in this work book you will see a lot of examples calculating forecast
errors. The chart option was selected so you also got a chart in the output showing the
factual known data and the exponential smoothing forecast.
NAÏVE FORECASTING
Discussion
The Naïve Forecast definition:
Estimating technique in which the last period's actuals are used as this period's
forecast, without adjusting them or attempting to establish causal factors. You are just
using the last period’s figures. The naïve forecast is normally not very accurate but can
be useful to understand and develop other forecasting models. Because the last period
is used it is only possible to forecast one future period.
Procedures
3. Press enter.
MOVING AVERAGE
Discussion
The Moving Average forecast is based on the average of known values from a number
of periods. Let us first have a look at the math. If I want to forecast April using three
months moving average the formula will look like this:
"January"+"February"+"March"
”April”= 3
More scientific way at looking at the equation
At+At-1+At-2
FT+1=
𝟑
Where F is the forecast T the period A the actual value divided with three because you
are using the previous three periods.
The equation will look like this if you wanted a two period moving average:
At+At-1
FT+1= 𝟐
The equation will look like this if you wanted a twelve period moving average:
At+At-1+At-2+At-3+At-4+At-5+At-6+At-7+At-8+At-9+At-10+At-11+At-12
FT+1=
𝟏𝟐
The two months Moving Average forecast is based on 2 months known values. It can
be the two previous month’s values or it can be based on two months the year before
whatever gives the most accurate forecast.
If you forecast one period using the average of the previous two periods will you only
be able to forecast one future period. If you use the average of two periods one period
back, you can forecast two future periods using this method.
In the example below (Moving Average (two periods) Previous two periods) the
forecast for March is the average of January and February. You can forecast November
but not December with this method. You need to know the November sales first. In the
example (Moving Average (two periods) one period back) the forecast for April is also
the average of January and February. Here you can forecast December because it is the
average of September and October.
The three months Moving Average forecast is based on three months known values.
You can use moving average forecast based on as many periods you need to get the
most accurate forecast.
Procedures
2. Type =average(
5. Press enter.
For example, during the calculation of a three-period Weighted Moving Average, the
most recent three periods are used. The results from the previous period might be
given the weight of three, the middle period might be assigned a weight of two, and
the 3rd most distant period might be assigned a weight of one.
Forecast April=((3*210)+(2*180)+(1*200))/(1+2+3)=(630+360+200)/6=1180/6=198.3
Procedures
3. Press enter.
In the example above the weight for January, February, and March are typed in D5,
D6, and D7, in D8 (the forecast for April) the formula.
The weight is often a percentage. May be 10% for period 1, 30% for period
2, and 60% for period 3. The formula will now look like this. Forecast
(period 4) = ((weight of period 3 * Value of period 3) + (weight of period 2
* Value of period 2) + (weight of period 1 * Value of period 1).
If there is no Analysis group or Data Analysis command on the Ribbon, you must
install Data Analysis TOOLPAK (please go to Appendix A in this workbook to see
how to install Data Analysis TOOLPAK).
The Data Analysis tool Moving Average is not a forecasting tool but a way to smooth
data to easier spot the trends.
When you calculated moving average earlier in this book you did it for forecasting by
using the equation:
"January"+"February"+"March"
”April”= 3
or
At+At-1+At-2
FT+1= 𝟑
The equation for the data analysis moving average tool is:
"January"+"February"+"March"
”March”=
3
or
At+At-1+At-2
SDT= 𝟑
After you have entered all necessary information into the Moving Average dialog box,
you can get the result in the output range.
You can specify the following items in the Moving Average dialog box:
Parameter Description
Input Range The array where you have the data you want to examine
Labels If labels are selected in the input range the box must be
ticked
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the workbook
with the input data or New Workbook to get the output
in a new workbook
When you have finished entering the information click OK and you will get the
output.
Procedures
1. To use the Moving Average tool, first click the Data tab.
Click OK
5. Click OK
The output
Let us have a look at the output. You got the Moving Average output not for the first 2
periods as mentioned before you must have data from the previous 2 periods to work
with 3 months moving average. Then you got standard error calculated based on the
average from 3 moving average periods. That is why the standard error results starts
from period 5. The error calculations are very important to see how accurate the
moving average tool is. Later in this work book you will see a lot of examples
calculating errors. The chart option was selected so you also got a chart in the output
showing the factual known data and the moving average result.
SEASONAL FORECASTING
Discussion
If you have seasonal actual data (each year you are selling more in December and
June) you can use seasonal forecast to forecast future data. A weight can be added to
the periods to increase the accuracy in the forecast. If you use the Forecast function to
calculate a linear forecast you can see periods over forecast and under forecast. In the
example below you have seasonal known actual data. The forecast for quarter 1 is
above actual data, the forecast for quarter 2 is above actual data, the forecast for
quarter 3 is below actual data, and the forecast for quarter 4 is above actual data.
Add an index value to each quarter to get a more accurate forecast. You have the data
in quarters (4 periods). The sum of the index values must be 4 (12 if you are working
with months etc.).
The index value multiplied by the forecast value should be very close to actual data
(the index for period 1 (quarter 1 2006) must be a value multiplied by 108.84 gives a
result close to 100 (the actual known value)). Later you will see how you can use error
measurement calculations and the SOLVER tool to increase the accuracy when you
are working with seasonal historical data. In the example above the seasonal index for
quarter 1 is set to 0.9, set to 0.7 for quarter 2, set to 1.5 for quarter 3, and set to 0.9 for
quarter 4.
To get the seasonal forecast you just have to multiply the seasonal index value by the
Forecast function’s forecast and if you compare the actual data with the seasonal
forecast you will see that the seasonal forecast is much more accurate than the Forecast
function’s forecast.
Procedures
5. Select the cell where you want the next index value for
quarter 1 and type = click on the cell with the quarter 1
seasonal index.
3. Use the Forecast function in F12 to calculate the forecast for the first quarter
2007.
4. Copy down the Forecast function to get the forecast for the rest of the
quarters.
5. Select the range G12:G35 and use the Trend function to calculate the trend
for known actual values (when entered the function arguments remember it
is an array function and you must press Ctrl Shift Enter).
6. Select the range G36:G39 and use the Trend function to forecast the 4
quarters in 2013. Remember to enter the range B36:B39 as the Trend
function argument New_x’s (when entered the function arguments
remember it is an array function and you must press Ctrl Shift Enter).
9. Select H12 and calculate the equation for trend and forecast using the slope
and Y-interceptor (the equation: Y = mX + c, m is the slope, c is the Y-
interceptor, and X is the period).
3. Select the range Q12:Q27 and use the Growth function to calculate the
growth for the known actual data for year 2007 to 2010 (when entered the
function arguments remember it is an array function and you must press
Ctrl Shift Enter).
4. Select the range Q28:Q31 and use the Growth function to forecast the 4
quarters in 2011. Remember to enter the range L28:L31 as the Growth
function argument New_x’s (when entered the function arguments
remember it is an array function and you must press Ctrl Shift Enter).
4. Enter 120,000 in G45 (you must guess the first period’s forecast).
7. Change the alpha value in G41 and observe the changes in the range
G45:G69.
8. Click the Data tab and click Data Analysis in the Analysis Group.
10. Enter the input range $E$44:$E$68. Damping factor of 0.7 to get an Alpha
value of 30%. Tick labels and output range should be $H$45. Tick Chart
output and standard errors.
11. Change Alpha in G41 to 30% and compare the two outputs.
4. Drag the fill-handle down to row 69 to copy down the cell content. This is
the Naïve forecast which is based on the previous period.
5. Select R48 and use the Average function to calculate the average of the
previous 3 periods known actual figures (=average(O45:o47) and copy
down the Average function to R69. You now have the 3 periods moving
average forecast.
6. Enter 10% in S41, enter 20% in S42, and 70% in S43. The sum of the weights
must be 100%. You assume that the previous period’s actual known value is
more important to the forecast than two and three periods back.
9. Examine the result. Change the weights in the range S41:S43, but remember
that the sum must be 100%. You now have a 3 periods weighted moving
average forecast.
3. Examine the values in the range E84:E107. Is there any seasonal patterns?
Yes there is. Quarter 4 has the highest sales figures and quarter 3 the
lowest.
4. Select G84 and enter the weight for the first period. You have to compare
the sale in E84 and the forecast in F84. If the forecast is higher than the
actual value the weight should be less than 1. The weight = Sales/Forecast
function or G84=E84/F84.
5. Enter the weights in G85, G86 and G87 (the sum of the weights must equals
4 the number of periods (12 if you are working with months)). Work with 2
decimals and round up or down to make sure that the sum equals number
of periods here 4.
6. Select G88 and type =G84 and copy down the cell to G111.
8. Copy down the calculation to H111 and you now have a seasonal forecast.
Then, once the method is being used on a regular basis, you need similar measures to
tell us whether the forecasts are maintaining their accuracy. If not you will need to get
things back on track by putting improvements in place such as more timely data,
better statistical methods and may be change forecasting method. To keep up getting
more accuracy forecasts you could work with more than one forecasting method so
you always can compare the accuracy.
To measure how accurate the forecast is you can use different methods. To be able to
compare different forecasting methods you will look at the mean errors but first you
will calculate the errors. Later you compare the different forecast methods to find out
which one is the most accurate for our data right now, because this can change over
time so it is important to use more than one method and keep up calculate the error.
CALCULATE ERROR/DEVIATION
Discussion
The error or the deviation is the difference between actual value and forecasted value.
You can calculate the error or deviation by simple subtract the forecast from the actual.
This will give a positive or negative result for each period or tell us if the forecast for
each period is over or under actual value.
Procedures
3. Press enter.
The calculation will tell us if our forecast is over or under actual value for each period.
You need to calculate the absolute error/deviation to get a useful result in an average
calculation. To calculate absolute values in Excel you can use the Abs function. The
Abs function has only one argument and it is number. If you type a number negative
or positive the function will always return is as an absolute (positive) number.
To calculate the Absolute Error you need to type =abs(the actual value – the forecast
value).
Procedures
2. Type =abs( select the cell with the actual value type –
(subtract) select the cell with the forecast value )
3. Press enter.
The result of the absolute error/deviation calculation will show the error as a positive
value not if the forecast is above or below factual data.
CALCULATE PERCENTAGE ERROR/DEVIATION
Discussion
It is always useful to get something like forecast accuracy shown as percentage and the
percentage error can also help us to decide which forecasting method to use for our
data.
Procedures
3. Press enter.
CALCULATE ABSOLUTE PERCENTAGE
ERROR/DEVIATION
Discussion
You need the Absolute Percentage Error later to be able to calculate Mean Absolute
Percentage Error, which are very useful to compare forecasting methods.
Procedures
3. Press enter.
CALCULATE SQUARE ERROR
Discussion
A popular way of looking at forecast accuracy is calculating square error. By squaring
the deviation the errors will be more obvious and easy to spot. By squaring the
deviation the result will always be absolute.
Procedures
3. Press enter.
The SUMSQ function can also be used to calculate Square Error.
Type =sumsq(select the actual data cell – the forecast cell and type ).
In the example above =sumsq(C5-D5).
Procedures
3. Press OK.
Nest the SUMXMY2 function and select the two arrays (the previous three known
values in Array_x and the previous three forecast values in Array_y.
Click OK and type “/3” after the SUMXMY2 function inside the SQRT function. Press
enter.
Procedures
Now you can calculate MAD (Mean Absolute Deviation) or MAE (Mean Absolute
Error) by using the average function.
3. Press enter.
Procedures
3. Press enter.
Procedures
3. Press enter.
Procedures
3. Press enter.
The average function
To calculate TSE you need to calculate MAD (Mean Absolute Deviation). Summarise
the error/deviation and divide it by MAD and you will have TSE.
Procedures
3. Press enter.
Exercises
Exercise 1 Error/deviation
5. Select H2 and calculate the absolute error (=abs(E2-F2)) and copy down the
calculation to H25.
6. Select I2 and calculate the percentage error (=G2/E2) and copy down the
calculation to I25. Add percentage style and 2 decimals.
7. Select J2 and calculate the absolute percentage error (=H2/E2) and copy
down the calculation to J25. Add percentage style and 2 decimals.
8. Select K2 and calculate the square error (=(E2-F2)^2) and copy down the
calculation to K25.
You can specify the following items in the Solver Parameters dialog box:
Parameter Description
Set Target cell The cell containing the formula you want Solver to use
To (equal to Excel 2007) Whether to set the target cell to its maximum value, its
minimum value, or a specified value
By Changing cells The variable cells that Solver can change in order to reach
the desired target cell value
These can be found and downloaded from the Internet although it is wise to consult
with your IT department first in case they have objections on grounds of security and
computer software safety. It is unlikely that in the working environment you will be
able to install these programs yourself anyway.
There are, however, selections of Add-Ins that come with Excel and that are perfectly
safe and suitable for use; one of these is Solver.
Procedure
6. Click Go….
Discussion
The Exponential Smoothing forecasting model needs an Alpha value. A percentage of
the previous known actual value and a percentage of the previous forecast. You can
guess the percentage but you can also ask the Solver to find the right percentage to get
the most accurate forecast.
In the example below the Exponential Smoothing model uses an Alpha of 80%. The
forecast is based on 80% of the previous actual known sales figure and 20% of the
previous period’s forecast. This percentage gives a MAD of 1146.08.
Solver parameters:
The Set Objective: $G$33 is the cell with MAD. To: Min is selected because you want
the lowest possible MAD to get the most accurate forecast. By Changing Variable
Cells: $F$2 is selected. It is Alpha the Solver must change to bring down MAD.
Subject to the Constraints: 2 constrains are entered Alpha must be less than or equal
to 1 (100%) or greater than or equal to 0 (0%).
The Solver found the best percentage to be 28% and this changed the MAD from
1146.08 to 885.58.
Now the model can be optimised every time you get new actual known data in this
example, when you get the October figures. Just use the Solver each time new data is
entered.
Procedure
Discussion
The Weighted Moving Average forecasting model needs a weight/percentage value
for previous periods. Instead analysing the data the Solver can find the right weights
to get the most accurate forecast.
In the example below the Weighted Moving Average model uses a weight for 1st
period of 10%, 20% for 2nd period, and 70% for the 3rd period. These percentages give a
MAD 1061.11.
Solver parameters:
The Set Objective: $G$35 is the cell with MAD. To: Min is selected because you want
the lowest possible MAD to get the most accurate forecast. By Changing Variable
Cells: the range $F$2:$F$4 is selected. It is weights the Solver must change to bring
down MAD. Subject to the Constraints: 1 constrain is entered the sum of the weights
must be equal to 1 (100%).
The Solver found the best percentage to be 71%, 14%, and 14% and this changed the
MAD from 1061.11 to 769.80.
Procedure
14. Set the Equal To: option to the one you require.
15. In the By Changing Cells: box, select, or type, the range of
cells the Solver must use to compare against the target cell
value.
17. In the Add Constraint dialog box, specify the first cell
constraint.
In the example below the Seasonal forecast model uses a weight for 1st period of 0.8,
0.4 for 2nd period, 2 for the 3rd period, and 0.8 for the 4th period. These percentages give
a MAD 34.
Solver parameters:
The Set Objective: $H$3 is the cell with MAD. To: Min is selected because you want
the lowest possible MAD to get the most accurate forecast. By Changing Variable
Cells: the range $F$7:$F$10 is selected. It is weights the Solver must change to bring
down MAD. Subject to the Constraints: 1 constrains are entered the sum of the
weights must be equal to 4 (the sum of the weights and number of periods).
The Solver found the best suitable weights for the Seasonal forecast model and the
forecast is much more accurate now with a MAD of 5 and please look at the chart. It is
very clear that the forecast is very accurate.
Procedure
4. The Solver will be used to bring down the MAD (Mean Absolute
Deviation). Set Objective: $G$35 To: select Min. to get the lowest possible
value.
5. By Changing Variable Cells: the cell with the Alpha ($F$2) value is the cell
the Solver can change to bring down the error.
6. Add two constraints the Alpha value must be greater than or equal to 0 and
less than or equal to 1 (between 0% and 100%).
4. The Solver will be used to bring down the MAD (Mean Absolute
Deviation). Set Objective: $G$71 To: select Min. to get the lowest possible
value.
5. By Changing Variable Cells: the cells with weights $F$38:$F$40 values are
the cells the Solver can change to bring down the error.
6. Add one constraint the Sum of weights ($G$38) must equals 100%.
4. The Solver will be used to bring down the MAD (Mean Absolute
Deviation). Set Objective: $J$106 To: select Min. to get the lowest possible
value.
5. By Changing Variable Cells: the cell with the seasonal weights or index
values ($G$77:$G$80) are the cells the Solver can change to bring down the
error.
6. Add one constraint the sum of the weights ($G$74) must equals 4.
Pie charts: Pie charts are superb for displaying data points as a
percentage of the whole, but as with all chart types if the
value for the data points getting to small (the gap
between the values) it is difficult to distinguish each data
point in the chart. If the data points each amount to less
than 5% of the pie, it becomes hard to distinguish the
slices. Pie charts can only display one data series, which
means you can include only one column or row of values
in your selection when you create a pie chart.
Scatter charts: Scatter charts are commonly used for displaying and
comparing numeric values, such as scientific, statistical,
and engineering data. You should use a Scatter chart if
you want to change the scale of the x-axis, or make it a
logarithmic scale. You can use this chart type to
effectively:
Below you can see the Excel chart dialog box where you can find the entire chart types
in Excel.
CREATE TRENDLINES
Discussion
Before you start creating charts and trendlines make sure that:
You have enough data to show a meaningful chart and enough data for Excel to be
able to calculate a reliable trend. Insufficient data might twist the results. For example,
seasonal fluctuations might be mistaken for long-term trends if the data is from only
one year. The chart must be a 2-D chart. Excel cannot create trendlines on 3-D charts.
You can forecast with trendlines you will see how later in this book.
So what are trendlines, really?
Trendlines are graphical representations of trends in data that you can use to analyse
problems of prediction. Such analysis is also called regression analysis. By using
regression analysis, you can extend a trendline in a chart beyond the actual data to
predict future values. For example, the preceding chart uses a simple logarithmic
trendline that is forecast ahead four quarters to clearly show a trend toward rising
revenue.
R² (R-squared)
So you might be wondering: How reliable are these trendlines, anyway? The answer
has to do with something called R-squared — or, more specifically, the R-squared
value of the trendline (this is where math comes in). Think of the R-squared value as a
magic number — in this case, a number between 0 and 1.
You don't have to understand all about R-squared values — just remember: A
trendline is most reliable when its R-squared value is at or near 1. When you fit a
trendline to your existing data, Excel automatically calculates its R-squared value
based on a formula. The more closely a trendline match your existing data, the more
accurate a forecast that uses this trendline is likely to be. If you want, you can display
this value on your chart.
It can be difficult to see a trend just looking at the chart. To add a trendline you need to
select the chart and select the contextual Chart Tool tab layout. Select Linear Trendline
from the trendline list.
Layout tab
Click to get the trendline
list
Right click the trendline and click Format Trendline. Click Display R-squared value
on chart to display R2.
The R-squared value, which tells you how closely your trendline follows your data,
appears on the chart. With a linear trendline in this example above, the value is 0.3692.
As you can see the trendline doesn't follow the data very closely because the sales goes
up and down. A linear trendline with an R-squared value of 0.3692 is not a very
reliable trendline for a forecast. The linear trendline in this example will may be not be
able to give us an accurate forecast but it is easy to see that the trend is going up so
you have increasing sales trend and that is of course nice.
You can change the trendline to another trendline type and compare the R-square
value. May be there is a trendline which is a better match to the data. In the next
chapter you will see a description of all the different trendlines and when to use the
different types.
Procedure
1. Create a chart.
Instead of right click the trendline to format the trendline you can click
More Trendline Options in the trendline type dialog list.
You can create a trendline by right click the data series and click Add
Trendline.
CHOOSING THE BEST TRENDLINE FOR YOUR DATA
Discussion
When you want to add a trendline to a chart in Excel, you can choose between six
different trend/regression types. You should use the type which fit best to your data.
Choosing the right trendline for your data is very important. Checking the R-squared
value can help you choose the best trendline for your data. It also helps to understand
the types of trendlines that are likely to fit different scenarios.
Type Description
Linear A linear trendline is a best-fit straight line that is used with simple
linear data sets. Your data is linear if the pattern in its data points
resembles a line. A linear trendline usually shows that something is
increasing or decreasing.
Power A power trendline is a curved line that is best used with data sets that
compare measurements that increase at a specific rate — for example,
the acceleration of a race car at one-second intervals. You cannot create
a power trendline if your data contains zero or negative values.
Exponential An exponential trendline is a curved line that is most useful when data
values rise or fall at increasingly higher rates. You cannot create an
exponential trendline if your data contains zero or negative values.
Moving A moving average trendline smooth out fluctuations in data to show a
average pattern or trend more clearly. A moving average trendline uses a
specific number of data points (set by the Period option), averages
them, and uses the average value as a point in the trendline.
If Period is set to 2, for example, then the average of the first two data
points is used as the first point in the moving average trendline. The
average of the second and third data points is used as the second point
in the trendline, and so on.
Discussion
Forecast charts are exceptional to show the result in a very user friendly easy
understandable manner. Line charts, scatter chart, columns charts, or a combination of
column charts and line charts should be the charts used for forecasts.
In the scatter chart below the blue line is data over 20 quarters. The vertical axis shows
the data and the horizontal axis shows the quarters. It is easy to see that it is seasonal
data.
By adding a 4 periods forecast trendline it is obvious that the values increase over time
but also that the data is not linear data (the R2=0.1065). It tells us that the trendline’s
prediction for period 21 to 24 is not reliable.
For seasonal data a seasonal forecast should be better to predict the future. In the chart
below the result of a seasonal forecast is added and you can see that it is much better
to “find” the ups and downs in the data.
By adding the absolute error for the two forecast methods the forecast accuracy can be
shown in the chart period by period, but it is not obvious which one is the most
accurate.
By adding the MAD (Mean Absolute Deviation) to the chart you can now see that the
seasonal forecast is the most accurate forecast, but it is not because it is much more
accurate than the trendline forecast.
In the example below the Solver has been used to optimise the seasonal forecast and it
is easy to see that now the seasonal forecast is much more accurate than the trendline
forecast. The Solver decreased MAD from 26.93 to 5.28.
Procedures
2. Select the data, click Insert tab and on the charts group
select the chart type you want to create.
Insert tab
Select chart type
5. Create a linear trendline and tick Display Equation on chart and Display
R-squared value on chart.
6. Click Line Color top left in the Format Trendline dialog box.
8. Examine the R2 value. Do you think this is the right trendline for this chart?
5. Create a linear trendline and tick Display Equation on chart and Display
R-squared value on chart.
6. Examine the R2 value. Do you think this is the right trendline for this chart?
The R-squared value is relatively high but the trendline does not reflect the
data series very well.
7. Write down the R-squared value. Right click the trendline and click Format
Trendline.
8. Try the other trendline types and compare the R-squared value.
In the exercise 3 area (starting from row 40) two different methods have been
used to forecast the sales the Forecast function and seasonal forecasting. Use
the chart to compare the two methods and to decide which one you should use
to get the most accurate forecast.
3. Add the Forecast function data to the chart (copy the range F40:F68 click on
the chart area and paste the data).
4. Do the same with the seasonal forecast data (copy the range O40:O68 click
on the chart area and paste the data).
5. Add the forecast function’s Absolute error (column H) and the seasonal
forecast’s Absolute error (column Q) to the second chart (the blank chart).
6. Right click the two error series and change chart type to column (If they are
not in columns already).
7. Add the forecast function’s MAD (range L40:L68) and the seasonal
forecast’s MAD (U40:U68) to the second chart.
8. Right click the two MAD series and change chart type to line.
9. Use the Solver to optimise the seasonal forecast. The right parameters are
already added to the Solver parameter dialog box.
10. Compare the two methods which one is the best and most accurate?
Create a column chart displaying all MAD results from all the forecasting method can
be a nice tool. Keep an eye on the chart when you are adding new data to you
forecasting model and you will very visualise which model is the most reliable.
You can also after trying the different methods decide which one to use in the future
and then use TSE (Tracking Signal Error) to make sure that the model is on track. The
TSE value must be between -4 to 4.
UNIT 6 – FORECASTING USING WHAT-IF
ANALYSIS
First of all you know that the sales for December will be very good. You also know
that your company will spend a lot of money getting a bigger market share. Your
company is also working on reducing the fixed and variable costs and you also have
plans changing the price policy for your products.
You want now to work with the forecast to see what will happen with all these
changes. You do not know if all the changes will happen so you want to create
different scenarios to be able to compare the different situations.
You can create a scenario summary report, which lists all the scenarios you have
created in a side-by-side format so that you can compare them. When you create a
scenario summary report, the Scenario Manager automatically inserts a Scenario
Summary sheet in the workbook and places the report on it. This sheet allows you to
easily view and print the scenario summary report. A scenario summary report
appears in an outline format.
Open up the scenarios tool by clicking the Data tab and click the What-if Analysis
button in the Data Tools group. Click Scenarios Manager and the Edit Scenario
dialog box will open. You first want to see how the forecast will change if the total
market will increase because of Christmas and if your company’s investment will
pay off by giving you more shares of the market.
In the Edit Scenario dialog box first enter a name for the scenario. In the Changing
cells: box you must select the changeable cells. Click OK.
Based on Christmas forecast from previous years your best guess for Total Market for
December will be 200.000 units. Your hope that the investment will increase the
Market share to 2%. Enter the values in the Scenario Values dialog box and click OK.
If you click Show you can see the result of your scenario in the worksheet. If the
increase of market shares and total market units will be as predicted the sales increase
from £ 10,680.00 to £ 40.000,00. To add more scenarios click add and just go through
the steps again.
Procedures
Creating scenarios
Showing a scenario
Deleting a scenario
Discussion
The Goal Seek tool can be very useful in a forecasting situation. Your forecast predicts
that you in December will reach sales of £ 9,000.00 but you really need the sales to be £
10,000.00.
The Goal Seek tool can now tell you what to do to get what you want. Open up the
Goal Seek tool by clicking the Data tab and click the What-if Analysis button in the
Data Tools group. Click Goal Seek and the Goal Seek dialog box will open. Click in
the Set Cell: box and select the cell with the value you want to change. Click in the To
Value: box and type the value you want the Set cell: cell to have. Click in By
Changing Cell: box and click the cell you want Excel to change to get the result you
want in the Set Cell: cell.
Procedures
Discussion
The Data Table tool is another What-if Analysis tool which is working very well with
forecasts. A lot of forecasters must have asked themselves what if this or this happens.
What will happen to my forecast? The Data Table tool can work with one or two
variables. The Data Table tool can return a lot of results very fast.
You have a forecast for December but you want to see what will happen to the forecast
if you change the price for the product and reduce the costs.
If you want to work with two variables you must have the variables in the same
column and row as the formula.
Select the formula, the variable rows and columns and click Data tab, click What-If
Analysis in the Data Tools group. Click Data Table and in the Data Table dialog box
Row input cell: box enter the cell reference for the cell the formula use to calculate the
variable in the row of the selection. In the Column input cell: box the Data Table tool
need the same for the column input.
Click OK.
Procedures
One-variable
11. The results are displayed in your one column data table.
Two-variable
7. In the Data Table dialog box, click in the Row input cell:
text box.
You have the data for each quarter from 2007 to 2011. You have the units you have
sold, the unit price, the variable costs, the fixed costs, the sales, the profit, the total
market units, and your company’s market shares. The Forecast function has been used
to calculate the forecast for Market shares and a seasonal forecast has been used to
forecast Total Market (units) for 2012.
What will happen with the forecast for quarter 4 2012 if you can increase your market
shares with 2%, decrease fixed and variable costs and if the total market units will
increase?
3. Open up the Scenarios tool’s parameters dialog (Data tab, Data Tools
group, What-If Analysis).
5. In Changing cells: type F32:I32 or click in the box and select the range
F32:I32.
7. Click OK button.
8. Change $F$32 (variable costs) to 1.6, change $G$32 (fixed costs) to 16000,
change $H$32 (total market units forecast) to 180000, and $I$32 (market
shares forecast) to 0.22.
9. Click OK button.
10. Click Add and call the scenario “Worst case forecast” do not change
Changing cells:.
11. In Comment: type “Decrease market shares and total market units”.
13. Change $H$32 (total market units forecast) to 140000, and $I$32 (market
shares forecast) to 0.18.
15. Select Best case forecast and click Show button. Examine the result.
16. Select Worst case forecast and click Show button. Examine the result.
Exercise 2 Forecasting using goal seek
You have the data for each quarter from 2007 to 2011. You have the units you have
sold, the unit price, the variable costs, the fixed costs, the sales, the profit, the total
market units, and your company’s market shares. The Forecast function has been used
to calculate the forecast for Market shares and a seasonal forecast has been used to
forecast Total Market (units) for 2012.
In the best case scenario from the previous exercise you reached a profit of £
376,040.00, but you will like to find out how you can get a profit of £ 400,000.00.
3. Open up the Goal Seek tool’s parameters dialog (Data tab, Data Tools
group, What-If Analysis).
4. In Set cell: type $K$37 or click in the box and select K37.
6. In By changing cell: type $I$37 or click in the box and select I37.
7. Click OK button and examine the result (you need market shares of 26.67%
to get £400,000.00 in profit).
8. Click Cancel button to reset the values and to close down the Goal Seek
dialog box.
9. Go through step 3 to 8 again but this time please find out how much you
need to increase the unit price to get £ 400,000.00 in profit.
10. Go through step 3 to 8 again but this time please find out how much you
need to decrease the variable costs to get £ 400,000.00 in profit. You will
find out that it is not possible to get a profit of £ 400,000.00 by only
reducing the variable costs.
You have the data for each quarter from 2007 to 2011. You have the units you have
sold, the unit price, the variable costs, the fixed costs, the sales, the profit, the total
market units, and your company’s market shares. The Forecast function has been used
to calculate the forecast for Market shares and a seasonal forecast has been used to
forecast Total Market (units) for 2012.
You want to find out what will happen to the forecast if you can bring down the
variable and fixed cost.
3. For the first variable fixed costs use column K. Select K43 and type 10000.
Type 12000 in K44, 14000 in K45, 16000 in K46, 18000 in K47, 20000 in K48,
and 22000 in K49.
4. For the second variable Variable costs use row 42. Select L42 and type 1.
Type 1.2 in M42, 1.4 in N42, 1.6 in O42, 1.8 in P42, 2 in Q42, and 2,2 in R42.
6. Open up the Data Table tool’s parameters dialog (Data tab, Data Tools
group, What-If Analysis).
7. In Row input cell: type F42 or click in the box and select the range F42. The
row variable is Variable Costs.
8. In Column input cell: type G42 or click in the box and select the range G42.
The column variable is Fixed Costs.
9. Click OK button.
10. Please do step 3 to 9 again. This time use the profit formula in K55 and Unit
Price (use the range 8 to 20 pounds increased by 2 each time) in column K
and Market Shares Forecast (use the range 16% to 30% increased by 2 each
time) in row 55 as the two variables.
11. Compare the two tables. To increase the profit is it best to increase the costs
or to try to get a bigger part of the market shares?
You may need to find out if your company’s increased advertising costs also increase
your company’s sales figures or if higher temperatures in summer increase sales of ice
cream. Or if you increase the price for your products will it affect the quantity you are
selling.
Between 1 and 0:
If the result is close to 1 then it is because there is a close positive relationship between
the two arrays (If the temperature rises the ice cream sales increase). Close to 0 then
there is not a close relationship between the two arrays (the sales do not increase
because of increased advertising costs).
If the result is close to -1 then there is a close negative relationship between the two
arrays (if the price goes up the sales goes down). Close to 0 but a negative value then
there is not a close relationship between the two arrays (the sales does not decrease if
the price goes up).
Array1 and array2 must have the same number of data points. If not the Correl
function returns the #N/A error value.
If either array1 or array2 is empty the Correl function returns the #DIV/0! Error.
Procedures
1. To use a Correl function, first create a data range with two columns of values.
Click fx
5. In the Insert function dialog box, locate Statistical category in the Or select a
category: box.
6. Click on Correl.
Select statistical
Select Correl
Click OK
9. Select the cells containing the value from the first column in the data range.
10. In the Array2 box, select the cells containing the value from the second column
in the data range.
Click OK
The difference between the two tools is with the Correl function you can find the
relationship between two arrays of data, with the Data Analysis Tool Correlation you
can find the relationship between any numbers of arrays.
As the Correl function the Data Analysis Tool Correlation will return a result between
-1 and 1.
Between 1 and 0:
If the result is close to 1 then it is because there is a close positive relationship between
the two arrays (If the temperature rise the ice cream sales increase). Close to 0 then
there is not a close relationship between the two arrays (the sales do not raise because
of increased advertising costs).
If the result is close to -1 then there is a close negative relationship between the two
arrays (if the price goes up the sales goes down). Close to 0 but a negative value then
there is not a close relationship between the two arrays (the sales does not decrease if
the price goes up).
If there is no Analysis group or Data Analysis command on the Ribbon, you must
install Data Analysis TOOLPAK (please go to Appendix A in this workbook to see
how to install Data Analysis TOOLPAK).
After you have entered all necessary information into the Correlation dialog box, you
can get the result in the output range.
You can specify the following items in the Correlation parameters dialog box:
Parameter Description
Input The array where you have the data you want to examine
Labels If labels are selected in the input range the box must be
ticked
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the workbook
with the input data or New Workbook to get the output
in a new workbook
When you have finished entering the information click OK and you will get the
output.
Procedures
Click OK
Select Correlation
6. Click OK
The output
Let us have a look at the output. You got a table with the column labels from the input
array, because you selected the column labels when you selected the Input Range. In
the output table you have the labels both as row and columns labels.
You can see that the relationship between Aircon sales and Average temperature is
close, because the result is close to 1. It means that if the average temperature rises you
are selling more air-condition units.
If you look at the relationship between Aircon sales and Advertising costs you got a
negative result close to 0. It means that it is not a good idea spending money on
advertising. The sales of air-condition units do not increase if you spend more money
on advertising. In this example the sales actually decrease a little bit if you increase the
advertising budget.
You got a result close to minus 1 for the relationship between Aircon sales and Price
per unit. It means that you have a close negative relationship between the two
columns. If the price goes up the sales go down. If the price goes down the sales go up.
In the example below it is easy to spot the trend in the chart. There is a close
relationship between average temperature and aircon sales. Of course you can also see
that the Correl function returns 93% wich also emphasise that there is a close
relationship between the two arrays.
To make it even easier to spot the trend you can add a linear Trendline to the chart
and if you add the R2 (R square error) to the Trendline you can see how accurate your
Trendline is. A value close to 1 shows that the Trendline is very accurate. Close to 0
there is not really any trend.
In the example below there is a close negative relationship between the Price per unit
and Aircon sales. Again it is easy to see in a scatter chart.
In the example below there is no close relationship between Advertising costs and
Sales. The Correl function returns 21% and the R2 value is 0.0421 which tells you that
there is not really a trend in the data.
In the example below the Data Analysis tool Correlation has returned the correlation
for three arrays and again a chart is very useful to examine the outcome.
Procedures
Select R2 value
8. Click Close.
EXERCISE
Using Correl function and the data analysis tool Correlation
3. Use the Correl function in D60 to get the correlation coefficient for the two arrays
C47:C58 and D47:D58 (Average temperature and Ice sales).
4. The result should be 0.9566537. What does this tell us about the relationship between
the two arrays?
5. Create a scatter chart showing the Correlation Coefficient between the average
temperature and the ice sales.
6. Click the Data tab. Click Data analysis in the Analysis group. Open the Correlation
tool.
7. Use the Data Analysis Tool Correlation to find the Correlation Coefficient between
the average temperature, the ice sales, and advertising costs (the input should be
O46:Q58).
9. What does this tell us about the relationships between the two arrays?
10. Create a scatter chart showing the Correlation Coefficient between the average
temperatures, the ice sales, and advertising costs.
In this workbook you will see the math behind break-even and the break-even
will be manually calculated. The Goal Seek tool in Excel can do these
calculations and is a very valuable tool for break-even analysis.
CALCULATE BREAK-EVEN
Example:
100 Units
Variable Costs = £4
With above values the formula will be true a profit of 0. You need to sell 100
units for a price of £10 if the variable costs are £4 and fixed costs are £600
If you want to find out how many units you need to sell to break-even you
must change the formula using the math rules for equations.
This equation can now be used to calculate the Fixed Costs to break-even.
This equation can calculate how many units you need to break-even.
First add Fixed Costs and both sides of the equal sign:
100 Units
Variable Costs = £4
1. Type =600/(10-4).
2. Press enter.
Procedures (calculate sales price to break-even)
Sales Price = Fixed Costs/Units + Variable Costs
100 Units
Variable Costs = £4
1. Type =600/100+4
2. Press enter.
100 Units
Variable Costs = £4
1. Type =100*(10-4)
2. Press enter.
In the example below in column A there are units going from 0 to 4000 with an
increment of 400. In column B the sales (units times unit price), in column C
variable cost (units times unit variable cost), in column D the fixed cost, in
column E total costs (variable cost + fixed cost), and in column F the net income
(sales – total costs).
If you look at the table it is not easy to see the break-even. It is somewhere
between 1200 and 1600 units.
To visualise break-even in a scatter chart select the units (A5:A16), the sales
(B5:B16), and total costs (E5:E16), and create the straight line scatter chart.
The break-even point is where the sales line cross the total costs line.
To make it easier to see the break-even in the scatter chart you can calculate the
break-even using the break-even equation you have seen earlier in this chapter;
In this example the calculation is; =f3/(d3-e3) and the result is 1250. You will
also need to calculate the Y value to plot it on the chart. The Y value is break-
even units multiplied by unit price. In this example; =B19*D3 (the break-even
equation is calculated in B19). The result is calculated in C19 and is 50000. To
make the exact break-even point very clear in the chart you can add the exact
value to the legend label in the chart. In cell D19; ="BEU "&B19 has been
entered. This will return “BEU 1250” on the legend label.
To add the break-even point and the legend label you need to select the chart
and click the contextual Design tab. Click Select Data in the Data group. Click
Add in Series Name click D19 in Series X values click B19 and in Series Y
values click C19.
The break-even point is still not visible on the chart. Well the label is visible in
the legend. To make it visible you must change the data series’ formatting.
Select the data series and right click. Choose Format Data Series click Marker
Options select Build-in and select a type and a size. Click Close.
If you have created the table as the one in this example you can change the
variables in row three and everything will be updated immediately.
Procedures
3. Click the scatter chart option you want to use and create
the chart.
Select insert tab
6. Select the chart and click the contextual Design tab and
click Select Data in the Data group.
8. In the Series X values box enter the cell reference for the
cell with the break-even equation/calculation.
9. In the Series Y values box enter the cell reference for the
cell with Y value calculation.
Discussion
The What-if analysis tools in Excel are very useful also when you are working
with Break-Even analysis. How can I change the break-even point? Which
parameters will affect my break-even analysis most if I change them? The
What-If analysis can answer a lot of question.
Discussion
The Solver tool can also help you with Break-Even analysis. If you have
constraints or specific goals, the Solver can save you time finding the right
answers for you.
EXERCISE
Calculating break-even
3. Select C68 and calculate break-even. How many units must be sold to get 0
in profit (use the equation “Units=FixedCosts/(SalesPrice-VariableCosts)”).
4. Select F68 and calculate the selling price to break-even selling 10000 units
(use the equation “SalesPrice = FixedCosts/Units + VariableCosts”).
5. Select H68 and calculate the Fixed Costs to break-even selling 10000 units
(use the equation “FixedCosts= Units*(SalesPrice - VariableCosts)”).
6. Select K68 and calculate the Variable Costs to break-even selling 10000 units
(use the equation “VariableCosts=SalesPrice-FixedCosts/Units”).
8. Use the Goal Seek tool to Break-even Units, Sales Price, Fixed Costs, and
Variable Cost in the same 4 tables.
DESCRIPTIVE STATISTICS
Discussion
The Descriptive Statistics tool can return statistical information from data in
Excel.
You can find it by selecting the Data Analysis command from the Analysis
group at the far right end of the data ribbon. Select Descriptive Statistics from
the list and click OK.
After you have entered all necessary information into the Descriptive Statistics
dialog box, you can get the result in the output range.
You can specify the following items in the Descriptive Statistics parameters
dialog box:
Parameter Description
Input Range The range where you have the data you want to
examine
Labels If labels are selected in the input range the box must be
ticked
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the
workbook with the input data or New Workbook to get
the output in a new workbook
Summary statistics Tick the box if you want the output statistics
summarised
Confidence Level for Tick the box if you want the confidence calculated for
Mean the average
Kth Largest Tick the box if you want not only the largest value in
the data range shown in the output. By typing 3 in the
box the third largest value will be shown in the output
Kth Smallest Tick the box if you want not only the smallest value in
the data range shown in the output. By typing 3 in the
box the third smallest value will be shown in the output
When you have finished entering the information click OK and you will get the
output.
The output:
Procedures
1. To use a Forecast function, first create a data range with data values
you know
HISTOGRAM
Discussion
The Histogram tool can return statistical information from data in Excel and
group the output data. You must first create a bin to tell the Histogram tool
how you want the output data grouped.
In the example above the bind starts with 2000 and goes to 18000 with an
increment of 2000.
You can find the Histogram tool by selecting the Data Analysis command from
the Analysis group at the far right end of the data ribbon. Select Histogram
from the list and click OK.
After you have entered all necessary information into the Histogram dialog
box, you can get the result in the output range.
You can specify the following items in the Histogram parameters dialog box:
Parameter Description
Input Range The range where you have the data you want to
examine
Bin Range Select the range where the bin range has been defined
Labels If labels are selected in the input range the box must be
ticked
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the
workbook with the input data or New Workbook to get
the output in a new workbook
Pareto (sorted Tick the box if you want the output statistics sorted
histogram)
Chart output Tick the box if you want to create a chart to visualise the
output
The output.
REGRESSION
Discussion
The Regression tool can return statistical information from data in Excel. The
tool can make a linear regression forecast returning the slope and Y-
interceptor. It can also return the error or deviation and much more statistical
informations.
You can find the Regression tool by selecting the Data Analysis command
from the Analysis group at the far right end of the data ribbon. Select
Regression from the list and click OK.
After you have entered all necessary information into the Regression dialog
box, you can get the result in the output range.
You can specify the following items in the Regression parameters dialog box:
Parameter Description
Input Y Range The range where you have the Y data you want to
examine (values)
Input X Range The range where you have the X data you want to
examine (periods)
Labels If labels are selected in the input range the box must be
ticked
Constant is Zero Tick the box if you want to work with a constant of
zero.
Confidence Level Enter a percentage from 0 to 100 per cent if you want to
work with confidence level
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the
workbook with the input data or New Workbook to get
the output in a new workbook
Residuals Tick the box if you want the residuals (errors, deviation)
as a part of the output
Standardized Residuals Tick the box if you want the standardized residuals
(standard errors, standard deviation) as a part of the
output
Residuals Plots Tick the box if you want the residuals (errors, deviation)
visualised in a chart as a part of the output
Line Fit Plots Tick the box if you want a chart showing the trends as a
part of the output
Normal Probability Tick the box if you want a chart showing the probability
as a part of the output
The output:
SAMPLING
Discussion
The Sampling analysis tool creates a sample from a population by treating the
input range as a population. When the population is too large to process or
visualise in a chart, you can use a representative sample. You can also create a
sample that contains only values from a particular part of a cycle if you believe
that the input data is periodic.
You can find the Sampling tool by selecting the Data Analysis command from
the Analysis group at the far right end of the data ribbon. Select Sampling
from the list and click OK.
After you have entered all necessary information into the Sampling dialog box,
you can get the result in the output range.
You can specify the following items in the Sampling parameters dialog box:
Parameter Description
Input Range The array where you have the data you want to
examine
Labels If labels are selected in the input range the box must be
ticked
Sampling Method If there is a periodic trend in the data select this option.
Enter a period number.
Period
Sampling Method If you want the tool to select randomly select this
option. Enter a number of samples you need.
Random
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the
workbook with the input data or New Workbook to get
the output in a new workbook
The output:
You can find the Rank and Percentile tool by selecting the Data Analysis
command from the Analysis group at the far right end of the data ribbon.
Select Rank and Percentile from the list and click OK.
If there is no Analysis group or Data Analysis command on the Ribbon, you
must install Data Analysis TOOLPAK (please go to Appendix A in this
workbook to see how to install Data Analysis TOOLPAK).
After you have entered all necessary information into the Rank and Percentile
dialog box, you can get the result in the output range.
You can specify the following items in the Rank and Percentile parameters
dialog box:
Parameter Description
Input Range The array where you have the data you want to
examine
Labels If labels are selected in the input range the box must be
ticked
Output Range Enter a cell reference for the output or New Worksheet
Ply to get the output in a new worksheet in the
workbook with the input data or New Workbook to get
the output in a new workbook
The output:
APPENDIX A – ADDING DATA ANALYSIS
TOOLPAK TO EXCEL
These can be found and downloaded from the Internet although it is wise to
consult with your IT department first in case they have objections on grounds
of security and computer software safety. It is unlikely that in the working
environment you will be able to install these programs yourself anyway.
There are, however, selections of Add-Ins that come with Excel and that are
perfectly safe and suitable for use; one of these is ANALYSIS TOOLPAK. This
Add-in will add 19 analysis tools to Excel. After installation you will be able to
find the ANALYSIS TOOLPAK tools in the data ribbon.
Procedure
Click Add-Ins
Click Go
3. Click Add-Ins at the left.
4. Select Excel Add-ins from the Manage: list at the bottom of the
dialog box.
5. Click Go….
7. Click OK.
APPENDIX B – TEXT FUNCTIONS
Discussion
Text functions are very useful if you need to clean up text strings, concatenate
text, or split a text string to many cells. Specially if you import data from a
database for analysing in Excel it is a advantage to know the text functions in
Excel.
The Left function consists of one required argument and one optional, in the
following order: Text, Num_chars. Text is the box in which the cell reference
for the cell with the text string must be entered. In the Num_chars box enter
the number of characters you want to extract from left.
The Mid function consists of three required arguments, in the following order:
Text, Start_num, and Num_chars. Text is the box in which the cell reference
for the cell with the text string must be entered. In the Start_num box enter the
start number of the first character you want to extract from the middle of the
text string. Num_chars is the number of characters you want to extract.
The Right function consists of one required argument and one optional, in the
following order: Text, Num_chars. Text is the box in which the cell reference
for the cell with the text string must be entered. In the Num_chars box enter
the number of characters you want to extract from right.
Procedures
1. To use a Left function, select a cell where you want the function to
extract character from the left of a text string.
Click fx
4. In the Insert function dialog box, locate Text category in the Or select a
category: box.
5. Click on Left.
Select text
Select Left
Click OK
8. Click the cell containing the text string from which you want to extract
the characters.
1. To use a Mid function, select a cell where you want the function to
extract characters from the middle of a text string.
Click fx
4. In the Insert function dialog box, locate Text category in the Or select a
category: box.
Select text
Select Mid
Click OK
8. Click the cell containing the text string from which you want to extract
the characters.
9. In the Start_num box, type the number of the first character you want
to extract from the middle of you text string.
10. In the Num_chars box, type the number of characters you want to
extract.
11. To use a Right function, select a cell where you want the function to
extract characters from the right of a text string.
13. In the Function Library group, click on the Insert Function button.
Click fx
14. In the Insert function dialog box, locate Text category in the Or select a
category: box.
Select text
Select Right
Click OK
17. In the Function Arguments dialog box, click in the Text box.
18. Click the cell containing the text string from which you want to extract
the characters.
19. In the Num_chars box, type the number of characters you want to
extract.
=concatenate(A1," ",B1)
Procedures
Click fx
4. In the Insert function dialog box, locate Text category in the Or select a
category: box.
5. Click on Concatenate.
Select Concatenate
Click OK
8. Click the cell containing the first text string you want to join.
9. In the Text2 box type “ “ to get a space between the first and second
text string.
10. In the Text2 box click the cell containing the second text string you
want to join.
The Len function consists of one required argument: Text1. In Text1 enter the
cell reference for the cell with the text string and the function will return how
many characters there is in text string.
Procedures
1. To use a Len function, select a cell where you want the function to
display the result.
Click fx
4. In the Insert function dialog box, locate Text category in the Or select a
category: box.
5. Click on Len.
Select text
Select Len
Click OK
The Find function consists of two required arguments and one optional
argument, in following order: Find_text, Within_text, Start_num. In Find_text
you must enter the text string or character you want the function to find (the
argument is case sensitive). In Within_text enter the cell reference for the cell
with the text string where you want to find the character or text string. In
Start_num you can enter a character number you want the function to start the
search from. If you in a text string want to find the character “A” and there is
two characters “A” then the function will return the position number for the
first “A”.
Procedures
1. To use a Find function, select a cell where you want the function to
display the result.
4. In the Insert function dialog box, locate Text category in the Or select a
category: box.
5. Click on Find.
Select text
Select Find
Click OK
8. Type the character or text string you want the function to find.
9. Enter the cell reference for the cell you want to examine in the
Within_text box.
10. In the Start_num box enter a number you want the function to start the
search from.
Example 1
Select the cell where you want the characters extracted. Start with the Left
function. In the Text box enter the cell with the text string.
Click in the Num_char box and nest the Find function. The Find function must
find the letter “A” the second last character in the employment number. In the
Find_text box enter the character you want to find. In the Within_text box
enter the cell reference for the text string. In the Start_num box enter the start
number for the search. You don’t want to find “A” if it is the first character in
the text string as it is in this example that is why 2 is entered in the box.
This will find the character number for “A” in the text string but the digit after
“A” is also a part of the employment number. What you need to do is to click
after the Find function and type “+1”. Click OK button and you have extracted
the employment number.
To extract the department number you need the Mid function. In the Text box
enter the cell reference for the cell with the text string. In Start_num you need
to nest the Find function. Again the Find function must find the character “A”.
This time you need to type “+2” after the Find function because the
department number starts 2 characters from “A”. In Number_char box type 2
and click OK.
To extract the region you do not need any nested function just use the Right
function.
Example 2
You have imported a number of text strings “A4337A221northwest”,
“C2A545east”,”A445A785southwesth”, and ”C5A654north”. You know that
the first part of the text string is the employment number but you do not know
how many characters. You know that the second part of the text string is
department number and the department number is 2 characters. The last part
of the text string is the region but you do not know how many characters.
Select the cell where you want the characters extracted. Start with the Left
function. In the Text box enter the cell with the text string.
Click in the Num_char box and nest the Find function. The Find function must
find the letter “A” the second last character in the employment number. In the
Find_text box enter the character you want to find. In the Within_text box
enter the cell reference for the text string. In the Start_num box enter the start
number for the search. You don’t want to find “A” if it is the first character in
the text string as it is in this example that is why 2 is entered in the box.
This will find the character number for “A” in the text string but the digit after
“A” is also a part of the employment number. What you need to do is to click
after the Find function and type “+1”. Click OK button and you have extracted
the employment number.
To extract the department number you need the Mid function. In the Text box
enter the cell reference for the cell with the text string. In Start_num you need
to nest the Find function. Again the Find function must find the character “A”.
This time you need to type “+2” after the Find function because the
department number starts 2 characters from “A”. In Number_char box type 2
and click OK.
To extract the region without knowing the number of characters you can not
use the Right function. you must use a combination of the Mid, Find and Len
functions. Start with the Mid function. You need to nest the Find function in
Start_num again to find the character “A”. This time you need to type “+4”
after the Find function to find the position of the first character in the region
information. Nest the Len function in Num_char this will reurn the number of
characters in the whole text string. Click OK and the Mid function will return
the region information.
INDEX
Forecast function · 10, 12, 13, 16, 23, 24, 28, 41, 42,
A 44, 45, 48, 94, 99, 108, 109, 110, 133
Forecasting tools
Absolute Error · 52, 59 Exponential smoothing · 10, 28
Analysis Toolpak · 142 Forecast function · 10, 12, 13, 16, 23, 24, 28, 41,
42, 44, 45, 48, 94, 99, 108, 109, 110, 133
Growth function · 10, 25, 27, 28, 45
B Intercept function · 22, 44
Moving average · 87
Naïve forecasting · 33, 47
Break-even · 121, 122, 129
Seasonal forecasting · 48, 73
Visualise break-even · 124, 125
Slope function · 21, 44
Trend function · 10, 12, 17, 19, 20, 23, 24, 44,
114
C
Column charts · 80 G
Concatenate function · 144, 150
Correl function · 111, 112, 113, 114, 117, 118, 120
goal seek · 109, 121, 128
Correlation · 111, 114, 115, 116, 117, 118, 120
Growth function · 10, 25, 27, 28, 45
Correlation Coefficient · 111, 117, 120
D H
Histogram · 130, 133, 134
Data Analysis Tool Exponential Smoothing · 10, 30
Data analysis tools
Descriptive statistics · 131
Exponential smooth · 10, 30
I
Histogram · 130, 133, 134
Regression · 136 Intercept function · 22, 44
Sampling · 130, 139
L
E
Left function · 145, 147, 155, 157
Excel Add-ins · 69, 142, 143 Len function · 144, 152, 158
Exponential smoothing · 10, 28 Line charts · 80, 81, 87
linear trendline · 84, 85, 92, 93
logarithmic trendline · 83, 85
F
Find function · 144, 153, 155, 156, 157, 158
M
Forecast accuracy
Absolute error/deviation · 52, 59 MAD · 49, 59, 62, 65, 69, 70, 71, 72, 73, 74, 76, 77,
Error/deviation · 64 78, 88, 89, 94
MAD (Mean Absolute Deviation) · 49, 59, 62, 65, MAPE · 49, 61, 65
69, 70, 71, 72, 73, 74, 76, 77, 78, 88, 89, 94 Mid function · 144, 145, 146, 147, 153, 156, 158
MAPE (Mean Absolute Percentage Error) · 49, Moving average · 87
61, 65 MPE · 49, 60, 65
MPE (Mean Percentage Error) · 49, 60, 65 MSQ · 49, 60, 65
MSQ (Mean Square error) · 49, 60, 65
Percentage error/deviation · 49, 53, 54
R-Square · 87, 92, 93, 117, 118 N
Standard error · 56
TSE (Tracking Signal Error) · 49, 62, 65 Naïve forecasting · 33, 47
Text functions
P Concatenate function · 144, 150
Find function · 144, 153, 155, 156, 157, 158
Pie charts · 80 Left function · 145, 147, 155, 157
polynomial trendline · 86 Len function · 144, 152, 158
Mid function · 144, 145, 146, 147, 153, 156, 158
Right function · 145, 146, 148, 156, 158
R Tracking Signal · 49, 62
Trend function · 10, 12, 17, 19, 20, 23, 24, 44, 114
Regression · 12 Trendline · 12, 83, 84, 92, 93, 117, 119
Right function · 145, 146, 148, 156, 158 TSE · 49, 62, 65
S V
Sampling · 130, 139 Visualise forecasts
Scenarios · 98, 99, 100, 103, 108, 128 Column charts · 80
Creating a scenario summary report · 103 Line charts · 80, 81, 87
Creating scenarios · 101 Linear trendline · 84, 85, 92, 93
Deleting a scenario · 102 Logarithmic trendline · 83, 85
Edit values in a scenario · 103 Pie charts · 80
Showing a scenario · 102 Polynomial trendline · 86
Seasonal forecasting · 48, 73 Trend lines · 12, 83, 84, 92, 93, 117, 119
Slope function · 21, 44
Solver · 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77,
78, 89, 94, 121, 128 W
SQRT function · 56, 57, 58
Standard error · 56 What-if analysis
Sumxmy2 function · 56 Goal seek tool · 98, 104, 109, 122, 129
Scenarios tool · 98, 99, 100, 103, 108, 128
Table tool · 98, 105, 110
T
Table tool · 98, 105, 110