Let's say the row with Fruit, State, Result is row 1, so the A,B,C and rows numbers are not cells. Result can be GOOD,BAD or IGNORE. State is True, False or None
So actual data starts from row 2 and columns are A,B,C. What formula needed in C2 that calculates
IF (all potatoes are TRUE OR NONE) AND (all tomatoes are TRUE OR NONE) then set Result to GOOD;
ELSE IF (all potatoes are TRUE OR NONE but a tomato is FALSE (one or all)) then set Result to BAD
ELSE (meaning if even one potato is FALSE) then set result to IGNORE
Obviously exclude the Pickle from any conditions but it is getting in the way, you cannot just use range of cells unless with exclusion.
A B C1 Fruit State Result2 Potato True (formula needed) 3 Potato True 4 Tomato None 5 Pickle False 6 Potato True 7 Tomato True
Bookmarks