Thread: AVG Formula
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default AVG Formula

On Thu, 1 Jul 2004 16:53:41 -0700, "Steve" wrote:

I am looking to write an AVG function that doesn't count
cells with zero's in it. The information is all in one
column. Some cells just habve no info. Can anyone help?


Thanks,
Steve


Use the array formula:

=AVERAGE(IF(rng<0,rng))

To enter an array formula, hold down <ctrl<shift while hitting <enter. XL
will place brackets {...} around the formula.


--ron