I've got the following formula
=if(sum(b1:b5)>1, "Yes")
If that equates to true the formula will input "Yes" into the cell.
If that equates to false the formula will input "FALSE" into the cell, this is Google sheet's default action.
To prevent the word "FALSE" being used, I could update the formula to the following :
=if(sum(b1:b5)>1, "Yes", "")
If that equates to true the formula will input "Yes" into the cell.
If that equates to false the formula will input "" into the cell, the problem is that "" is still a string, this will make other formulas like ISBLANK()
or COUNTA
behave seemingly incorrectly. I know there are ways around this with these other formulas, but it feels more semantic to get to the root of the problem in the IF()
formula, rather than try and fix it downstream with another formula.
Is there a way to get the IF()
statement to output nothing if it returns false ?