Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

ÔN TẬP THI MIDTERM

Topic 1: Subtotal
Exercise: Calculate (Dollars) revenue and (Units) cost sold by Region. Who is the strongest
sales representative? What is the best-selling product?

Number Name Date Product Unit Dollar Location

10 Betsy 07/08/06 lip gloss 24 $ 73.50 east

11 Ashley 29/11/04 mascara 43 $ 130.84 east

15 Zaret 20/09/06 foundation -8 $ (21.99) east

16 Emilee 12/04/04 mascara 45 $ 137.39 east

45 Emilee 20/09/06 lip gloss 2 $ 7.85 east

46 Ashley 09/08/05 mascara 93 $ 280.69 east

58 Cristina 12/04/04 foundation 34 $ 104.09 east

60 Jen 27/10/04 mascara 89 $ 269.09 east

69 Cristina 23/01/05 eye liner 73 $ 221.41 east

77 Cristina 15/01/04 mascara 27 $ 83.29 east

81 Jen 10/01/06 lip gloss 69 $ 208.69 east

86 Jen 09/08/05 eye liner -2 $ (4.24) east

87 Emilee 31/08/05 eye liner 5 $ 17.03 east

98 Jen 12/04/04 lip gloss 92 $ 277.54 east

Answer:
Step 1: Chọn toàn bộ bảng tính bằng cách để chuột vào 1 ô bất kỳ rồi Ctrl + A.
Step 2: Vào Data -> Chọn Subtotal
Step 3: Khi hộp thoại Subtotal hiện lên, dựa vào đề bài để chọn mục cho phù hợp:
- At each change in trả lời cho câu hỏi: Điều kiện gì?
(by Region/Location)
- Use function trả lời cho câu hỏi: Phương thức thống
kê? (Sum - Tính tổng)
- Add subtotal to trả lời câu hỏi: Thống kê dữ liệu gì?
(Dollar; Unit)
Step 4: Nhấn OK

(*) Với câu hỏi Who is the strongest sales representative?, cần subtotal (Dollars) & (Units)
by Name.
(**) Với câu hỏi What is the best-selling product?, cần subtotal (Dollars) & (Units) by
Product.

Topic 2: Pivot Table


Exercise: Determine the following:
- Total unit by product (one-dimensional Pivot Table)
- Total revenue for each year at each store (two-dimensional Pivot Table)
- Total unit for each product in each month for each year (three-dimensional Pivot
Table)

Year Month Store Group Product Units Revenue


2007 August south milk low fat 805 $ 3,187.80
2007 March south ice cream Edies 992 $ 3,412.48
2007 January east milk skim 712 $ 1,808.48
2006 March north ice cream Edies 904 $ 2,260.00
2006 January south ice cream Edies 647 $ 2,076.87
2005 September west fruit plums 739 $ 1,707.09
2006 March east milk low fat 974 $ 2,181.76
2007 June north fruit apples 615 $ 1,894.20
2007 July west fruit cherries 714 $ 1,856.40
2005 June west ice cream Edies 528 $ 2,064.48

Answer:
a. Total unit by product (one-dimensional Pivot Table)
Step 1: Insert -> Chọn Pivot Table
Step 2: Khi hộp thoại Create Pivot Table hiện lên, chọn phần bảng muốn tạo (nhớ chọn cả
Column Header), chọn location (New worksheet/ Existing worksheet)

Step 3:
- Drag dimension vào ROWS. (Thông thường, dựa vào đề bài, đằng sau chữ BY được
gọi là DIMENSION. Ở đây, PRODUCT là DIMENSION.)
- Drag trường cần tính tổng (UNITS) vào box VALUE.
Step 4: Kết quả

b. Total REVENUE for each (1) YEAR at each (2) STORE (two-dimensional Pivot
Table)
Step 1: Create Pivot Table (lặp lại step 1,2 câu a)
Step 2:
- Drag trường cần tính tổng (REVENUE) vào box VALUE.
- Có 2 dimension:
+ (1) YEAR: drag vào box ROWS.
+ (2) STORE: drag vào box COLUMNS.

Step 3: Kết quả


c. Total UNIT for each (1)PRODUCT in each (2) MONTH for each (3) YEAR
(three-dimensional Pivot Table)
Step 1: Create Pivot Table (lặp lại step 1,2 câu a)
Step 2:
- Drag trường cần tính tổng (UNITS) vào box VALUE.
- Có 3 dimension:
+ (1) PRODUCT: drag vào box FILTER.
+ (2) MONTH: drag vào box ROWS.
+ (3) YEAR: drag vào box COLUMNS.
Step 3: Kết quả
Topic 3: Correlation
Exercise: Find the correlations between each pair of the three products.

Laser Printers Cartridges School Supplies


$ 17.291,00 $ 4.379,00 $ 3.618,00
$ 13.734,00 $ 2.258,00 $ 3.514,00
$ 18.802,00 $ 4.206,00 $ 3.587,00
$ 12.171,00 $ 2.137,00 $ 3.007,00
$ 16.402,00 $ 3.775,00 $ 3.850,00
$ 19.904,00 $ 4.781,00 $ 3.675,00
$ 14.023,00 $ 1.991,00 $ 3.120,00
$ 17.513,00 $ 2.663,00 $ 3.345,00
$ 17.847,00 $ 4.451,00 $ 2.045,00
$ 12.718,00 $ 1.648,00 $ 3.292,00
$ 12.292,00 $ 2.342,00 $ 3.405,00
$ 11.846,00 $ 2.646,00 $ 2.799,00
$ 17.088,00 $ 3.216,00 $ 2.417,00
$ 13.523,00 $ 2.184,00 $ 2.405,00

Answer:
There are totally 3 products and they can be formed in 3 pairs: (1) Laser Printers -
Cartridges; (2) Cartridges - School Supplies; (3) School Supplies - Laser Printers.

Step 1: Vào Data -> Data Analysis.


Trường hợp không có Data Analysis ở thanh Ribbon thì làm như sau:
- Vào File -> Options -> Add-ins
- Trong thanh Manage, chọn Excel Add - ins -> Go
- Chọn box đầu tiên (Analysis ToolPak) & box cuối (Solver Add-in)
- Nhấn OK.
- Vào lại Data -> Data Analysis.
Step 2: Chọn Correlation -> OK
Step 3:
- Input range: Chọn cả bảng
- Grouped by: Tùy theo data ở dạng cột/hàng thì chọn cái tương ứng. Ở bài này sẽ
chọn Columns.
- Chọn Labels in First Row
- Chọn Output Range: Chọn vị trí để tạo bảng Correlation (tùy ý)
- Nhấn OK.
Step 4: Nhận xét kết quả

Các pair có kết quả trong khoảng -1<0<1


- Gần +1: Strong positive (linear) correlation
- Gần -1: Strong negative correlation

1. Correlation between Laser Printers and Cartridges: Strong positive. (Because both of
them are high-tech products). The relation of these products are closely tied together.

=> Nếu sale của printer cao thì sale của cartridge cũng cao. Điều này dẫn tới việc 2 loại sản
phẩm này sẽ được khai thác để trở thành hàng hóa trong cùng 1 giỏ (được kinh doanh song
song)

2. Laser Printer - School Supplies: Weak positive correlation/ Virtually uncorrelated.


(Because school supplies are just normal product, not truly belong to high-tech products)

3. Cartridge - School supplies: Very weak correlation.

Topic 4: Goal seek

Exercise 1:
price $ 3,00
demand 17647,05882
unit cost $ 0,45
fixed cost $ 45.000,00
revenue $ 52.941,18
variable cost $ 7.941,18
profit $ 0,00

For a given price, how many glasses of lemonade does a lemonade store need to sell per
year to break even?

Answer:
Step 1: Xác định input(s), intermediate variable(s); output(s)
Step 2: Đặt tên biến (Define Names)
- Chọn cột chứa tên biến và cột trống bên cạnh.
- Vào Formulas -> Create from selection -> Chọn Left Column
- Nhấn OK.

Step 3: Đọc đề bài để xác định loại biến trong input(s):


- Biến cố định: UnitPrice; UnitCost; FixedCost
- Biến thay đổi: Demand (vì đề bài yêu cầu tìm số lượng cốc nước chanh cần bán để
hòa vốn -> biến Demand chưa xác định)
- Biến trung gian (Intermediates): TotalRevenue; TotalVariableCost; TotalCost
- Biến mục tiêu (Outputs): TotalProfit

Step 4: Nhập các giá trị tương ứng của các biến cố định, riêng biến thay đổi (Demand) nhập
giá trị bất kỳ (trial value).

Step 5: Tính lần lượt giá trị của các biến Intermediate(s) và Output(s)

TotalRevenue = UnitPrice*Demand
TotalVariableCost = Demand*UnitCost
TotalCost = TotalVariableCost + FixedCost
TotalProfit = TotalRevenue - TotalCost
Step 6: Vào Data -> What-if Analysis -> Chọn Goal seek.

Step 7: Nhập tham số:


- Set cell: Nhập biến mục tiêu. (Mục tiêu cần đạt ở đây là TotalProfit)
- To value: Đề bài yêu cầu hòa vốn => TotalProfit = 0
- By changing cell: Nhập biến thay đổi (Demand)
- Nhấn OK.

Step 8: Kết luận.

In conclusion, for a given price, the lemonade store needs to sell approximately 17,647
glasses of lemonade per year to break even.

Sơ đồ (Nếu đề bài yêu cầu)


Exercise 2:

Find a rate of interest that make no difference between Project 1 and Project 2 in net
present value.
Activity 1: Specify a system that helps solve the goal seek problem USING IPO MODEL.
Activity 2: Build an influence chart that represent the processing logic/ the goal seek model
Activity 3: Setup a worksheet that represent the processing logic/ the goal seek model
Activity 4: Solve the goal seek problem using GOAL SEEK

Answer:
Exercise 3:
Three electricians are wiring my new home. Electrician 1 by himself will need 11 days to do
the job. Electrician 2 by himself will need 5 days to do the job. Electrician 3 by herself will
need 9 days to do the job. If all three electricians work on the job, how long will the job take
to complete?
Question 1. Develop an Input - Processing - Output model for the given problem.
Question 2. Build an influence diagram that represents the processing logic of the given
problem.
Question 3. Use the Goal Seek technique in Excel to solve the problem. An accurate
specification of the three parameters in the Goal Seek Window is required.
Exercise 4

We want to pay our mortgage in 15 years. The annual interest rate is 6 percent. The bank
told us we can afford monthly payments of $2000 (at the end of the period). How much can
we borrow?
Question 1. Develop an Input - Processing - Output model for the given problem.
Question 2. Build an influence diagram that represents the processing logic of the given
problem.
Question 3. Use the Goal Seek technique in Excel to solve the problem. An accurate
specification of the three parameters in the Goal Seek Window is required.

Answer:
Exercise 5:
I expect to earn 10 percent per year on my retirement investments. At the end of each of the
next 40 years, I want to put the same amount of money in my retirement portfolio. How much
money do I need to put in each year if I want to have $2 million in my account when I retire?
Question 1. Develop an Input - Processing - Output model for the given problem.
Question 2. Build an influence diagram that represents the processing logic of the given
problem.
Question 3. Use the Goal Seek technique in Excel to solve the problem. An accurate
specification of the three parameters in the Goal Seek Window is required.
Q1:

Q2:
Q3:

Topic 5: Sensitivity Analysis


Exercise:
I’m thinking of starting a store in the local mall to sell gourmet lemonade. Before opening the
store, I’m curious about how my profit, revenue, and variable costs will depend on the price I
charge and the unit cost.

Input(s)

Price $
4.00

Demand 9000.00

UnitCost $
0.45

FixedCost $
45,000.00

Intermediate(s)

TotalRevenue $ 36,000.00

TotalVairiableCost $ 4,050.00

TotalCost $ 49,050.00
Output(s)

TotalProfit $ (13,050.00)

a. One-way data table


Suppose that I want to know how changes in price (for example, from $1.00 through $4.00 in
$0.25 increments) affect annual profit, revenue, and variable cost. Because I’m changing
only one input, a one-way data table will solve the problem.
b. Two-way data table
Suppose I want to determine how annual profit varies as price varies from $1.50 through
$5.00 (in $0.25 increments) and unit cost varies from $0.30 through $0.60 (in $0.05
increments). Because here I’m changing two inputs, I need a two-way data table.

Answer:
a. One-way sensitivity analysis
You have to answer the question:
- How profit will depend on the price the owner charges?
- How changes in price, (from $1.00 through $4.00 in $0.25 increments) affect profit?

Step 1: Đặt tên biến (Define Names)


- Chọn cột chứa tên biến và cột trống bên cạnh.
- Vào Formulas -> Create from selection -> Chọn Left Column
- Nhấn OK.

Step 2: Tạo bảng số liệu


- Biến thay đổi (Price) nằm ở cột bên trái
- Biến mục tiêu (Outputs) cách biến thay đổi (Price) 1 cột
- Cột ở giữa để nhập khoảng giá trị của biến thay đổi (Price).
=> Ở đây đề bài yêu cầu giá trị của biến Price chạy từ $1.00 -> $4.00, gia số $0.25. Ta nhập
2 giá trị đầu của biến Price là $1.00 và $1.25, sau đó bôi đen 2 ô đó rồi kéo thả chuột.
- Nhập formula của biến đầu ra (profit) ở ô nằm dưới heading profit:

Step 3: Tạo bảng One-way data table


- Bôi đen cột chứa khoảng giá trị của biến Price & cột chứa giá trị biến Profit

- Vào Data -> What-if analysis -> Chọn Data Table:


+ Row input cell:
+ Column input cell: Chọn ô chứa giá trị biến đầu vào tương ứng (Price) ở bảng
gốc trên đề bài.
+ Kết quả:

Step 4: Nhận xét (Trả lời câu hỏi của đề bài)


- Price tăng thì profit cũng tăng. Tuy nhiên, profit vẫn ghi nhận ở mức âm do 3 biến
đầu vào còn lại là Demand, Unit Cost và Fixed Cost không đổi.
- Muốn nâng cao doanh thu, thì cần phải cải thiện các giá trị Demand, Unit Cost và
Fixed Cost, doanh nghiệp chỉ tìm cách nâng Price sẽ không hiệu quả.

b. Two-way sensitivity analysis


You have to answer the question: How profit will depend on the price the owner charges and
unit cost?

Step 1: Tạo bảng số liệu


- 2 biến thay đổi (Price; UnitCost) nằm ở mỗi cột riêng biệt, ở giữa có 1 cột trống để
nhập khoảng giá trị của biến Price.
Ở đây, khoảng giá trị của biến Price chạy từ $1.50 -> $5.00, gia số $0.25
- Nhập khoảng giá trị của biến UnitCost theo hàng ngang, cách nhập tương tự như
biến Price. (Từ $0.30 -> $0.60, gia số $0.05)
Bảng số liệu có dạng như sau:

- Nhập formula của biến đầu ra Profit ở vị trí trống giao giữa cột và hàng giá trị.
Step 2: Tạo bảng Two-way data table
- Bôi đen phần giá trị (chừa phần chữ ra nhé)

- Vào Data -> What-if analysis -> Chọn Data table. Dựa vào bảng số liệu và đề bài để
chọn giá trị biến đầu vào (Inputs) tương ứng.
+ Row input cell:
+ Column input cell:

- Kết quả:
Step 3: Nhận xét & trả lời câu hỏi đề bài
- Với price thay đổi từ … -> … và unit cost thay đổi từ … -> … thì ta ghi nhận bảng kết
quả của total profit như trên.
- Sự ảnh hưởng của biến input vào biến output chỉ mang tính tương đối khi biến input
nằm trong khoảng cho trước.
Thường đề bài sẽ bắt tìm total profit khi có 1 giá trị price & unit cost cụ thể, lúc đó, ta tra
bảng để tìm giá trị total profit thích hợp. Hoặc có thể hỏi price và unit cost để đạt break even
point.
(*) Trường hợp tìm break even point:
Dùng Goal Seek để tìm lần lượt Price & UnitCost tương ứng khi Set cell: TotalProfit to value
0.

Exercise 2

We borrow $ 200,000.00 and want to pay our mortgage in 15 years. The annual interest rate
is 6 percent.
Question 1. Build an influence diagram that represents how changes in annual interest rate
and changes in loan amount affect monthly payment (at the end of the period). Given that
the number of periods is unchanged.
Question 2. Use the Data Table technique in Excel to determine how changes in annual
interest rate (from 6 percent through 12 percent in 3 percent increments) and changes in
loan amount (from $ 200, 000.00 through $ 240, 000.00 in $ 10,000.00 increments) affect
monthly payment (at the end of the period).
Note: An accurate specification of the three parameters in the Data Table Window.
Answer:
Q1:
- Input(s): Annual interest rate, loan amount, years
- Intermediate(s): Total months, monthly interest rate
- Output: Monthly payment
Q2:
Topic 6: Regression Analysis (Phân tích hồi quy)
Exercise
The following Data worksheet contains the cost of running a plant over 19 months as well
as the number of units of product A, Product B, Product C produced during each month.

n=3
Month Cost A Made B Made C Made
1 $ 44.439,00 515 541 928
2 $ 43.936,00 929 692 711
3 $ 44.464,00 800 710 824
4 $ 41.533,00 979 675 758
5 $ 46.343,00 1165 1147 635
6 $ 44.922,00 651 939 901
7 $ 43.203,00 847 755 580
8 $ 43.000,00 942 908 589
9 $ 40.967,00 630 738 682
10 $ 48.582,00 1113 1175 1050
11 $ 45.003,00 1086 1075 984
12 $ 44.303,00 843 640 828
13 $ 42.070,00 500 752 708
14 $ 44.353,00 813 989 804
15 $ 45.968,00 1190 823 904
16 $ 47.781,00 1200 1108 1120
17 $ 43.202,00 731 590 1065
18 $ 44.074,00 1089 607 1132
19 $ 44.610,00 786 513 839

Find the best forecast for monthly operating cost that has the form:

Step 1: Vào Data -> Data Analysis -> Regression -> OK


Step 2:
- Nhập giá trị
+ Y: Biến phụ thuộc
+ X: Biến độc lập
- Ở đây, ta có: 3 biến độc lập (X) và 1 biến phụ thuộc (Y)
+ X1: A Made
+ X2: B Made
+ X3: C Made
+ Y: Cost
- Chọn ô chứa toàn bộ giá trị biến Y (Cost), bao gồm cả header. Biến X làm tương tự.
- Tick chọn Labels
- Chọn nơi tạo bảng mới (output range)
- OK

Step 3: Tính toán theo công thức. Chú ý: Intercept là hệ số tương quan (Constant)
(Thay hệ số Coefficients của A Made, B Made, C Made vào công thức để tìm Cost).

Topic 7: Optimization
Exercise:
Let’s say we work for a drug company that produces six different products at their plant.
Production of each product requires labor and raw material. Row 4 in Figure 27-1 shows the
hours of labor needed to produce a pound of each product, and row 5 shows the pounds of
raw material needed to produce a pound of each product. For example, producing a pound
of Product 1 requires six hours of labor and 3.2 pounds of raw material. For each drug, the
price per pound is given in row 6, the unit cost per pound is given in row 7, and the profit
contribution per pound is given in row 9. For example, Product 2 sells for $11.00 per pound,
incurs a unit cost of $5.70 per pound, and contributes $5.30 profit per pound. The month’s
demand for each drug is given in row 8. For example, demand for Product 3 is 1041 pounds.
This month, 4500 hours of labor and 1600 pounds of raw material are available. How can
this company maximize its monthly profit?
Activity 1: Specify a system that help solve the OPTIMIZATION problem USING IPO
MODEL.
Activity 2: Build an influence diagram that represent the processing logic of the optimization
problem

Pounds made 0 0 2 594 1084 0


Product 1 2 3 4 5 6
Labor 6 5 4 3 2,5 1,5
Raw Material 3,2 2,6 1,5 0,8 0,7 0,3
Unit price $ 12,50 $ 11,00 $ 9,00 $ 7,00 $ 6,00 $ 3,00
Variable cost $ 6,50 $ 5,70 $ 3,60 $ 2,80 $ 2,20 $ 1,20
Demand 960 928 1041 977 1084 1055
Unit profit $ 6,00 $ 5,30 $ 5,40 $ 4,20 $ 3,80 $ 1,80

Total Profit
Total labor used <= 4500
Total RM used <= 1600

Step 1: Đặt tên cho các biến


Step 2: Tính Total Profit bằng hàm SUMPRODUCT (Pound made, Unit profit)

Step 3:
- Nhập công thức của Total labour bằng hàm SUMPRODUCT (Pound made, Labor)

- Nhập công thức của Total RM bằng hàm SUMPRODUCT (Pound made, Raw
Material)

Step 3: Vào Data -> Chọn Solver


- Set objective: Giá trị của biến cần tìm (Total profit)
- To: chọn kiểu giá trị cần tìm (Max/Min) tùy theo đề bài. Ở đây ta chọn giá trị Max.
- By changing variable cell: Chọn giá trị biến thay đổi (Pound made)
- Subject to the constraints: Đặt điều kiện ràng buộc cho biến thay đổi (Pound Made).
+ Cell reference (Pound made) <= Constraints (Demand)

+ Cell references (Total labour, Total RM) <= Constraints (Availables)


- Tick vào Make Unconstraints ….

- Ấn Solver
- OK

You might also like