View Single Post
  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Mike

Type =AVERAGE(IF(A1:A10<0,A1:A10)) into a cell.

This is an array formula

Enter using CTRL + SHIFT + ENTER and Excel will place curly brackets around
like this.

{=AVERAGE(IF(A1:A10<0,A1:A10))}


Gord Dibben Excel MVP


On Sat, 22 Jan 2005 10:07:06 -0800, "Mikewoodmsw"
wrote:

I am using the AVERAGE function but if i have two cells where one is "0" how
do I get it to preserve the first value rather than halving it?
E.G
what I need it to do is:
3+3 = 6, average score = 3
5+0 = 5 average score = 5