Cellgrids Cellgrids
Home › Practice questions › OR › Question 7

Excel OR Practice Question: A customer is VIP if the level is Gold or Platinum and the spend is 1000 or…

By Rinkesh Shah, founder of Cellgrids.

The question

A customer is VIP if the level is Gold or Platinum and the spend is 1000 or more, otherwise Regular. Put it in D2 to D4.

The data

ABCD
1NameLevelSpendType
2RahulGold1500?
3PriyaSilver2000?
4AmitPlatinum800?

The yellow cells are where your answer goes.

Show answer

Expected results:

  • D2 = VIP
  • D3 = Regular
  • D4 = Regular

How it works

Explanation: OR checks the level (either one is fine), and AND then makes the spend condition necessary too.
Syntax: =IF(AND(OR(B2="Gold",B2="Platinum"),C2>=1000),"VIP","Regular")
Rahul is Gold with 1500: VIP. Priya is Silver: Regular. Amit is Platinum but spent only 800: Regular.

Try it yourself in the live sheet

Type your formula in the highlighted cell and get instant feedback. Free, no Excel install needed.

Try this question in the live sheet →

OR syntax

=OR(logical1, [logical2], ...)

Returns TRUE if at least one condition given is true. OR is used to build decision rules directly into a spreadsheet instead of manually judging each row. Full OR guide.

More OR practice questions

All practice questions · Excel exercises · Interview prep · Cheat sheet