M
MeritageSue
I'm not sure if I should have replied to the old message
or re-posted. Here is the issue:
want to average --having them return a value of "novalue"
if they are less than zero by using the following formula:
=IF(SUM(S23/160)>0,SUM(S23/160),"novalue")--and it is
working fine in those cells, but in the rollupo, it
doesn't seem to be making a difference the average does
not ignore those "novalue" cells when it tries to make the
average, it seems to still be counting them as 0 and
calculating those 0 cells those when figuring the
average. (one of the 12 cells has a numeric value of 25%,
the rest have a value of "novalue", the rolled up average
is shown as 2%)
Is there something I can use other than "novalue" that
would make them be ignored by the average function until
they have a true numeric value greater than 0? Or is there
some other function that will allow me to achieve the
average only of the cells with a value greater than 0?
Thanks!
or re-posted. Here is the issue:
Thanks Ron, I used your suggested formula in the cells IThe non-contiguous range makes it more difficult.
One way: AVERAGE ignores most non-numeric values. So for your formulas in the
cells you wish to average, you could substitute the formula:
=IF(YourFormula>0,YourFormula,"")
--ron
.
want to average --having them return a value of "novalue"
if they are less than zero by using the following formula:
=IF(SUM(S23/160)>0,SUM(S23/160),"novalue")--and it is
working fine in those cells, but in the rollupo, it
doesn't seem to be making a difference the average does
not ignore those "novalue" cells when it tries to make the
average, it seems to still be counting them as 0 and
calculating those 0 cells those when figuring the
average. (one of the 12 cells has a numeric value of 25%,
the rest have a value of "novalue", the rolled up average
is shown as 2%)
Is there something I can use other than "novalue" that
would make them be ignored by the average function until
they have a true numeric value greater than 0? Or is there
some other function that will allow me to achieve the
average only of the cells with a value greater than 0?
Thanks!