Thread: average if zero
View Single Post
  #4   Report Post  
Gary Brown
 
Posts: n/a
Default

Did you remember to make it an array (ctrl-shift-enter)?
I tested it. It works.
HTH,
Gary Brown


"Lori Hornick" wrote:

I've swapped out * for + but the zeros are still being calculated in and
reducing the average I need to see.

"Gary Brown" wrote:

substitute * for +
=average(if((A1:A4="Jones")*(C1:C4"0"),C1:C4))
HTH,
Gary Brown


"Lori Hornick" wrote:

I'm looking for a formula similar to the following, but one that works.

=average(if((A1:A4="Jones")+(C1:C4"0"),C1:C4))

Column A represent sales rep column, and I want to see the average sales for
all cells that have data entered in column C.

I've tried the ctrl+shift+enter, but it's still averaging with zeros, so
something is wrong with my formula.

Thank you.
--
Lori