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
 
Top