sumproduct, lookup?

N

Novice

Hello. I am trying to avoid entering data on two different worksheets.

=SUMPRODUCT(--(B2:B10>0),--(B2:B10<=105)/COUNT(B2:B10))

How do I write the formula to look in column M for "b" then compute the
sumproduct formula for that row? I want to avoid adding more columns to the
worksheet.

Thanks for your help. I am learning so much from this board!
 
N

Novice

I want to calculate the percentage for when "b" apears in M2:M10
=SUMPRODUCT(--(B2:L10>0),--(B2:L10<=105)/COUNT(B2:L10))

a1 b2 c2 m2
111 b
99 s
200 s
110 b
50 b
99 s
225 b
b % = 25% (>0 and <=105 b2:l10)
 

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