In Excel 2016, a cell with formula which is not yet calculated appears blank. But still ISBLANK returns False.
I am trying to find a way to return True for the cell having formula which is not yet calculated and is actually Blank.
Can someone help me please.
Thanks in Advance!
In case anyone else is having trouble with this, I found a solution.
If a formula returns an empty string, you can't use ISBLANK() because the presence of the formula makes the cell not functionally blank, even if it is visually blank.
But, you can use IF() and LEN() to test how many characters are in the cell. LEN() is a function that counts the number of characters present in a cell. A visually blank cell will have no characters to count.
=IF(LEN(A1)=0, "This cell is blank", "This cell contains characters")
As per previous comments, ISBLANK will return FALSE even if your formula in cell C1 returns an empty string (""). ISBLANK will return TRUE only when a given cell is "truly" blank, i.e. does not contain any formulas or values.
As an alternative, try the following functions:
=C1="" <- will return TRUE, assuming that formula in C1 returns an empty string ("")
=OR(ISBLANK(C1),C1="") <- both formulas combined; will also work in case you remove your original formula from cell C1
=NOT(ISNUMBER(C1)) <- will return TRUE in case the result of your numeric formula is empty (e.g. =IF(LEN(A1),A1+B1,""))
One more formula that you may find useful:
=ISFORMULA(C1)
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With