View Single Post
  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

1]

=SUM(G34:V34)/MAX(1,COUNT(G34:V34)-COUNTIF(G34:V34,0))

2]

=IF(COUNT(G34:V34)5,AVERAGE(LARGE(G34:V34,{1,2,3, 4,5})),AVERAGE(G34:V34))

Geo wrote:
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?