Bird
Raised Fist0
Excelspreadsheet~15 mins

Why logical functions enable decision-making in Excel - Business Case Study

Choose your learning style10 modes available
Scenario Mode
👤 Your Role: You are a sales analyst at a retail company.
📋 Request: Your manager wants you to identify which sales transactions qualify for a bonus based on specific criteria.
📊 Data: You have a table of sales transactions including columns for Salesperson, Region, Sales Amount, and Number of Items Sold.
🎯 Deliverable: Create a new column that uses logical functions to mark transactions as 'Bonus' or 'No Bonus' based on the criteria: sales amount greater than $500 and items sold more than 5.
Progress0 / 4 steps
Sample Data
SalespersonRegionSales AmountItems Sold
AliceEast6007
BobWest45010
CharlieEast7004
DianaNorth5506
EvaSouth3008
FrankWest8009
GraceNorth4003
HankSouth6507
1
Step 1: Add a new column header named 'Bonus Status' next to 'Items Sold'.
Expected Result
A new column is ready for formulas.
2
Step 2: In the first cell under 'Bonus Status' (e.g., E2), enter a formula to check if Sales Amount is greater than 500 AND Items Sold is greater than 5.
=IF(AND(C2>500,D2>5),"Bonus","No Bonus")
Expected Result
For Alice's row, the formula returns 'Bonus' because 600 > 500 and 7 > 5.
3
Step 3: Copy the formula down the 'Bonus Status' column for all rows.
Drag the fill handle from E2 down to E9.
Expected Result
Each row shows 'Bonus' or 'No Bonus' based on the criteria.
4
Step 4: Review the results to identify which sales transactions qualify for the bonus.
Expected Result
Rows for Alice, Diana, Frank, and Hank show 'Bonus'; others show 'No Bonus'.
Final Result
Salesperson | Region | Sales Amount | Items Sold | Bonus Status
-------------------------------------------------------------
Alice       | East   | 600          | 7          | Bonus
Bob         | West   | 450          | 10         | No Bonus
Charlie     | East   | 700          | 4          | No Bonus
Diana       | North  | 550          | 6          | Bonus
Eva         | South  | 300          | 8          | No Bonus
Frank       | West   | 800          | 9          | Bonus
Grace       | North  | 400          | 3          | No Bonus
Hank        | South  | 650          | 7          | Bonus
✓Logical functions like IF and AND help decide which sales qualify for bonuses.
✓Only sales with amount over $500 and more than 5 items sold get a bonus.
✓This method quickly highlights qualifying transactions for decision-making.
Bonus Challenge

Modify the formula to also give a 'Super Bonus' if the sales amount is over $700 and items sold are more than 8.

Show Hint
Use nested IF functions or the IFS function to check multiple conditions.

Practice

(1/5)
1. What is the main purpose of logical functions like IF in Excel?
easy
A. To make decisions based on conditions and show different results
B. To add numbers together automatically
C. To format cells with colors
D. To sort data alphabetically

Solution

  1. Step 1: Understand what logical functions do

    Logical functions check if a condition is true or false and then decide what to do next.
  2. Step 2: Identify the role of IF function

    The IF function returns one value if a condition is true, and another if it is false, enabling decision-making.
  3. Final Answer:

    To make decisions based on conditions and show different results -> Option A
  4. Quick Check:

    Logical functions enable decisions [OK]
Hint: Logical functions choose outputs based on TRUE or FALSE [OK]
Common Mistakes:
  • Thinking IF adds numbers
  • Confusing logical functions with formatting
  • Believing logical functions sort data
2. Which of these is the correct syntax for the IF function in Excel?
easy
A. =IF(condition; value_if_false; value_if_true)
B. =IF(value_if_true, condition, value_if_false)
C. =IF(value_if_false, condition, value_if_true)
D. =IF(condition, value_if_true, value_if_false)

Solution

  1. Step 1: Recall the IF function syntax

    The IF function syntax is =IF(condition, value_if_true, value_if_false) with commas separating arguments.
  2. Step 2: Check each option's order and separators

    =IF(condition, value_if_true, value_if_false) matches the correct order and uses commas, while others have wrong order or semicolons.
  3. Final Answer:

    =IF(condition, value_if_true, value_if_false) -> Option D
  4. Quick Check:

    Correct IF syntax uses condition first, commas next [OK]
Hint: IF syntax: condition, true result, false result [OK]
Common Mistakes:
  • Swapping true and false values
  • Using semicolons instead of commas
  • Putting condition in wrong position
3. What will be the result of the formula =IF(A1>10, "High", "Low") if cell A1 contains the number 8?
medium
A. "High"
B. "Low"
C. 8
D. TRUE

Solution

  1. Step 1: Evaluate the condition A1>10 with A1=8

    Since 8 is not greater than 10, the condition is FALSE.
  2. Step 2: Determine the IF function output for FALSE condition

    When condition is FALSE, IF returns the third argument, which is "Low".
  3. Final Answer:

    "Low" -> Option B
  4. Quick Check:

    8 <= 10 means output = "Low" [OK]
Hint: Check condition TRUE or FALSE to pick output [OK]
Common Mistakes:
  • Assuming 8 is greater than 10
  • Confusing true and false outputs
  • Expecting the formula to return the cell value
4. The formula =IF(A2=100, "Perfect", "Try Again" is entered in a cell. What is wrong with this formula?
medium
A. Missing closing parenthesis at the end
B. Wrong comparison operator used
C. Text values should not be in quotes
D. IF function cannot compare numbers

Solution

  1. Step 1: Check the formula syntax carefully

    The formula is missing a closing parenthesis ")" at the end to close the IF function.
  2. Step 2: Verify other parts of the formula

    The comparison operator "=" is correct, text values are correctly in quotes, and IF can compare numbers.
  3. Final Answer:

    Missing closing parenthesis at the end -> Option A
  4. Quick Check:

    Every function needs matching parentheses [OK]
Hint: Count opening and closing parentheses carefully [OK]
Common Mistakes:
  • Forgetting closing parenthesis
  • Removing quotes from text
  • Using wrong operators like == instead of =
5. You want to create a formula that shows "Pass" if a student's score in cell B3 is 50 or more, "Fail" if less than 50, and "Absent" if the cell is empty. Which formula correctly uses logical functions to do this?
hard
A. =IF(B3>=50, "Pass", IF(B3="", "Fail", "Absent"))
B. =IF(B3>=50, "Pass", "Fail", IF(B3="", "Absent"))
C. =IF(B3="", "Absent", IF(B3>=50, "Pass", "Fail"))
D. =IF(B3="Absent", "", IF(B3>=50, "Pass", "Fail"))

Solution

  1. Step 1: Check condition for empty cell first

    The formula must first check if B3 is empty (""), then return "Absent".
  2. Step 2: Use nested IF to check score if not empty

    If B3 is not empty, check if score is 50 or more to return "Pass", else "Fail".
  3. Step 3: Verify =IF(B3="", "Absent", IF(B3>=50, "Pass", "Fail")) matches this logic

    =IF(B3="", "Absent", IF(B3>=50, "Pass", "Fail")) correctly nests IF with empty check first, then score check, returning correct outputs.
  4. Final Answer:

    =IF(B3="", "Absent", IF(B3>=50, "Pass", "Fail")) -> Option C
  5. Quick Check:

    Check empty first, then score with nested IF [OK]
Hint: Check empty cells before other conditions in nested IF [OK]
Common Mistakes:
  • Checking score before empty cell
  • Incorrect nesting of IF functions
  • Using wrong order of arguments
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard