Use the IF function, one of the logical functions, to return one value if a condition is true and another value if it's false.