I´m using the ISBLANK
function to determine whether a cell is empty or not. But the ISBLANK
function responses a bit odd when the following is happening:
When a cell is formatted to have plain text (Menu Format, Number, Plain Text), and the content of that cell is deleted, the
ISBLANK
function considers the cell to be "filled" aka returningTRUE
. TheLEN
function returns zero. AddingIFERROR(1/0)
will yield inFALSE
again.
Is it possible to obtain the state of that cell in either Google Spreadsheet or Google Apps Script, so that I can build a function (in GAS) that covers this phenomenon as well.
See example file I've prepared: ISBLANK returning TRUE for empty cell