In a spreadsheet I'm using, some of the possibilities for a cell is being blank, having the number zero, or having a non-zero number, or having a string.
If I want to test if the cell is zero, but is not blank, I currently do
=IF(AND(B2=0,LEN(B2)>0),foo,bar)
Is there a way of replacing the two conditionals with one conditional?