Search notes:

Excel: the boolean data type

Converting boolean values to 0 and 1

When involved in a mathematical expression, TRUE is considered to be 1 and FALSE to be 0.
Thus, with minus minus (--), a boolean value can be turned into a numerical representation.

See also

Worksheet functions:
Excel data types

Index