Cellgrids Cellgrids
Home › Practice questions › OR › Question 5

Excel OR Practice Question: Write Fail if any of the three marks is below 35, otherwise Pass. Put it in E2…

By Rinkesh Shah, founder of Cellgrids.

The question

Write Fail if any of the three marks is below 35, otherwise Pass. Put it in E2 to E4.

The data

ABCDE
1NameMathsScienceEnglishResult
2Rahul607055?
3Priya803090?
4Amit346060?

The yellow cells are where your answer goes.

Show answer

Expected results:

  • E2 = Pass
  • E3 = Fail
  • E4 = Fail

How it works

Explanation: OR can take many conditions. One failing mark is enough to fail the student.
Syntax: =IF(OR(B2<35,C2<35,D2<35),"Fail","Pass")
Rahul has no mark below 35: Pass. Priya has 30 in Science: Fail. Amit has 34 in Maths: Fail.

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