Thread: countif
View Single Post
  #1   Report Post  
Renee - California
 
Posts: n/a
Default countif

I have a summarizing section of a worksheet in which I need to get an average
for a range of
cells:(N13+X13+AH13+AR13+BB13+BL13+BV13+CF13+CP13+ CZ13+DJ13+DT13+ED13+EN13+EX13+FH13+FR13+GB13+GL13+ GV13+HF13+HP13+HZ13+IJ13)

I need to put a condition on it that the average is based on only the cells
with a value though. So I was thinking that I'd add on a countif condition
to get the number it divides by.

(N13+X13+AH13+AR13+BB13+BL13+BV13+CF13+CP13+CZ13+D J13+DT13+ED13+EN13+EX13+FH13+FR13+GB13+GL13+GV13+H F13+HP13+HZ13+IJ13)/COUNTIF(N13,"0")

This only says if N13 is greater than zero, but I have all the other cells
that need be spedified as greater than zero as well. How do I do this
function??