# SUMIF, COUNTIF with multiple criteria

1. ## SUMIF, COUNTIF with multiple criteria

Quick question about SUMIF and COUNTIF with multiple criteria: I've attached an example. Basically, I want to include a cell in the sum if it's value is greater than the MINPRICE value and the AVAIL value for its column is equal to 1. Is there any way to write this in one cell as a concise formula, as opposed to writing seven different SUMIF and COUNTIF functions?

Thanks for any help!  Register To Reply

2. ## Re: SUMIF, COUNTIF with multiple criteria

How do you get 15 as per your example?  Register To Reply

3. ## Re: SUMIF, COUNTIF with multiple criteria

It's arbitrary, but I included the cell because in the actual workbook the value is based on other cells.  Register To Reply

4. ## Re: SUMIF, COUNTIF with multiple criteria

So are you trying to sum all the values in columns B:H where row 53 contains a 1?

Maybe:

=SUMPRODUCT((B53:H53=1)*(B2:H52>B54),B2:H52)  Register To Reply

5. ## Re: SUMIF, COUNTIF with multiple criteria

Thanks! That worked. Can I use a similar argument to count the cells that satisfy those criteria?  Register To Reply

6. ## Re: SUMIF, COUNTIF with multiple criteria

Yes, just remove the last argument

=SUMPRODUCT((B53:H53=1)*(B2:H52>B54))  Register To Reply