Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iferror and isblank in the same expression

How can I put isblank and iferror in the same expression. If a cell is blank or if it has an error in it, I should do something.

Thanks!

like image 544
Sam Avatar asked Jan 25 '26 12:01

Sam


1 Answers

Here's an example formula.

=IF(OR(ISERROR(C20),ISBLANK(C20)),"It is True", "It is False")

Using OR allows you to use two logical checks in the same IF. Just make sure the value in your ISERROR and ISBLANK are the same.

Replace C20 with what you are checking, and replace "It is True" with what you want to do, if it is blank or an error.

like image 196
Daniel Avatar answered Jan 28 '26 06:01

Daniel