Trying to automate some part on excel for my work, I tried Index and Match but it doesn't provide me what I have in mind and I am quiet confuse what formula should I used.
I have a sheet in excel containing a list of combinations and I have mark "N" on the cell which is a bad combination.
For example, this is the sheet containing the data i want to query:
And this is the result I want to achieve:
In general I wanted to display the bad combination(N) of Potato(B10), Apple(C10),Orange(D10),Mango(E10),Lemon(F10) on B11 to F10.
For example for Potato(B10), I wanted to display what this the bad combination(N)


