Count if two arguments are true

L

LWilson

I have data where there are dollar amounts as well as categories that I'd
like to calculate the dollar amount if two conditions are met.

I'd like to count the number of items that are in the category "Repo" AND
are greater than $250?

I have no formula yet. Can someone please help?
 
B

Bob Umlas

=SUMPRODUCT(N(A1:A100="Repo"),N(B1:B100>250))
adjust the ranges to fit your needs.
Bob Umlas
Excel MVP
 
L

LWilson

Thanks...I think this will do the trick!


Bob Umlas said:
=SUMPRODUCT(N(A1:A100="Repo"),N(B1:B100>250))
adjust the ranges to fit your needs.
Bob Umlas
Excel MVP
 

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