multiple criteria for count if

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am trying to count the number of rows over 90 in column c that also have a
1 in column d

i have tried
=SUMPRODUCT(--(C5:C301>="90"),--(D5:D301="1"))

and only get 0 as an output

what am i doing wrong?
 
This should work. Note there are no "".
=SUMPRODUCT(--(C5:C301>=90),--(D5:D301=1))
 
Hi gtsch

="90" looks for text
whereas =90 looks for numbers

Drop the double quotes and your formulae should work.
 

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