If formula

B

Bea

I need to average agroup of cells but IF the total is "0" in one cell then I
do not want it to be average in.... How can I do this....
Exp. Average cells K13 - L13 = cell N23 But if ANY of the cells from K13 -
L13 = ")" I do not want them to be included in the average.
 
J

Jason Morin

Assuming all numeric values in cells:

=SUM(A1:A10)/COUNTIF(A1:A10,"<>0")

HTH
Jason
Atlanta, GA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top