I am trying to create a verification IF formula that will check two cells and they need to both be true to output "Good" or false "Verify". I making this to find errors more easily in forms they are filling out. We have them putting incorrect packaging for production lines that can't make that product. (Yes I could logic this on forms but it would cause a different issue that would make fixing mistakes longer and harder to find. So I want to stick with this formula)
=IF((OR(AND(([Production Line]@row = OR("T", "G", "H")), [Type of Package]@row = "Pouch"), AND(([Production Line]@row = OR("S", "U", "C", "F")), [Type of Package]@row = "Bag"))), "Good", "Verify")
Production Line & Matching Type of Package:
T, G, H = Pouch
S, U, C, F = Bag
if mixed up then would output "Verify"
Currently the formula states #Invalid Operation. But any slight adjustments I makes it continues not to work!
Any help would be appreciated.