Let's say I have 6 cells containing these words respectively:
- RICE CAKE (T)
- COOKING OIL (T)
- SUGAR ROLL (T)
- CENTURY EGGS (T)
- SALTED EGGS (T)
- LARGE EGGS (E)
I used this formula but it did not work fully. =IF(COUNT(SEARCH({"*oil*","salted*","*sugar*","*rice*","*century*"},A1)),"T",FALSE)
- What should I add in the formula to make sure that cell 6 would return value of "E"?
- RICE, OIL, SUGAR, CENTURY, SALTED should return a value of "T" (as shown in my formula)
- EGGS alone should return a value of "E" (like in cell number 6 WITHOUT coinciding with cell number 4 and 5 which contains eggs as well but they should be T)
How do I use any formula to return the correct value.