Hi All,
I'm struggling again with the excel logic to perform something that feels simple, it's frustrating!
Ok here some sample data:
avoid double counting.jpg
I'm trying to create a formula that checks an ID and returns TRUE if a type other than "apple" or "banana" is there. The problem I'm having is double counting so if I write something like:
=IF(SUM(--(COUNTIFS($A$2:$A$15,C2,$B$2:$B$15,{"<>apple","<>banana"})>0))=2,TRUE," ")
it doesn't work because when counting excluding "apple" it counts "banana" and vice versa.
I want to do something with OR or AND, but that doesn't work or I can figure it out.
Help greatly appreciated!
Thank you
Bookmarks