Hands-On Lab: IF Function in Excel

⏳ Duration: 2 Hours

🎯 Level: Beginner – Intermediate

🧠 Method: Brief explanation & hands-on practice

📦 Material Format: Interactive (usable offline/online)

📌 Prerequisites: Familiar with entering data and basic Excel formulas

🎯 Objective: Participants can use the IF function to create simple logic in Excel data.

Welcome to TTC Hands-On Lab! In this exercise, we will learn the **IF function** in Excel. This function is useful for making automatic decisions based on certain conditions, such as pass/fail, safe/out-of-stock, or grading categories.

🧩 Case Study

You have the following student scores table:

      | Name | Score |
      |------|-------|
      | Asep | 60    |
      | Budi | 59    |
      | Cici | 45    |
      | Dedi | 30    |
      

Goal: create an automatic **Remarks** column using the IF function:

✨ Steps

  1. Add a new column Remarks next to the Score column.
  2. Select the first cell in Remarks (e.g., C3).
  3. Enter the formula:
    =IF(B3>=60,"Pass","Remedial")
  4. Press Enter, then drag the fill handle down to apply to all rows.

💡 Important Notes

Entering IF formula in Excel
Enter the IF formula in the Remarks cell.
Result of IF formula in Excel
Automatic result: "Pass" or "Remedial" based on the student's score.

📝 Exercise:

  1. Create a sales table of 10 products with a Quantity Sold column.
  2. Add a Status column and use IF to mark "Safe" if ≥50, and "Out of Stock" if <50.
  3. Try modifying with nested IFs to add a "Almost Out" category.

Want to Learn Excel and Computer Skills for Free?

Visit our complete guide and join TTC’s free classes: