If cell is left blank, or equals zero, then cell equals a differen
Say we have a column of values that may contain either blanks or zeros. We
want to average only the non-zero, non-blank values:
=SUM(A:A)/COUNTIF(A:A,"0")
--
Gary''s Student - gsnu200714
"John McMurry" wrote:
I'm working on a relatively easy spreadsheet and just can't figure
this one out.
I'd like the average of the column (which I already have a cell for)
to represent any cell in which the user doesn't enter a number, or
enters zero.
Also, I'd like this cell to be differentiated (highlighted, different
color font, etc.) so as to know when this condition is used.
Many thanks,
John
|