Question 1 of 10
=IF(condition, value_if_true, value_if_false)Type the following IF statement that returns the word "Rich" if the value in cell B3 is greater than $100,000 and otherwise returns "poor".
=IF(B3>100000, "Rich", "Poor")
Remember that in Excel, text goes inside quotation marks, but numbers do not.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Name: | Tom | ||
| 2 | Age: | 49 | ||
| 3 | Money: | $108,155 | ||
| 4 | Status: | |||
| 5 |
IF Function - Free Excel Practice Online
This free, interactive exercise teaches you IF Function in Excel through 10 hands-on steps. Instead of watching a video, you type the real formula into a live spreadsheet grid and get instant feedback on every answer. It is part of the Logical Functions track and works right in your browser - no Excel install, no download, and no signup.
Practising IF Function this way builds the muscle memory that transfers straight to using Excel at work, in interviews, or for certification prep. Work through the steps above, then keep going with the next lesson to build a complete, free Excel practice course.
What you'll practice in this IF Function lesson
- IF statements in Excel evaluate a condition and return one value if the condition is true and another value if the condition is false:=IF(condition, value_if_true, value_if_false)Type the following IF statement that returns the word "Rich" if the value in cell B3 is greater than $100,000 and otherwise returns "poor".=IF(B3>100000, "Rich", "Poor")Remember that in Excel, text goes inside quotation marks, but numbers do not.
- What would the formula =IF(B3>100000, "Rich", "Poor") return?In other words, what is the result of the formula?
- Each dog gets two scoops of food if it weighs greater than 30 lbs, and otherwise gets one scoop of food.Write an IF statement that returns the number of scoops Lilly gets.
- What would =IF(B3>30, 2, 1) return?
- If a dog's age is greater than or equal to 10, it gets 2 vaccinations, otherwise it gets 3.Write an IF statement to determine the number of vaccinations Fluffy gets.
- What would =IF(B2>=12, 2, 3) return?
- A movie theater charges $12 per ticket, but charges $8 for anyone age 65+.Write an IF statement to determine the price of Susan's ticket.
- What would =IF(B5>=65, 8, 12) return?
- What would =IF(B5>65, 8, 12) return?
- What would =IF(B4>=65, 8, 12) return?
IF Function practice - FAQ
How do I practice IF Function in Excel?
Open this free LogicExcel exercise and work through 10 interactive steps. You type the real formula into a live spreadsheet grid and get instant feedback on whether it is correct, plus an explanation - no Excel install and no signup needed.
Is the IF Function exercise free?
Yes. Every LogicExcel exercise is 100% free with no account required. Your progress saves automatically in your browser.
What will I learn in this IF Function lesson?
This lesson covers IF Function as part of the Logical Functions track. You practice the syntax step by step until it becomes muscle memory you can use at work.