CountIf or sumproduct

G

Guest

I need a countif or sumproduct formula that can count a number of values
based on a multiple criteria.

Count range: D:D column
Criteria: Count the number of cells that are greater than 0 and less than
200 in column H:H, that also have a the word "BUY" in coulmn B:B.

Any help would be appreciated.
 
R

Ragdyer

Unless you're using XL07, you can't use entire rows (B:B, H:H) in your
SumProduct formula.

Try this:

=SUMPRODUCT((B1:B1000="Buy")*(H1:H1000>0)*(H1:H1000<200)*(D1:D1000<>""))
 

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

Similar Threads

Excel Sumproduct 0
Sumproduct question 4
Excel Need Countifs Formula Help 0
Counting Cells with Multiple Range Criteria (Excel 2003) 7
Finding lowest count in any column 12
SUMPRODUCT 7
COUNTIF Function on filtered data 2
SumProduct + CountIf 2

Top