I'm working on a project that has many columns and a few sheets. For simplicity, I'll post just the ones I'm in need of help for: In a table, I have a username and whether or not they received a certificate. The calculation of the certificate is based on the number of passes they have on other tests (three or more gives them a certificate). On another sheet, I'm posting statistics where I would like to show just the number of unique certificates total. The table looks something like below (simplified).
*Username* | *Test Result* | *Bundle*
abc | Pass | ""
abc | Pass | ""
123 | Pass | True
123 | Pass | True
123 | Pass | True
123 | Pass | True
qwerty | Fail | False
qwerty | Pass | False
qwerty | Pass | False
So with the above, they need three or more tests to have the "Bundle". If they pass two and fail the third they get a fail for the "Bundle". If they haven't taken three tests, it doesn't count as a pass or fail.
On another sheet, I want to show the number of unique students whom have gotten the "Bundle" and whom haven't.
Some of the things I've tried:
=COUNTIFS(MOS_Table[Username],"*",MOS_Table[Bundle],TRUE)
(NOTE: MOS_Table is the name of the table) This will count the total number of TRUE values in the Bundle column but counts the same student for each test they have taken.
=COUNTIF(MOS_Table[Bundle],TRUE)
This returned the same as above.
I've tried others with SUMPRODUCT and combinations of SUM, COUNTIFS, and other things. I'm not sure if there's a better way to go about this, but I'll take any hack to get it to work. Long term, there will be up to 400-500 possible rows.
Thanks in advance!