Comparisons: TRUE or FALSE

1 / 5

A comparison asks a yes-or-no question. Excel answers TRUE (yes) or FALSE (no).

keyboard Typing formulas is easiest on a computer with a keyboard.

A1
ABCD
1NameScorePassed?
2Tariq71
3Nadia59
4Daniel50
5Quinn74
6Jamal42
7Isla43
8
9
10
11
12
TRUE or FALSE
Type to enter a value or a formula starting with =. F2 edits, F4 adds $ to a reference.
Study notes

In a bit more detail

  • What is a comparison?

    A yes-or-no question. Excel answers TRUE (yes) or FALSE (no).

  • Which signs can you use?

    • > more than, < less than
    • >= more than or equal to (at least), <= less than or equal to (at most)
    • = equal to, <> not equal to
  • What about the edges?

    =B2>=50 asks "is B2 at least 50?". Watch the edges: 50>50 is FALSE, but 50>=50 is TRUE.

Know someone fighting with a spreadsheet? Send them this page.