You are on page 1of 30

How to apply EXCEL for

Business Decision Support System


Kulachatr Chatrakul Na Ayudhya

How to apply EXCEL for Business


Decision Support System
Use of Goal Seeking
Use of Data Table
Use of Scenario (Simulation Technique)
Use of Solver Parameter
Applying Macro on Excel

How to apply EXCEL for Business


Decision Support System ; Goal Seeking
Goal Seeking

Cell Cell
Cell





Sensitivity

How to apply EXCEL for Business


Decision Support System ; Data Table
Data Table




Goal Seek

How to apply EXCEL for Business


Decision Support System ; Goal Seeking
Problem

2,000,000 9.5%
10

Exercise

7,000,000 5.5%
25
40,000
45,000
50,000

How to apply EXCEL for Business


Decision Support System ; Solver Parameters
Solver Parameters

Simplex


HOW APPLY EXCEL (MACRO) FOR BUSINESS CASE

Overview
Excel Program
Macro Excel

How to use Macro Excel


How to apply Macro Excel for

Business

Program Excel
On

Microsoft Office
Program spread sheet
Use for create table and analysis data

Program Excel
Cash-flow analysis

Financial reports
Inventory mangement
SME Tools


Region

January

February

North

10,111

13,400

South

22,100

24,050

East

13,270

15,670

West

10,800

21,500

52,281

74,620

Macro Excel
Record any activity on program excel.
Call to use when you want it.
Support routine job.

To Create Macro (1)


Record Macro
Select menu Tools >
Macro > Record New
Macro

Make condition

Macro Name
Shortcut key
Store macro in
Description
Click OK

To Create Macro (2)

To set activity
Select Menu Tools > Stop recording

To Call Macro (1)


Call from menu Tools > Macro > Macro (or Alt+F8)
Use Ctrl+.

Tip for creation Macro


Can not have space
Auto create name

Visual Basic Editor


Tools > Macro
Macro VB

VB Script
Insert > Module

Procedure
Macro - - > Sub Procedure
User-Defined Function - - > Function Procedure
Procedure :
Sub Procedure
Function Procedure

Sample Script
Sub TextAbsolute( )
Range(D3).Select
Selection.Font.Italic = True
End Sub
Sub TextRelative( )
ActiveCell.Offset(2,3).Select
Selection.Font.Italic = True
End Sub

User Define Function


Function FutureValue(p,n,i)
FutureValue = p*((1+i)^n)
End Function

p = Present value
n = Number of Term
i = interest(%)

User Define Function

(...91)

1 100,000

100,000

5,000

5,000

100,001 500,000

400,000

10

40,000

45,000

500,001 1,000,000

500,000

20

100,000

145,000

1,00,001 4,000,000

3,000,000

30

900,000

1,045,000

4,000,000

37

(...91)
250,000
1 250,000 100,000 = 150,000
150,000 150,000 * 0.1 = 15,000
1
15,000 + 5,000 = 20,000
20,000

(...91)
Function Tax(Income_Year)
If Income_Year <= 100000 Then
Tax = Income_Year * 0.05
ElseIf Income_Year <= 500000 Then
Tax = (Income_Year 100000) * 0.1 + 5000
ElseIf Income_Year <= 1000000 Then
Tax = (Income_Year 500000) * 0.2 + 45000
ElseIf Income_Year <= 4000000 Then
Tax = (Income_Year 1000000) * 0.3 + 145000
Else
Tax = (Income_Year 4000000) * 0.37 + 1045000
End If
End Function

Commision

Commission

0 500,000

0.5%

500,000 1,800,000

1%

1,800,000

2%

Commision
Function Commiss(Sale)
If Sale <= 500000 Then
Commiss = Sale * 0.005
ElseIf Sale <= 1800000 Then
Commiss = Sale * 0.01
Else
Commiss = Sale * 0.02
End If
End Function

VBA

IfThen
IfThenElse
Select Case

VBA

DoLoop
Do WhileLoop
Do LoopWhile

For Next

InputBox
function

MsgBox
function


Num_Income = InputBox(Number of Income/Year)
ActiveCell.Value = Num_Income
Num_Income = InputBox(Number of Income/Year)
MsgBox Test Text : & Num_Income

You might also like