View Single Post
  #4   Report Post  
REW2705
 
Posts: n/a
Default Average If Adejecent Cells Greater Than Zero

Never mind, it worked

"REW2705" wrote:

I have a have multiple worksheets that contain data i would like to calculate
some averages for. Down one column is BF, LN, DN, SCK, TOT repeated, and the
adjecent cell contains a value I currently have the average for Breakfast as
=(SUMIF(August!$J$2:$J$91,"BF",August!$K$2:$K$91))/COUNTIF(August!$J$2:$J$91,"BF"),
howver the count function still counts cells that have zero values, I would
like the average of only the non-zero cells. Any ideas????