ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel Formula need help (https://www.excelbanter.com/excel-discussion-misc-queries/129328-excel-formula-need-help.html)

[email protected]

Excel Formula need help
 
I am trying to get a count of one column based on criteria in another
column

Column B always equals either 'true' or 'false'. I need to find a
count of 'true". (True being the test was taken)

so If A:A= 'test#3', then count # of 'trues' (in column B:B), related
to the same test name in A:A

Please help and thanks


Bob Phillips

Excel Formula need help
 
=SUMPRODUCT(--(A2:A200="test3"),--(B2:b200=TRUE))

SUMPRODUCT won't work with whole columns.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



wrote in message
oups.com...
I am trying to get a count of one column based on criteria in another
column

Column B always equals either 'true' or 'false'. I need to find a
count of 'true". (True being the test was taken)

so If A:A= 'test#3', then count # of 'trues' (in column B:B), related
to the same test name in A:A

Please help and thanks





All times are GMT +1. The time now is 05:37 AM.

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