Cellgrids Cellgrids
Home › Practice questions › OR › Question 1

Excel OR Practice Question: Write Weekend if the day is Sat or Sun, otherwise Weekday. Put it in C2 to C4.

By Rinkesh Shah, founder of Cellgrids.

The question

Write Weekend if the day is Sat or Sun, otherwise Weekday. Put it in C2 to C4.

The data

ABC
1NameDayType
2RahulSat?
3PriyaMon?
4AmitSun?

The yellow cells are where your answer goes.

Show answer

Expected results:

  • C2 = Weekend
  • C3 = Weekday
  • C4 = Weekend

How it works

Explanation: OR is TRUE when at least one of the conditions is true.
Syntax: =IF(OR(B2="Sat",B2="Sun"),"Weekend","Weekday")
Sat is Weekend. Mon is Weekday. Sun is Weekend.

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