ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multi Criteria Countif (https://www.excelbanter.com/excel-worksheet-functions/248429-multi-criteria-countif.html)

hokiebird2008

Multi Criteria Countif
 
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?

Mike H

Multi Criteria Countif
 
Hi,

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

Mike

"hokiebird2008" wrote:

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?


Glenn

Multi Criteria Countif
 
hokiebird2008 wrote:
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. Valko

Multi Criteria Countif
 
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))

--
Biff
Microsoft Excel MVP


"hokiebird2008" wrote in message
...
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?





All times are GMT +1. The time now is 09:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com