0% found this document useful (0 votes)
18 views

Excell Logical Functions

Logical functions in Excel return TRUE or FALSE values and include AND, OR, and NOT functions. The IF function checks conditions and returns one value if true and another if false. New in Excel 2019 is the IFS function that can run multiple logical tests without nesting IF statements. Functions like IFERROR and IFNA are used to trap and handle errors in formulas.

Uploaded by

er
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Excell Logical Functions

Logical functions in Excel return TRUE or FALSE values and include AND, OR, and NOT functions. The IF function checks conditions and returns one value if true and another if false. New in Excel 2019 is the IFS function that can run multiple logical tests without nesting IF statements. Functions like IFERROR and IFNA are used to trap and handle errors in formulas.

Uploaded by

er
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Logical Functions

Excel’s logical functions are a key building block of many advanced formulas. Is it Green?
Logical functions return the boolean values TRUE or FALSE. If you need a
primer on logical formulas, this video goes through many examples.

AND, OR and NOT


The core of Excel’s logical functions are the AND function, the OR func-
tion, and the NOT function. In the screen below, each of these function is
used to run a simple test on the values in column B:

IF and IFS functions


The IF function is one of the most used functions in Excel. In the screen VIDEO
below, IF checks test scores and assigns “pass” or “fail”:
How to build
logical formulas

GUIDE
50 examples of
formula criteria
The logical functions above can be combined with the IF function to create
more complex logical tests. Alternatively, multiple IF functions can be
nested together to return more than two values as a result.

101 EXCEL FUNCTIONS 11


New in Excel 2019 and Office 365, the IFS function can run Quick Navigation
multiple logical tests without nesting IFs. ABS AGGREGATE AND
AVERAGE AVERAGEIF
AVERAGEIFS CEILING
CHAR CHOOSE CLEAN
CODE COLUMN COLUMNS
CONCAT CONCATENATE
CONVERT COUNT COUNTA
COUNTBLANK COUNTIF
COUNTIFS DATE DATEDIF
DAY EDATE EOMONTH
EXACT FILTER FIND
FLOOR GETPIVOTDATA
HLOOKUP HOUR
HYPERLINK IF IFERROR
IFNA IFS INDEX INDIRECT
INT ISBLANK ISERROR
ISEVEN ISFORMULA
ISLOGICAL ISNUMBER
ISODD ISTEXT LARGE
IFERROR and IFNA LEFT LEN LOOKUP LOWER
The IFERROR function and IFNA function can be used as a simple way to MATCH MAX MAXIFS
trap and handle errors. In the screen below, VLOOKUP is used to retrieve MID MIN MINIFS MINUTE
cost from a menu item. Column F contains just a VLOOKUP function, with MOD MODE MONTH
no error handling. Column G shows how to use IFNA with VLOOKUP to MROUND NETWORKDAYS
display a custom message when an unrecognized item is entered. NOT NOW OFFSET OR
PROPER RAND RANDARRAY
RANDBETWEEN RANK
REPLACE RIGHT ROUND
ROUNDDOWN ROUNDUP
ROW ROWS SEARCH
SECOND SEQUENCE
SMALL SORT SORTBY
SUBSTITUTE SUBTOTAL
SUM SUMIF SUMIFS
SUMPRODUCT TEXT
TEXTJOIN TIME TODAY
TRANSPOSE TRIM
UNIQUE UPPER VLOOKUP
WEEKDAY WEEKNUM
Whereas IFNA only catches an #N/A error, the IFERROR function will catch WORKDAY XLOOKUP
any formula error. XMATCH YEAR YEARFRAC

Table of Contents

101 EXCEL FUNCTIONS 12

You might also like