Explanation

The goal is to display a blank cell based on a specific condition.

If the value in column B is anything else, we want to display nothing.

It is important to understand that the IF function is not case-sensitive.

Excel formula: If cell is blank

However, numeric valuesshould notappear in quotes.

Note if you jot down "" directly into a cell in Excel, youwill seethe double quote characters.

In other words, while you would expect ISBLANK to return TRUE, it actually returns FALSE.

Excel formula: If cell is not blank

More than one condition can be tested by nesting IF functions.

For example, if A1 contains “apple”, ISBLANK(A1) returns FALSE.

COUNTBLANK Function

The Excel COUNTBLANK function returns a count of empty cells in arange.

Excel formula: If cell is greater than

Cells that contain text, numbers, errors, spaces, etc.

Formulas that return empty strings ("")arecounted as blank.

The IF function

Excel formula: Only calculate if not blank

Excel IF function

Excel ISBLANK function

Excel COUNTBLANK function

Article image