< Go Back

IF Cell is Blank or Not Blank

Generally, Excel IF function evaluates where a cell is Blank or Not Blank to return a specified value in TRUE or FALSE arguments. Moreover, IF function also tests blank or not blank cells to control unexpected results while making comparisons in logical_test argument or making calculations in TRUE/FALSE arguments because Excel interprets blank cell as zero, and not as an empty or blank cell.

Syntax of IF function is;

IF(logical_test, value_if_true, value_if_false)

 

In IF statement to evaluate whether the cell is Blank or Not Blank, you can use either of the following approaches;

  • Logical expressions Equal to Blank (=””) or Not Equal to Blank (<>””)

 

  • ISBLANK function to check blank or null values. If cell is blank then it returns TRUE, else returns FALSE.

Following examples will explain the difference to evaluate Blank or Not Blank cells using IF statement.

 

Blank Cells

To evaluate the cells as Blank you need to use either logical expression Equal to Blank (=””) of ISBLANK function in logical_test argument of IF formula. In both methods logical_test argument returns TRUE if cell is Blank, otherwise it returns FALSE if cell is Not Blank

For example you need to evaluate that if a cell is Blank then return blank value, otherwise return a value “Delivered”. In both approaches, following would be the IF formula;

=IF(C2="","","Delivered")

OR

=IF(ISBLANK(C2),"","Delivered")

In both of the approaches, logical_test argument returns TRUE if cell is Blank, and value_if_true argument returns blank value, otherwise value_if_false argument returns value “Delivered”.

Not Blank Cells

To evaluate the cells as Not Blank you need to use either logical expression Not Equal to Blank (<>””) of ISBLANK function in logical_test argument of IF formula. In case of logical expression Not Equal to Blank (<>””) logical_test argument returns TRUE if cell is Not Blank, otherwise it returns FALSE. In case of ISBLANK function logical_test argument returns FALSE if cell is Not Bank, otherwise it returns TRUE if cell is blank.

For example you need to evaluate that if a cell is Not Blank then return a value Delivered, otherwise return a blank value. In both approaches, following would be the IF formula;

=IF(C2<>"","Delivered","")

In this approach logical expression Not Equal to Blank (<>“”) returns TRUE in logical_test argument if cells is Not Blank, and value_if_true argument returns a value “Delivered”, otherwise value_if_false argument a blank value.

OR

=IF(ISBLANK(C2),"","Delivered")

This approach is opposite to first one above. In IF formula, ISBLANK function returns FALSE in logical_test argument if cell is Not Blank, so value_if_true argument returns blank value and value_if_false argument returns a value “Delivered”.

Our customers love us!
“The expert was absolutely amazing and stuck with me the whole way through. They were polite, patient, seemed to want to genuinely help me and provided a solution that I would never have managed otherwise. I could not be more thankful for their support and solution. Thank you!” - - Chris T, in California

Leave a Comment

avatar