Multi Criteria Countif

H

hokiebird2008

I have a sheet with one column containing either "Open" or "Closed" and
another column with numbers ranging from "09-001" to "10-999". I need to
count the number of entries that are "Open" but only for the numbers ranging
from "10-000" to "10-999". Any suggestions?
 
M

Mike H

Hi,

=SUMPRODUCT((A1:A10="Open")*(ISNUMBER(--(RIGHT(B1:B10,FIND("-",B1:B1)+1)+0<1000))))

Mike
 
G

Glenn

hokiebird2008 said:
I have a sheet with one column containing either "Open" or "Closed" and
another column with numbers ranging from "09-001" to "10-999". I need to
count the number of entries that are "Open" but only for the numbers ranging
from "10-000" to "10-999". Any suggestions?

=SUMPRODUCT((A1:A10="Open")*
(--SUBSTITUTE(0&B1:B10,"-","")>=10000)*
(--SUBSTITUTE(0&B1:B10,"-","")<=10999))
 
T

T. Valko

numbers ranging from "09-001" to "10-999".

Use cells to hold the criteria.

D2 = Open
E2 = 10-000
F2 = 10-999

=SUMPRODUCT(--(A2:A20=D2),--(B2:B20>=E2),--(B2:B20<=F2))
 

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