Practice by topic / Excel / Combining Techniques

IF + Lookup Combos Exercises

Real spreadsheet problems usually need more than one function. These exercises nest formulas inside each other — the step that separates beginners from confident users. These 10 exercises build up step by step, starting with flag whether a looked-up price is expensive, check stock level after a lookup, determine pass/fail from a looked-up score.

3 of 10 free · no sign-up needed · graded on the formula you write

1

Flag Whether a Looked-Up Price Is Expensive

Free

A2:B4 maps Product to Price. D2 holds a product name. Write a formula in E2 that looks up the price and returns 'Expensive' if it's over 10, otherwise 'Affordable'.

ABCDE
1
2Widget9.99Gadget?
3Gadget14.5
4Gizmo7.25
Show the solution

Nest VLOOKUP inside IF's condition: =IF(VLOOKUP(D2,A2:B4,2,FALSE)>10,"Expensive","Affordable")

Right — wrapping VLOOKUP inside IF lets you classify the looked-up value directly.

Expected result in E2: Expensive

Try it in the live spreadsheet →
2

Check Stock Level After a Lookup

Free

A2:B4 maps Product to Stock Count. D2 holds a product name. Write a formula in E2 that looks up the stock count and returns 'Reorder' if under 10, otherwise 'OK'.

ABCDE
1
2Widget5Gizmo?
3Gadget40
4Gizmo8
Show the solution

Use =IF(VLOOKUP(D2,A2:B4,2,FALSE)<10,"Reorder","OK")

Good — this pattern combines a lookup with a business-rule threshold in one formula.

Expected result in E2: Reorder

Try it in the live spreadsheet →
3

Determine Pass/Fail From a Looked-Up Score

Free

A2:B4 maps Student to Score. D2 holds a student name. Write a formula in E2 that looks up their score and returns 'Pass' if 60+, otherwise 'Fail'.

ABCDE
1
2Alex55Alex?
3Sam82
4Priya91
Show the solution

Use =IF(VLOOKUP(D2,A2:B4,2,FALSE)>=60,"Pass","Fail")

Right — this combines a name-based lookup with a pass/fail threshold check.

Expected result in E2: Fail

Try it in the live spreadsheet →
4

Determine Free Shipping Eligibility From a Looked-Up Order Total

A2:B4 maps Order ID to Total. D2 holds an order ID. Write a formula in E2 that looks up the total and returns 'Free Shipping' if 75+, otherwise 'Paid Shipping'.

ABCDE
1
2ORD190ORD3?
3ORD240
4ORD375

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
5

Flag a Looked-Up Rating as Featured

A2:B4 maps Product to Rating. D2 holds a product name. Write a formula in E2 that looks up the rating and returns 'Featured' if 4.5 or higher, otherwise 'Standard'.

ABCDE
1
2Widget4.8Gizmo?
3Gadget3.9
4Gizmo4.5

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
6

Determine Discount Eligibility From a Looked-Up Tenure

A2:B4 maps Customer to Years as Member. D2 holds a customer name. Write a formula in E2 that looks up tenure and returns 'Loyalty Discount' if 3+ years, otherwise 'No Discount'.

ABCDE
1
2Chen5Lena?
3Diego1
4Lena3

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
7

Classify a Looked-Up Response Time as Within SLA

A2:B4 maps Ticket to Response Hours. D2 holds a ticket ID. Write a formula in E2 that looks up the response time and returns 'Within SLA' if 4 or under, otherwise 'SLA Breach'.

ABCDE
1
2T12T2?
3T26
4T34

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
8

Determine a Grade Band From a Looked-Up Score

A2:B4 maps Student to Score. D2 holds a student name. Write a formula in E2 that looks up the score and returns 'Honors' if 90+, otherwise 'Standard'.

ABCDE
1
2Alex95Alex?
3Sam82
4Priya91

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
9

Flag a Looked-Up Balance as Overdrawn

A2:B4 maps Account to Balance. D2 holds an account name. Write a formula in E2 that looks up the balance and returns 'Overdrawn' if negative, otherwise 'OK'.

ABCDE
1
2Acc1-50Acc1?
3Acc2200
4Acc30

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →
10

Determine Bulk Pricing Eligibility From a Looked-Up Quantity

A2:B4 maps Order to Quantity. D2 holds an order ID. Write a formula in E2 that looks up the quantity and returns 'Bulk Rate' if 50+, otherwise 'Standard Rate'.

ABCDE
1
2O120O3?
3O260
4O350

Solution and instant grading: open it in the practice app (use one of your 20 free picks, or Pro).

Try it in the live spreadsheet →