H
Horatio J. Bilge
Is there a way to differentiate between an empty cell and an entered value
of zero (0)?
I want to write a formula that treats an empty cell differently from a cell
in which I have entered a zero. For instance, if one of the cells in a range
is empty, the formula returns the value "Incomplete." But if all of the
cells in the range have data entered (even if the data entered is a zero),
the formula returns the sum.
My workaround is this: I've entered 1000 in all cells within the range (1000
is an order of magnitude greater than the highest possible sum). I used
conditional formatting to make the 1000 disappear (If cell value is equal to
1000, then format font white). Then I used the formula:
=IF(SUM(A1:A10)>=1000, "Incomplete", SUM(A1:A10))
This could become problematic, because a user may enter data, then delete
it, but the formula would still calculate the sum.
Horatio J. Bilge
of zero (0)?
I want to write a formula that treats an empty cell differently from a cell
in which I have entered a zero. For instance, if one of the cells in a range
is empty, the formula returns the value "Incomplete." But if all of the
cells in the range have data entered (even if the data entered is a zero),
the formula returns the sum.
My workaround is this: I've entered 1000 in all cells within the range (1000
is an order of magnitude greater than the highest possible sum). I used
conditional formatting to make the 1000 disappear (If cell value is equal to
1000, then format font white). Then I used the formula:
=IF(SUM(A1:A10)>=1000, "Incomplete", SUM(A1:A10))
This could become problematic, because a user may enter data, then delete
it, but the formula would still calculate the sum.
Horatio J. Bilge