Beruflich Dokumente
Kultur Dokumente
This Year
7.0
5.5
4.5
6.0
2.2
5.0
8.5
7.0
6.1
6.7
4.6
5.1
7.2
6.1
5.1
5.7
7.1
5.6
6.2
6.6
7.7
8.2
8.4
8.8
January
February
March
April
May
June
July
August
September
October
November
December
8.0
7.0
6.0
5.0
4.0
3.0
2.0
9.0
Sales ('000s)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
A
B
C
D
E
F
Example 6.1 - The Little Manufacturing Company
Last Year
L
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
A
B
C
D
E
F
G
H
I
J
K
Example 6.2 - Finding the Mean, Variance, and Standard Deviation of Sales Data
Sales ('000s), Si
Probability, Pi
5
0.1
10
0.3
15
0.3
100
25
25
0.1
30
0.05
25
100
225
15
0
Variance =
Standard deviation =
Cell
F6
D8
F10
F11
20
0.15
Formula
SUMPRODUCT(D3:I3, D4:I4)
(D3 - $F6)^2
SUMPRODUCT(D4:I4, D8:I8)
SQRT(F10)
42.5
6.52
Copied to
E8:I8
Figure 5.2
Figure 5.3
A
B
C
D
E
F
G
Case Study 6.1 - Using a Scattergraph to Check Out Kleenup's Sales Data
No. of
Last quarter's
Sales
stores
sales
Area
visited
('000s)
1
39
15
2
44
9
3
50
10
4
64
12
5
65
3
6
55
13
7
66
15
8
12
2
9
92
20
10
81
17
Correlation Coefficient for Columns D & E is
Population
of sales area
('000s)
110
65
90
100
160
130
105
20
240
95
0.68
Sales ('000s)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Scattergraph
20
Positive
Outlier (Area 1)
15
10
Negative
Outlier (Area 5)
0
0
10
20
30
40
50
60
70
80
90
100
Figure 5.3
A
45
46
47
B
C
D
E
F
G
Note that the correlation has moved much closer to 1.0, i.e. perfect correlation.
Figure 5.3
I
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Figure 5.3
I
45
46
47
C
D
E
10
81
17
Correlation Coefficient for Columns D & E is
F
95
0.99
Sales ('000s)
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
20
y = 0.2221x - 0.6296
15
Regression line
equation
10
R2 = 0.9722
R2 is called the Coefficient
of Determination
0
0
10
20
30
40
50
60
70
80
90
100
R = The Correlation Coefficient = Sqrt( 0.9722) = 0.986 which is a very good line-fit
The following steps add a trendline to the data series in cell range D6:E15 above:[1] Place the mouse-pointer on one of the points in the scatter graph and click
Figure 5.4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
A
B
C
D
E
F
G
H
I
Case Study 6.2 - Forecasting Bedrock Sales with the 'Moving Averages' Function
1
2
3
4
5
6
7
8
9
10
11
12
Month
January
February
March
April
May
June
July
August
September
October
November
December
Sales
246
110
430
584
318
782
834
472
562
624
1
2
3
4
5
6
7
Moving Average
900
800
700
696
645
600
623
561
500
624
593
553
444
400
375
300
262
200
100
0
1
3 Actual
4
6
7
Forecast
10
11
12
Note: Excel's Moving Average tool generates the values in cell range D4:D15 above.
Notice that the first two cells contain the symbol #N/A. This is because an interval
size of 3 will only apply in month 3. An interval size of n will always produce #N/A
symbols in the first n-1 cells at the beginning of the output range.
39
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
K
39
O
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
O
39
A
B
C
D
E
F
G
H
Case Study 6.2 - Fitting a Trendline through Bedrock's Seasonal Variations
Quarterly periods
200W - Q1
1
Q2
2
Q3
3
Q4
4
200X - Q1
5
Q2
6
Q3
7
Q4
8
200Y - Q1
9
Q2
10
Q3
11
Q4
12
200Z - Q1
13
Q2
14
Q3
15
Sales
490
370
330
610
571
482
557
861
895
753
1190
1255
786
1684
1868
Sales
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
1400
1200
1000
800
600
400
200
0
1
10
11
12
13
14
Note: Follow the instructions at the bottom of Figure 5.4 to fit a trendline
15
I
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
A
B
C
D
E
F
G
H
I
Case Study 6.2 - An 'Exponential Smoothing' Model for Bedrock's Sales Data
Time Actual
Period Sales
1
233
2
290
3
230
4
310
5
480
6
400
7
415
8
460
9
380
10
246
11
110
12
430
13
584
14
318
15
782
16
834
17
472
18
562
alpha values
= 0.1
= 0.9
#N/A
#N/A
233.00
233.00
238.70
284.30
237.83
235.43
245.05
302.54
268.54
462.25
281.69
406.23
295.02
414.12
311.52
455.41
318.37
387.54
311.13
260.15
291.02
125.02
304.91
399.50
332.82
565.55
331.34
342.76
376.41
738.08
422.17
824.41
427.15
507.24
N.B.
900
Actual Sales
800
700
= 0.9
600
Unit sales
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
500
400
300
200
100
0
1
6 Time
7 Period
8
9 (months)
10 11
12
13
14
15
16
17
18
46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.1 produces an insensitive
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 .
13 14 15 16 17 18
43
44
45
J
46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
A
B
C
D
E
F
G
H
Case Study 6.2 - Fred Flint Finds the Optimal Value for alpha ()!
Time Actual
Period Sales
1
233
2
290
3
230
4
310
5
480
6
400
7
415
8
460
9
380
10
246
11
110
12
430
13
584
14
318
15
782
16
834
17
472
18
562
(Ci - Di)2 =
alpha values
0.422
0.9
#N/A
#N/A
233.00 233.00
257.06 284.30
245.64 235.43
272.80 302.54
360.25 462.25
377.02 406.23
393.05 414.12
421.31 455.41
403.87 387.54
337.24 260.15
241.34 125.02
320.96 399.50
431.97 565.55
383.87 342.76
551.90 738.08
670.96 824.41
586.99 507.24
Solver parameters
Set Target Cell:
Equal to:
By Changing Cells:
Subject to Constraints:
Cell
D6
D7
E7
D23
D25
J24
D25
Min
J23
J23 <= 1
J23 >= 0
Formula
$C5
J$23*C6 + (1- J$23)*D6
E$4*E6 + (1 - E$4)*E6
SUMXMY2(C6:C22,D6:D22)
D23/COUNT(D6:D22)
1 - J23
532898
alpha = =
Damping factor =
31346.9 = Objective: Minimize MSE values
Copied to
E6
D8:D22
E8:E22
0.422
0.578
900
Actual Sales
800
alpha values
0.422
700
0.9
600
500
400
300
200
100
0
1
10
Figure 5.8
11
12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
A
B
C
D
E
F
G
H
Example 6.3 Gizmo's Production Forecasts Using the GROWTH Function
Month
1
2
3
4
5
6
7
8
9
Sales
200
360
558
925
1430
2100
3577
5715
9131
Cell
C10
G10
Formula
GROWTH(C$4:C$9,B$4:B$9,B10)
134.59*EXP(0.4686*B10)
Copied to
C11:C12
G11:G12
3578
5716
9133
2500
2000
1500
1000
500
0
0
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
A
B
C
D
E
F
G
H
Example 6.4 A Model for the Holt-Winter's Exponential Smoothing Method
0.05
1.00
1.00
Year/
Period
Quarter
200W - Q1
-3
Q2
-2
Q3
-1
Q4
0
200X - Q1
1
Q2
2
Q3
3
Q4
4
200Y - Q1
5
Q2
6
Q3
7
Q4
8
200Z - Q1
9
Q2
10
Q3
11
Q4
12
Sales
Yt
490
370
330
610
571
482
557
861
895
753
1190
1255
786
1684
1868
1589
Seasonality
St
1.089
0.822
0.733
1.356
1.157
0.893
0.936
1.326
1.265
0.978
1.392
1.335
0.783
1.527
1.546
1.215
Trend
Level
Forecast
Tt
Lt
Ft+n
Values within this dashed
rectangle are initial estimates
------41.9
450.0
--43.6
493.6
535.7
46.2
539.8
441.7
55.2
595.0
429.7
54.4
649.5
881.4
58.1
707.5
814.2
62.1
769.6
683.6
85.0
854.7
778.6
85.4
940.0
1245.7
64.3
1004.4
1297.1
98.3
1102.7
1045.6
105.6
1208.3
1672.2
99.2
1307.5
1754.2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
77882.7
2000
1800
1600
1400
1200
1000
800
600
Actual Sales
Holt-Winters
400
200
0
1
Figure 5.10
10
11
12
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Figure 5.10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
A
B
C
D
E
F
G
Example 6.5 - A Salesforce Sizing Model for Bob's Builders Providers
Month
Minimum
staff
January
30
February
20
March
40
April
90
May
110
June
120
July
120
August
100
Actual
staff
50
45
71
124
112
121
120
108
Solver Parameters
Set Target Cell:
Equal to:
By Changing Cells:
Subject to Constraints:
Cell
D6
F14
F14
Min
F9:F12
D5:D12 >= C5:C12
F9:F12 = int(eger)
F9:F12 >= 0
Formula
ROUNDUP(0.9*D5,0) + F6
SUM(F9:F12)
Trainees
available
0
30
60
0
20
11
0
=x1
=x2
=x3
=x4
31
This is an NLP model so switch off the "Assume Linear Model" in the Options box
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
A
B
C
D
E
F
G
H
Example 6.6 - A Salesforce Allocation Model with NLP Constraints - Step 1
Area
A
B
C
Area sales
('000s)
6.52
10.99
15.80
Optimum
no. of days
=TA
25
=TB
37
=TC
50
112
Solver Parameters
Set Target Cell:
Equal to:
By Changing Cells:
Subject to Constraints:
Cell
D5
D6
D7
F8
F10
F10
Max
F5:F7
F5:F7 = int(eger)
F5:F7 >= 0
F8 <= 112
Formula
2*LN(F5 + 1)
3*LN(F6 + 2)
4*LN(F7 + 2)
SUM(F5:F7)
SUM(D5:D7)
33.31
Copied to
Note: This is a non-linear (NLP) model so switch off the "Assume Linear Model" parameter
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
A
B
C
D
E
F
G
H
Example 6.6 - A Salesforce Model with Cost Constraints - Step 2
Staff
grade
G1
G2
G3
Pay rate
per day
125.00
109.38
93.75
Area
Costs
2,406.25
3,421.88
5,156.25
10,984
11,025
Optimum
no. of days
TA =
23
TB =
29
TC =
47
99
32.23
Cell
F5
F6
F7
G5
G6
G8
H12
H12
Max
J5:J7
J5:J7 = int(eger)
J5:J7 >= 0
J8 <= 112
G8 <= G9
Formula
Copied to
2*LN(J5 + 1)
3*LN(J6 + 2)
4*LN(J7 + 2)
IF(J5<=16, J5*C6, 16*C6 + (J5-16)*C7)
IF(J6<=16, J6*C$5,IF(J6<=32, 16*C$5 + (formula continued on next line)
(J6-16)*C$6, 16*(C$5+C$6) + (J6-32)*C$7))
G7
SUM(G5:G7)
SUM(F5:F7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
A
B
C
D
E
F
G
Example 6.7 - A Media Selection Model - with GP Constraints - Step 1
Advertising budget ('000s) =
200
Television Magazines
(audience in '000s)
Total audience
20
7
High-income audience
2
3
Total amount
Amounts spent, x1, x2 =
120
80
200
Target
3000
80
500
Actual
2960
80
480
2960
Solver Parameters
Set Target Cell:
Equal to:
By Changing Cells:
Subject to Constraints:
Cell
F10
F12
E15
E16
D16
F15
E17
F12
Max
D10:E10
F10 = E3
E16 >= D16
E17 >= D17
D10:E10 >= 0
Formula
SUM(D10:E10)
SUMPRODUCT(D7:E7,D10:E10)
F12
E10
0.4*E3
IF(D15<=E15,"OK","Goal not achieved")
SUMPRODUCT(D8:E8,D10:E10)
Copied to
F16:F17
A
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
I
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
I
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
A
B
C
D
E
F
G
Example 6.7 - A Media Selection Model - with GP Constraints - Step 2
Advertising budget ('000s) =
200
Television Magazines
(audience in '000s)
Total audience
20
7
High-income audience
2
3
Total amount
Amounts spent, x1, x2 =
Goal achievements
Deviations, di
1 Total audience
2 Magazine budget
3 High-income audience
Proportional deviations
1 Total audience
2 Magazine budget
3 High-income audience
123.1
76.9
Under
d-i
Over
d+i
0.0
3.08
23.08
0.0
0.0
0.0
d-i/ti
d+i/ti
0.00%
3.85%
4.62%
0.00%
0.00%
0.00%
200
Target
3000
80
500
Cell
F10
H15
H16
H17
D21
H25
H25
Min
D10:E10, D15:E17
H15 >= G15
H16 >= G16
H17 >= G17
F10 = E3
D10:E10,D15:E17 >= 0
D15 = 0.0
Actual
3000
80
500
8.46%
Formula
Copied to
SUM(D10:E10)
SUMPRODUCT(D7:E7,D10:E10) + D15 - E15
E10 +D16 - E16
SUMPRODUCT(D8:E8,D10:E10) + D17 - E17
D15/$G15
D21:E23
SUM(D21:E23)
A
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
J
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
J
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
A
B
C
D
E
F
G
Example 6.8 - A Product Pricing Model for Bill's Barbecues
BBQ
model
180
110.00
67.91
Hotplate
model
220
140.00
65.22
177.91
205.22
67
54
Available
130
850
8,072
Solver Parameters
Set Target Cell:
Equal to:
By Changing Cells:
Subject to Constraints:
Cell
E7
E10
F10
H9
H10
F12
F12
Max
E8:F8
E7:F7 >= 0
E8:F8 <= E5:F5
H9:H10 <= I9:I10
Formula
E8 - E6
INT(325 - 1.45*E8)
INT(290 - 1.15*F8)
E10 + F10
6*E10 + 8*F10
E7*E10 +F7*F10
Remember to switch off the "Assume Linear Model" parameter in the Solver dialog box
K
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
A
B
C
D
E
F
G
H
I
Example 6.9 - Simulating Marketing Conditions for a New Product
Table 1: Product selling price
<-- Limits -->
Pi
Lower Upper Price
0
0.30
0.70
Table 3:
Lower
0
0.25
0.75
0.30
0.70
1.00
22.00
24.00
27.00
Product Sales
Upper Sales
0.25 40,000
0.75 45,000
1.00 50,000
Trial
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Price
24
24
24
22
22
24
22
24
22
22
24
27
24
24
24
24
27
24
27
22
0.30
0.40
0.30
1.00
Capital
Investment = 120,000
Cost Volume
Profit ('000s)
22 45,000
-30
18 50,000
180
18 50,000
180
22 45,000
-120
20 45,000
-30
18 45,000
150
18 40,000
40
20 50,000
80
20 50,000
-20
20 45,000
-30
20 50,000
80
18 50,000
330
22 45,000
-30
18 40,000
120
20 40,000
40
18 45,000
150
22 45,000
105
20 45,000
60
20 45,000
195
20 40,000
-40
Average profit ('000s) = 70.5
Figure 5.17
Pi
0.40
0.40
0.20
1.00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
L
M
Because of the
volatility of the
RAND function,
the values in
this model may
not be the same
as those shown
in the textbook.
Figure 5.17