This document describes logical and conditional functions in Excel including AND, OR, XOR, TRUE, FALSE, NOT, IF, IFERROR, and IFNA. It provides the function name, description of what the function does, and examples of how each function evaluates logical conditions and returns TRUE, FALSE, or other specified values.
This document describes logical and conditional functions in Excel including AND, OR, XOR, TRUE, FALSE, NOT, IF, IFERROR, and IFNA. It provides the function name, description of what the function does, and examples of how each function evaluates logical conditions and returns TRUE, FALSE, or other specified values.
AND To determine if all conditions in a test are TRUE. FALSE
Use the OR function, one of the logical functions, to OR TRUE determine if any conditions in a test are TRUE. The XOR function returns a logical Exclusive Or of all arguments. The result of XOR is TRUE when the number of XOR TRUE TRUE inputs is odd and FALSE when the number of TRUE inputs is even. TRUE Return the conditional function as True TRUE FALSE Return the conditional function as false FALSE Use the NOT function, one of the logical functions, when NOT TRUE you want to make sure one value is not equal to another. The IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and what you expect. IF Incorrect So an IF statement can have two results. The first result is if your comparison is True, the second if your comparison is False. To trap and handle errors in a formula. IFERROR returns a value you specify if a formula evaluates to an error; otherwise, it returns the result of the formula. The value to IFERROR 1 return if the formula evaluates to an error. The following error types are evaluated: #N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!. The IFNA function returns the value you specify if a formula IFNA returns the #N/A error value; otherwise it returns the Please Check result of the formula. Sample Table 5 5 5 5 4 4