EDIT: I completely re-wrote the question to try and be less obtuse.
I have a password audit report that contains usernames, LM hashes, NTLM hashes, and columns for the status of whether the LM/NTLM password hash was cracked or not. I am interested in finding accounts with the string "admin" that have been cracked. Below is the original equation I tried but it does not work.
=SUM(COUNTIFS(Tbl_City[Username], "=*admin*", {Tbl_City[LM State], Tbl_City[NTLM State]},{"1st Half Cracked", "2nd Half Cracked", "Cracked (Brute:Fast)*"}))
It gets tripped up on the second criteria range - Seems it doesn't like the multiple ranges.
What I'm looking for is "IF Username contains "admin" AND ((IF LM State = "1st Half Cracked" OR "2nd Half Cracked" OR "Cracked (Brute:Fast)") OR (NTLM State = "Cracked (Brute:Fast)") THEN count it.
This equation works but only checks the first column:
=SUM(COUNTIFS(Tbl_City[Username], "*admin*", Tbl_City[LM State], {"1st Half Cracked","2nd Half Cracked","Cracked (Brute:Fast)*"}))
My apologies for the initial confusion and thank you for your help.
=SUM(A and B) + SUM(A and C) - SUM(A and B and C)
? – Dirk Reichel