average of percentages between 1% and 100% in a column

  • Thread starter Thread starter SteveMac
  • Start date Start date
S

SteveMac

Hello,

I am trying to get the average of percentages within a
column, but would like to exclude 0% and 100% from the
formula. This is the formula I thought would work:

{=AVERAGE(IF(AND(L1:L988>0,L1:988<100)))}

(I read in an earlier post to hit ctrl+shift+enter to
apply this type of formula)

Thanks!
 
Here is a way using sumproduct that does NOT need array entering
=SUMPRODUCT((E1:E100>0)*(E1:E100<1)*E1:E100)/SUMPRODUCT((E1:E100>0)*(E1:E100
<1))
or array enter this
=AVERAGE(IF((E1:E100>0)*(E1:E100<1),E1:E100))
 

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

Back
Top