TRUE and FALSE comparisons

Decisions with IF · About 4 minutes

TRUE and FALSE comparisons

A comparison asks the sheet a yes-or-no question. The answer is always TRUE or FALSE.

Exercise 1 of 4 · Worked example

In D2, check whether Priya passed Test 1 (40 or more). Type =B2>=40 and press Enter.

ABCD
1StudentTest 1Test 2Passed Test 1?
2Priya7281 (answer cell)
3Arjun3845
4Meena4036
5Ravi5555
6Farhan2941

Questions people ask

How do I type "not equal to" in Excel?

Type a less-than sign and then a greater-than sign: <>. =B2<>"Paid" is TRUE when B2 says anything else.

What does >= mean in Excel?

Greater than or equal to. =B2>=50 is TRUE for 50 and anything above it.

Why does my formula show TRUE or FALSE instead of a value?

A comparison on its own only answers yes or no. To show your own words or numbers, put it inside IF.

Is Excel's = comparison case-sensitive?

No. ="apple"="APPLE" is TRUE. Use EXACT when case matters.

How do I check if two cells are equal?

Type =A2=B2. It shows TRUE when they match and FALSE when they don't.

How do I compare two columns row by row?

=A2=B2 gives TRUE when the two cells match and FALSE when they don't. Fill it down to check every row.

Theme