SUMPRODUCT

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

Guest

I am trying to create a formula to count the number of text entries in that
match two criteria. This is as far as I have been able to go. Both fields are
text.

=SUMPRODUCT('Main'!A1:A1884<>"")*('Main'!C1:C1884="STHHH")
 
Think you were just missing the outer parens:
=SUMPRODUCT((Main!A1:A1884<>"")*(Main!C1:C1884="STHHH"))
 
Try:

=SUMPRODUCT(('Main'!A1:A1884<>"")*('Main'!C1:C1884="STHHH"))

or the somewhat more efficient

=SUMPRODUCT(--('Main'!A1:A1884<>""),--('Main'!C1:C1884="STHHH"))
 
DUH! What can I say, it's Friday and the brain is already on the weekend.

Thanks for the quick response.
 
An extra pair of parenthesis should do it


=SUMPRODUCT((Main!A1:A1884<>"")*(Main!C1:C1884="STHHH"))

Mike

Mike
 

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