View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Need Help 123
 
Posts: n/a
Default need to count/average if...

I want a function that will 1st off only look at numbers if they are next to
a cell with the label "case summary". 2nd I want an average of those numbers,
but I dont want to count any cells that have no number entered in them at
all... but I do want to count all cells that have numbers, including the
number 0% entered in them.

I tried using the following but I think it may be counting cells with no
numbers in them and thus lowering the average??? or maybe its a different
problem?

=AVERAGE(IF(B2:B124="Case Summary",C2:C124, "")) and hit control shift enter.