ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   count text in column a if column b = 25 (https://www.excelbanter.com/excel-worksheet-functions/112275-count-text-column-if-column-b-%3D-25-a.html)

jettp

count text in column a if column b = 25
 
I'm trying to count the # of clients who have a system status of out of
business in column A that have less than 25 employees. Column B has the # of
employee.

Col A Col B
Out Bus 15
Sold 32
Out Bus 57
IH 8
Out Bus 22

I have tried variations of sumproduct, countif, but nothing I'm doing is
working. I'm sure there is a simple solution, but need help finding it.

Biff

count text in column a if column b = 25
 
Hi!

Try this:

=SUMPRODUCT(--(A1:A10="out bus"),--(ISNUMBER(B1:B10)),--(B1:B10<25))

Biff

"jettp" wrote in message
...
I'm trying to count the # of clients who have a system status of out of
business in column A that have less than 25 employees. Column B has the #
of
employee.

Col A Col B
Out Bus 15
Sold 32
Out Bus 57
IH 8
Out Bus 22

I have tried variations of sumproduct, countif, but nothing I'm doing is
working. I'm sure there is a simple solution, but need help finding it.





All times are GMT +1. The time now is 02:19 AM.

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