=IF(SUM(G34:V34)=0,"",SUM(G34:V34)/COUNTIF(G34:V34,"<0"))
and
=AVERAGE(LARGE(G34:V34,{1,2,3,4,5}))
--
HTH
-------
Bob Phillips
"Geo" wrote in message
...
Hi,
I have the formula =SUM(G34:V34)/COUNTIF(G34:V34,"<0") Which does a great
job averaging the data as long as there is a numeric value in one of the
cells. However, if there are no numbers I get a div/o error. Is there a
fix
to that?
Question 2; Is there a way to average say the 5 highest values in the
G34:V34 row?
--
Geo
|