Professional Documents
Culture Documents
ISOM 2010 Lab02
ISOM 2010 Lab02
ISOM 2010 Lab02
1
3
2. Built-in Functions
3. Conditional Formatting
4. Lab Quiz
Learning Objectives:
1. Able to use Excel Built-in Functions for Business Analytics.
2. Able to use Conditional Formatting to highlight important information.
+ Addition =1+2 →3
- Subtraction =3-2 →1
Negation =-3 → -3
* Multiplication =3*2 →6
^ Exponentiation =3^2 →9
Reference: https://support.microsoft.com/en-us/office/using-calculation-operators-in-excel-formulas-78be92ad-563c-4d62-b081-ae6da5c2ca69
= Equal to =A1=B2
Reference: https://support.microsoft.com/en-us/office/using-calculation-operators-in-excel-formulas-78be92ad-563c-4d62-b081-ae6da5c2ca69
Function Result
Function Result
=IF (pokemon=yellow,
put it on the left,
put it on the right)
LEFT RIGHT
Result: No Error
Result: No Error
Q1. How to change the IF Function so that it gives out the same result as
“=IF(C2>0, "No Error", "Invalid Price")”?
Hint: =IF(_________, "Invalid Price", __________)
6.0kg 460.0kg
I am lighter than or
equal to Snorlax!
6.0kg 460.0kg
Q1. How to change the IF Function so that it gives out the same result as
“=IF(C2>0, "No Error", "Invalid Price")”?
Ans: =IF(C2<=0, "Invalid Price", "No Error")
Q2. How to combine the below two IF Functions into one Function?
Function Result
X ✔ → Invalid Price
✔ ✔ → Missing Category
X ✔ → Invalid Price
✔ ✔ → Missing Category
1
2
3
4
5
6
Result: 6 Result: 4
● Count the no. of cells ● Count the no. of cells as specified
= SUM(C2:C7) =SUMIF(B2:B7,"Stationery",C2:C7)
1 2 3
1 2
Result: Silver
500 Silver
1 2
1000 Gold
2000 Diamond
Result: #N/A
Silver 0.95
1 2
Gold 0.90
Diamond 0.85
Result: 0.90
Q1. How to write the VLOOKUP Function to find out the corresponding Member Type of Kitty?
Q1. How to write the VLOOKUP Function to find out the corresponding Member Type of Kitty?
=VLOOKUP(B10, A2:D4, 2, TRUE)
Q1. How to write the VLOOKUP Function to find out the corresponding Member Type of Kitty?
=VLOOKUP(B10, A2:D4, 2, TRUE)
1 2
Q1. How to write the VLOOKUP Function to find out the corresponding Member Type of Kitty?
=VLOOKUP(B10, A2:D4, 2, TRUE)
Q1. How to write the VLOOKUP Function to find out the corresponding Member Type of Kitty?
=VLOOKUP(B10, A2:D4, 2, TRUE)
Q2. If the member is new member, he/she can enjoy the New Member Discount.
How to write the VLOOKUP Function to find out the Discount Rate of Tony?
Hint: Using IF Function
Q2. If the member is new member, he/she can enjoy the New Member Discount.
How to write the VLOOKUP Function to find out the Discount Rate of Tony?
M1: =IF(D9="Yes", VLOOKUP(B9, A2:D4, 4, TRUE), VLOOKUP(B9, A2:D4, 3, TRUE))
Q2. If the member is new member, he/she can enjoy the New Member Discount.
How to write the VLOOKUP Function to find out the Discount Rate of Tony?
M1: =IF(D9="Yes", VLOOKUP(B9, A2:D4, 4, TRUE), VLOOKUP(B9, A2:D4, 3, TRUE))
Q2. If the member is new member, he/she can enjoy the New Member Discount.
How to write the VLOOKUP Function to find out the Discount Rate of Tony?
M1: =IF(D9="Yes", VLOOKUP(B9, A2:D4, 4, TRUE), VLOOKUP(B9, A2:D4, 3, TRUE))
Q2. If the member is new member, he/she can enjoy the New Member Discount.
How to write the VLOOKUP Function to find out the Discount Rate of Tony?
M2: =VLOOKUP(B9, A2:D4, IF(D9="Yes", 4, 3), TRUE)
Aim:
Quickly highlights important information in a spreadsheet
Q1. How to write the IF Function so that it gives out the below expected result?
Q1. How to write the IF Function so that it gives out the below expected result?
Two errors Missing Category Invalid Price → Missing Category and Invalid Price
3 IF Functions
Q2. How to write the IF Function so that it gives out the below expected result?
Reference:https://support.office.com/en-us/article/create-an-array-formula-e43e12e0-afc6-4a12-bc7f-48361075954d
Q2. How to write the IF Function so that it gives out the below expected result?
● Practice with:
○ Excel Built-in Functions
■ AND
■ OR
■ IF
■ COUNTIF
■ SUMIF
■ VLOOKUP
○ Conditional Formatting