Home

match cell text as input, text as output

%3CLINGO-SUB%20id%3D%22lingo-sub-717353%22%20slang%3D%22en-US%22%3Ematch%20cell%20text%20as%20input%2C%20text%20as%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-717353%22%20slang%3D%22en-US%22%3E%3CP%3EI%20need%20help!!!%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20find%20the%20right%20formula%20to%20automatically%20fill%20in%20a%20cell%20if%20we%20need%20to%20perform%20a%20certain%20task.%3C%2FP%3E%3CP%3EThe%20conditions%20are%3A%20we%20make%20food%2C%20some%20recipies%20have%20allergens%20and%20if%20we%20go%20from%20an%20allergen%20to%20a%20non%20allergen%20we%20must%20do%20a%20certain%20cleaning%20procedure.%3C%2FP%3E%3CP%3EIf%20we%20change%20from%20Soya%20to%20Soya%2C%20no%20special%20clean%20required%2C%20if%20we%20change%20from%20egg%20to%20Soya%2C%20special%20clean%20required%2C%20if%20we%20change%20from%20Soya%20to%20Soya%20and%20Egg%2C%20no%20clean%2C%20but%20if%20we%20change%20from%20Soya%20and%20Egg%20to%20Soya%2C%20special%20clean.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethis%20may%20be%20confusing%2C%20I%20am%20not%20sure%20how%20best%20to%20explain%20it.%20I%20can%20either%20put%20each%20allergen%20in%20a%20seperate%20column%2C%20or%20have%20all%20of%20them%20in%20one%20column.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-717353%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-717552%22%20slang%3D%22en-US%22%3ERe%3A%20match%20cell%20text%20as%20input%2C%20text%20as%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-717552%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F365634%22%20target%3D%22_blank%22%3E%40James_Dough%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20only%20specified%204%20of%209%20possible%20combinations.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20the%20formula%20see%20attached%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-718411%22%20slang%3D%22en-US%22%3ERe%3A%20match%20cell%20text%20as%20input%2C%20text%20as%20output%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-718411%22%20slang%3D%22en-US%22%3EAh%20thanks%20so%20much%2C%20I%20was%20taking%20the%20wrong%20approach%20and%20trying%20to%20do%20it%20formula%20based%20without%20referencing%20other%20data%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I need help!!!

I am trying to find the right formula to automatically fill in a cell if we need to perform a certain task.

The conditions are: we make food, some recipies have allergens and if we go from an allergen to a non allergen we must do a certain cleaning procedure.

If we change from Soya to Soya, no special clean required, if we change from egg to Soya, special clean required, if we change from Soya to Soya and Egg, no clean, but if we change from Soya and Egg to Soya, special clean.

 

this may be confusing, I am not sure how best to explain it. I can either put each allergen in a seperate column, or have all of them in one column.

2 Replies
Highlighted

@James_Dough 

You only specified 4 of 9 possible combinations.

 

For the formula see attached file.

 

Ah thanks so much, I was taking the wrong approach and trying to do it formula based without referencing other data