Problem:
Checking whether each of the values in List1 (column C) meets the following criteria:
1. The number must be even.
2. The number must be smaller than 3 or larger than 8.
Solution:
Combining the AND and OR functions in the following IF statement:
=IF(AND(MOD(A2,2)=0,OR(A2<3,A2>8)),TRUE,FALSE)
Although the IF is not needed here, since the AND and OR functions return TRUE and FALSE depending on the criteria.
=AND(MOD(A2,2)=0,OR(A2<3,A2>8))
Example:
List1____Result
2________TRUE
5________FALSE
4________FALSE
10_______TRUE
Bookmarks