## Logic

Excel » Basic formulas » Logic »

If cell has value

The easiest way to check if a cell has a value is, in my opinion, to use the equal sign […]

If cell contains any text

The picture above shows different values in column B and a formula in column C that tries to identifies the […]

If cell contains multiple values

The array formula in cell C3 checks if text string in B3 contains all values in F2:F3.

If cell equals value from list

Regular formula Formula in cell C3: =IF(COUNTIF(\$E\$3:\$E\$5,B3),"Yes","No") The COUNTIF function counts how many values in E3:E5 match cell B3, it returns […]

If cell contains text from list

This article demonstrates several ways to check if a cell contains any value based on a list. The first example […]

If cell contains text

This article demonstrates different formulas based on if a cell contains a given text. Formula in cell C3: =B3=\$E\$3 The […]

Use IF + COUNTIF to evaluate multiple conditions

The image above demonstrates a formula that matches a value to multiple conditions, if the condition is met the formula […]

IF function with AND function – multiple conditions

The AND function allows you to have multiple conditions in an IF function, you can have up to 254 arguments. […]

How to simplify nested IF functions

Nested IF statements in a formula are multiple combined IF functions so more conditions and outcomes become possible. They all are […]