Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 10

CHAPTER 2: ANALYTICS USING MS EXCEL

Objective: This chapter presents the basic features of excel on spreadsheets for application of business analytics techniq

2.1 Basic Excel Formula (ADDITION, SUBSTRACTION, MULTIPLICATION, DIVISION, EXPONENTIATION, PER CENT"
2.1.1 Relative and Absolute Cell References
2.2 Basic Excel Functions ("SUM", "AVERAGE", "MIN", "MAX", "COUNT", "COUNTIF", "COUNTIFS")
2.3 Insert Function
2.4 Logical Function "IF", "IF(AND)",
2.5 Lookup Function "VLOOKUP", "HLOOKUP", "INDEX", "MATCH" …

2.1 Basic Excel Formula (ADDITION, SUBSTRACTION, MULTIPLICATION, DIVISION, EXPONENTIATION, PER CENT"

1. Order Amount: Unit Price * Quantity


2. Delivery / Lead Time: Arrival Date - Order Date

2.1.1 Relative and Absolute Cell References

Relative refecences: Excel spreadsheet are set by default as relative references.


When formula is copied across multiple cells, the formula changes
according to the relative position of rows and column.

Absolute references: does not change when one copies or fills a formula across multiple cells

Relative Absolute
Total
500 1000 700 1000
400 900 400 900
300 800 300 800
200 700 200 700
100 600 100 600
100 500 100 500
100 400 100 400
100 300 100 300
100 200 100 200
100 100 100 100
100 50 100 50
50 10 50 10

2.2 Basic Excel Functions ("SUM", "AVERAGE", "MIN", "MAX", "COUNT", "COUNTIF", "COUNTIFS")
Function is a predefined formula that is used to perform calculations using values indicated in a perticular order.

SUM: Finds the sum of values in a range of cells =sum(data range)


Total Quantity Ordered
Total Order Amount
Average / Mean: Finds the average of the values in a range of cells =average(data range)
Average Quantity Ordered
Average Order Amount

Minimum (MIN): Finds the minimum value in a range of cells =min(data range)
Minimum Quantity Ordered
Minimum Order Amount

Maximum (MAX): Finds the maximum value in a range of cells =max(data range)
Maximum Quantity Ordered
Maximum Order Amount
Maximum Delivery Time

Count: Count cells that match criteria =count(data range)


Number of Purchase Orders Received

2.3 Insert Function: to place / insert a specific function by using the function button "fx" on the Formula Bar diolog box

2.4 Logical Function "IF", "IF(AND)",


"IF": A logical function that tests whether a specific condition is met or not.

Total Quantity Ordered for "Decoder IC"


Number of Orders by "Super Power Audio"
Number of orders with order amount less than RM15000

Situation (Range K90:K196)

Using the "IF" function, determine whether any of the orders are entitle to receive 5%
discount. (YES if Order Amount => RM25000; NO if Order Amount < RM25000)

"IFS": A logical function that tests multiple conditions


Total Quantity Ordered for "Decoder IC" by "VORC Coporation"
Total Quantity Ordered for "Mini Micro Controller" by "SKS Enterprise"

IF(AND): A logical function that tests multiple conditions with "AND"


Using the "IF AND" function, "mark" or "flag" records as "HIGH" if the "Discount 5%" is
"YES" and the "Order Amount" is more than RM35000.

2.5 Lookup Function "VLOOKUP", "HLOOKUP", "INDEX", "MATCH" … P.9

VLOOOKUP: Looks up a value in a table by


matching on the first column and returns a value
in the same row from a column that you have
specified.

Product
PNP
Using the "VLOOKUP" function, determine the type of product and quantity Transistor
ordered based on the order number 8258

Using the "VLOOKUP" function, determine the type of product and quantity Schottky
ordered based on the order number 6543 Rectifier

HLOOOKUP: Looks up a value in a table by


matching on the first row and returns a value in
the same column from a row that you have
specified.

Table Array: the range of data of the entire table of data


Col index number: represents the column from which the result is required

DATA

Purchase Orders Transaction With Lead Time


Order Date Customer Order No. Item Detail Unit Price Quantity

08/06/17 Sound Sdn Bhd 1132 Schottky Rectifier 4.1500 19,000


08/07/17 Sonic Sdn bhd 1353 Schottky Rectifier 4.1500 10,000
08/12/17 Super Power Audio 5572 Shielded Cable/meter 1.0500 25,000
08/15/17 Super Power Audio 5572 Shielded Cable/meter 1.0500 20,500
08/20/17 Vorc Coporation 5429 Shielded Cable/meter 1.1000 17,500
08/21/17 Super Power Audio 5572 Shielded Cable/meter 1.0500 22,500
08/25/17 Vorc Coporation 4422 Decoder IC 3.7500 4,200
08/25/17 SKS Enterprise 7368 Mini Micro Controller 90.0000 100
08/25/17 Super Power Audio 6431 Relay SRS 2.7500 1,200
08/26/17 Super Power Audio 5572 Shielded Cable/meter 1.0500 22,500
08/26/17 Vorc Coporation 5429 Shielded Cable/meter 1.1000 18,500
08/27/17 Sound Sdn Bhd 3276 Rocket Switch 1.1500 5,200
08/27/17 Sound Sdn Bhd 9976 LED Bulb 0.7500 500
08/28/17 Vorc Coporation 5344 Rocket Switch 1.5500 4,500
09/01/17 Vorc Coporation 4422 Decoder IC 3.7500 4,500
09/01/17 Sonic Sdn bhd 5527 Rear Speaker 250.0000 400
09/01/17 Sound Sdn Bhd 3276 Rocket Switch 1.1500 5,500
09/03/17 Vorc Coporation 5344 Rocket Switch 1.5500 4,550
09/03/17 Vorc Coporation 4422 Decoder IC 3.7500 4,550
09/04/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.1500 15,500
09/05/17 LED Technologies 4221 Decoder IC 3.5500 4,500
09/05/17 Sonic Sdn bhd 1353 Schottky Rectifier 4.1500 9,000
09/05/17 SKS Enterprise 7368 Mini Micro Controller 90.0000 150
09/05/17 Vorc Coporation 5344 Rocket Switch 1.7500 4,750
09/05/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.1500 12,500
09/05/17 Sound Sdn Bhd 5176 Shielded Cable/meter 0.9500 25,000
09/07/17 Sound Sdn Bhd 3276 Rocket Switch 1.1500 5,500
09/07/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.2500 15,000
09/11/17 LED Technologies 4221 Decoder IC 3.5500 4,500
09/11/17 Sound Sdn Bhd 3276 Rocket Switch 1.1500 5,500
09/12/17 Sound Sdn Bhd 6431 Relay SRS 2.5500 1,500
09/14/17 Vorc Coporation 5429 Shielded Cable/meter 1.1000 16,500
09/15/17 LED Technologies 4221 Decoder IC 3.5500 4,500
09/15/17 Sound Sdn Bhd 5176 Shielded Cable/meter 0.9500 17,500
09/20/17 Sound Sdn Bhd 9862 PNP Transistor 4.0500 1,500
09/20/17 LED Technologies 4221 Decoder IC 3.5500 4,550
09/20/17 Audio Accessories 9874 PNP Transistor 3.7500 1,900
09/20/17 Audio Accessories 9876 PNP Transistor 3.7500 1,750
09/25/17 LED Technologies 9862 PNP Transistor 4.0500 1,450
09/25/17 LED Technologies 4221 Decoder IC 3.5500 4,200
09/25/17 SKS Enterprise 1479 Schottky Rectifier 4.1000 15,000
09/25/17 Ultra Car Audio 6541 Relay SRS 2.5500 1,200
09/26/17 Super Power Audio 6431 Relay SRS 2.4500 2,500
09/26/17 Audio Accessories 9874 PNP Transistor 3.7500 1,850
09/27/17 SKS Enterprise 1452 Schottky Rectifier 4.1000 14,000
09/28/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.1500 14,500
09/28/17 Audio Accessories 9874 PNP Transistor 3.7500 1,700
09/29/17 SKS Enterprise 1486 Schottky Rectifier 4.1000 10,000
10/01/17 LED Technologies 5235 Shielded Cable/meter 1.1500 15,500
10/01/17 SKS Enterprise 9489 PNP Transistor 3.7500 1,750
10/01/17 Ultra Car Audio 6541 Relay SRS 2.7500 1,550
10/01/17 Audio Accessories 6543 Relay SRS 2.9500 1,500
10/01/17 Super Power Audio 5276 Rocket Switch 1.1500 5,550
10/01/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.1500 18,000
10/04/17 SKS Enterprise 9489 PNP Transistor 3.7500 1,550
10/05/17 LED Technologies 6599 Relay SRS 3.0000 1,500
10/05/17 SKS Enterprise 9489 PNP Transistor 3.7500 1,500
10/05/17 LED Technologies 4221 Decoder IC 3.5500 4,600
10/05/17 SKS Enterprise 4679 Decoder IC 3.5000 3,500
10/05/17 Ultra Car Audio 6541 Relay SRS 2.7500 1,250
10/09/17 SKS Enterprise 9489 PNP Transistor 3.7500 1,570
10/09/17 SKS Enterprise 5564 Rear Speaker 220.0000 550
10/10/17 LED Technologies 6599 Relay SRS 3.0000 950
10/10/17 Sonic Sdn bhd 1353 Schottky Rectifier 4.1500 10,500
10/10/17 Vorc Coporation 8118 Audio Interface 650.0000 120
10/10/17 Ultra Car Audio 7368 Mini Micro Controller 100.5000 70
10/10/17 Ultra Car Audio 8258 Audio Interface 660.5000 155
10/11/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.1500 17,000
10/12/17 Super Power Audio 6431 Relay SRS 2.5500 1,550
10/16/17 Sonic Sdn bhd 4334 Decoder IC 3.9500 4,500
10/16/17 SKS Enterprise 5564 Rear Speaker 220.0000 500
10/16/17 Ultra Car Audio 7368 Pressure Gauge 100.5000 120
10/16/17 Vorc Coporation 8118 Audio Interface 650.0000 150
10/20/17 Sonic Sdn bhd 5537 Rear Speaker 250.0000 500
10/20/17 Ultra Car Audio 7368 Mini Micro Controller 100.5000 130
10/25/17 Sonic Sdn bhd 5744 HiFi Audio Amplifier 180.0000 150
10/25/17 SKS Enterprise 5385 Shielded Cable/meter 1.0000 25,000
10/25/17 Super Power Audio 6431 Relay SRS 2.5500 1,500
10/25/17 Super Power Audio 5799 HiFi Audio Amplifier 170.0000 155
10/25/17 Sound Sdn Bhd 1232 Schottky Rectifier 4.1500 17,500
10/27/17 Vorc Coporation 5787 HiFi Audio Amplifier 190.0000 150
10/27/17 Vorc Coporation 8118 Audio Interface 650.0000 120
10/30/17 LED Technologies 6599 Relay SRS 3.0000 1,050
10/30/17 Sonic Sdn bhd 5744 HiFi Audio Amplifier 180.0000 150
11/01/17 Ultra Car Audio 9087 LED Bulb 1.0000 555
11/01/17 Ultra Car Audio 9065 LED Bulb 0.7500 150
11/01/17 Super Power Audio 5799 HiFi Audio Amplifier 170.0000 150
11/01/17 Super Power Audio 7378 Mini Micro Controller 95.0000 110
11/02/17 Vorc Coporation 5787 HiFi Audio Amplifier 190.0000 120
11/06/17 Ultra Car Audio 9077 LED Bulb 0.7500 550
11/06/17 Super Power Audio 7378 Mini Micro Controller 95.0000 150
11/06/17 Super Power Audio 5799 HiFi Audio Amplifier 170.0000 175
11/06/17 Vorc Coporation 5787 HiFi Audio Amplifier 190.0000 110
11/06/17 Ultra Car Audio 9065 LED Bulb 0.5500 125
11/07/17 SKS Enterprise 9874 PNP Transistor 3.7500 1,570
11/07/17 Sound Sdn Bhd 9874 PNP Transistor 3.7500 1,570
11/13/17 SKS Enterprise 9862 PNP Transistor 3.7500 1,570
11/15/17 Sonic Sdn bhd 4221 Decoder IC 3.5500 47,050
11/15/17 Sound Sdn Bhd 1479 Schottky Rectifier 4.1000 15,000
11/15/17 LED Technologies 6541 Relay SRS 2.7500 1,500
11/20/17 Super Power Audio 6431 Relay SRS 2.5500 2,500
11/20/17 SKS Enterprise 9874 PNP Transistor 3.6500 1,770
11/20/17 Super Power Audio 1479 Schottky Rectifier 4.1000 15,000
11/20/17 Super Power Audio 1232 Schottky Rectifier 4.1500 12,500
11/27/17 Sound Sdn Bhd 5276 Rocket Switch 1.1500 5,550
11/27/17 Vorc Coporation 1232 Schottky Rectifier 4.1500 17,000
11/27/17 Vorc Coporation 9489 PNP Transistor 3.6500 1,550
TICS USING MS EXCEL
of business analytics techniques.

TION, PER CENT"

FS")

IATION, PER CENT"

Absolute
Total

a perticular order.
he Formula Bar diolog box

*=sumif(data range_criteria,criteria,data range_sum)


*=countif(data range_criteria,criteria)
*=countif(data range_criteria,"criteria")

*=if(logical test,"value if true", "value if false")

*=sumifs(data range_sum, data range_criteria 1, criteria 1, data range_criteria 2, criteria 2)


*=sumifs(data range_sum, data range_criteria 1, criteria 1, data range_criteria 2, criteria 2)

*=if(AND(logical test 1, logical test 2), "value if true", "value if false"))

Quantity Ordered
*=VLOOKUP(lookup value, table array, col index number, FALSE)

*=VLOOKUP(lookup value, table array, col index number, FALSE)

h Lead Time
Order A/P Terms Arrival Delivery / Discount 5% High
Amount (Days) Date Lead Time YES / NO Demand
78850 30 08/13/17 7 YES HIGH
41500 30 08/14/17 7 YES HIGH
26250 30 08/15/17 3 YES LOW
21525 30 08/22/17 7 NO LOW
19250 30 08/31/17 11 NO LOW
23625 30 08/26/17 5 NO LOW
15750 30 09/01/17 7 NO LOW
9000 45 08/28/17 3 NO LOW
3300 30 09/04/17 10 NO LOW
23625 30 09/02/17 7 NO LOW
20350 30 09/05/17 10 NO LOW
5980 30 08/29/17 2 NO LOW
375 30 08/31/17 4 NO LOW
6975 30 09/05/17 8 NO LOW
16875 30 09/10/17 9 NO LOW
100000 30 09/10/17 9 YES HIGH
6325 30 09/06/17 5 NO LOW
7053 30 09/11/17 8 NO LOW
17063 30 09/11/17 8 NO LOW
64325 30 09/12/17 8 YES HIGH
15975 25 09/20/17 15 NO LOW
37350 30 09/12/17 7 YES HIGH
13500 45 09/09/17 4 NO LOW
8313 30 09/13/17 8 NO LOW
51875 30 09/11/17 6 YES HIGH
23750 30 09/12/17 7 NO LOW
6325 30 09/10/17 3 NO LOW
63750 30 09/15/17 8 YES HIGH
15975 25 09/20/17 9 NO LOW
6325 30 09/15/17 4 NO LOW
3825 30 09/20/17 8 NO LOW
18150 30 09/25/17 11 NO LOW
15975 25 09/25/17 10 NO LOW
16625 30 09/22/17 7 NO LOW
6075 25 09/25/17 5 NO LOW
16153 25 09/25/17 5 NO LOW
7125 15 09/29/17 9 NO LOW
6563 15 09/25/17 5 NO LOW
5873 25 10/05/17 10 NO LOW
14910 25 10/07/17 12 NO LOW
61500 45 09/30/17 5 YES HIGH
3060 30 10/01/17 6 NO LOW
6125 30 10/04/17 8 NO LOW
6938 15 10/05/17 9 NO LOW
57400 45 10/03/17 6 YES HIGH
60175 30 10/03/17 5 YES HIGH
6375 15 10/05/17 7 NO LOW
41000 45 10/04/17 5 YES HIGH
17825 25 10/12/17 11 NO LOW
6563 45 10/06/17 5 NO LOW
4263 30 10/07/17 6 NO LOW
4425 15 10/10/17 9 NO LOW
6382 30 10/06/17 5 NO LOW
74700 30 10/08/17 7 YES HIGH
5813 45 10/08/17 4 NO LOW
4500 25 10/10/17 5 NO LOW
5625 45 10/11/17 6 NO LOW
16330 25 10/19/17 14 NO LOW
12250 45 10/10/17 5 NO LOW
3438 30 10/10/17 5 NO LOW
5888 45 10/12/17 3 NO LOW
121000 45 10/14/17 5 YES HIGH
2850 25 10/18/17 8 NO LOW
43575 30 10/17/17 7 YES HIGH
78000 30 10/21/17 11 YES HIGH
7035 30 10/17/17 7 NO LOW
102378 30 10/17/17 7 YES HIGH
70550 30 10/19/17 8 YES HIGH
3952 30 10/21/17 9 NO LOW
17775 30 10/20/17 4 NO LOW
110000 45 10/20/17 4 YES HIGH
12060 30 10/24/17 8 NO LOW
97500 30 10/26/17 10 YES HIGH
125000 30 10/27/17 7 YES HIGH
13065 30 10/29/17 9 NO LOW
27000 30 11/03/17 9 YES LOW
25000 45 10/30/17 5 YES LOW
3825 30 11/02/17 8 NO LOW
26350 30 11/03/17 9 YES LOW
72625 30 11/03/17 9 YES HIGH
28500 30 11/07/17 11 YES LOW
78000 30 11/04/17 8 YES HIGH
3150 25 11/10/17 11 NO LOW
27000 30 11/02/17 3 YES LOW
555 30 11/03/17 2 NO LOW
113 30 11/03/17 2 NO LOW
25500 30 11/07/17 6 YES LOW
10450 30 11/04/17 3 NO LOW
22800 30 11/10/17 8 NO LOW
413 30 11/15/17 9 NO LOW
14250 30 11/13/17 7 NO LOW
29750 30 11/16/17 10 YES LOW
20900 30 11/16/17 10 NO LOW
69 30 11/13/17 7 NO LOW
5888 45 11/13/17 6 NO LOW
5888 45 11/15/17 8 NO LOW
5888 25 11/17/17 4 NO LOW
167028 25 11/20/17 5 YES HIGH
61500 45 11/21/17 6 YES HIGH
4125 30 11/21/17 6 NO LOW
6375 30 11/23/17 3 NO LOW
6461 15 11/25/17 5 NO LOW
61500 45 11/23/17 3 YES HIGH
51875 30 11/27/17 7 YES HIGH
6382 30 12/02/17 5 NO LOW
70550 30 12/03/17 6 YES HIGH
5658 45 12/05/17 8 NO LOW

You might also like