© Mandeep Mehta 2021
M. MehtaMicrosoft Excel Functions Quick Referencehttps://doi.org/10.1007/978-1-4842-6613-7_8

8. Logical Functions

Mandeep Mehta1  
(1)
Mumbai, India
 

In this chapter, we will look at some of the logical functions provided by Excel. Logical functions evaluate a condition and return TRUE or FALSE depending on the result.

Let us look at some of the most commonly used logical functions of Excel.

IF Function

The IF function is used to evaluate a condition and return one value if the condition is true and another value if the condition is false.

Syntax

=IF(condition, true value, false value)
The IF condition takes three arguments, as follows:
  • The first argument is the condition to be evaluated.

  • The second argument is the value that is returned ...

Get Microsoft Excel Functions Quick Reference: For High-Quality Data Analysis, Dashboards, and More now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.