AND Function:
IF(AND(logic1, logic2, logic3…), true value, false value)
If all of the logic is “true,” then it will return “true value.” If any of the logic is “false,” then it will return “false value.”
OR Function:
IF(OR(logic1, logic2, logic3…), true value, false value)
It will return “true value” if any of the logic is “true,” and “false value” if all of the logic is false.
NOT Function:
IF(NOT(logic), true value, false value)
When logical is “false,” it will return “true value.” When logical is “true,” it will return “false value.”
Example: If a student scores less than 80 on both Science and Mathematics exams, or even on one subject, the status should be “Fail.”
Formula: IF(AND(Science>=80, Mathematics>=80), "Pass","Fail")