If I insert
=""
in cell A1 and
=2
in cell B1, then when I insert
=A1*B1
in cell C1, I do not get 0. Does not "" correspond to an empty cell?
No; and ISBLANK() returns false for such cells. In addition to ="", I
tried entering a blank space, ' (apostrophe followed by nothing else),
=if(true,"") and =" ", and none works in a simple arithmetic expression
(e.g. 1*A1). You could use something like:
=B1*if(isnumber(A1), A1, 0)
However, I discovered that SUM(A1) returns zero in all cases (at least
in Office Excel 2003). So you could try:
=B1*sum(A1)
[Arrgghh! That might appear to give some justification for all the
nonsensical uses of SUM(), e.g. SUM(A1+B1). But in fact, only SUM(A1)
results in zero in all of the above cases, not for example SUM(1*A1).]