K 
		
								
				
				
			
		Kelly
I need a formula to average the following.
A B C D
1 100 0 90 0 =95
I need it to average only numbers > 0.
				
			A B C D
1 100 0 90 0 =95
I need it to average only numbers > 0.
1>0,A1:A1))
1>0,A1
1))
1=0,0,AVERAGE(IF(A1
1>0,A1
1)))
1,">0"),AVERAGE(IF(A1
1>0,A1
1)),"")
1,">0")/MAX(1,COUNTIF(A1
1,">0"))[...]Kelly said:If they all = 0 I get #DIV/0!. Is there any way to return
just 0?

1>0,A1
1))...Kelly, like this (entered as an array):
=IF(A11=0,0,AVERAGE(IF(A1
1>0,A1
1)))
1, what does this
1 contains {0,100,90,0}? The first argument to IF is