Need an Formula to generate Categories column

Options
Gaja Rm
Gaja Rm ✭✭✭
Categories.JPG

We are looking for the Categories to auto generate from the sub-categories multi dropdown selection. We were achieved this by using the =IF(COUNTIF([Sub-Categories]@row, CONTAINS("Fruits", @cell)) >= 1, "Fruits") + CHAR(10) + IF(COUNTIF([Sub-Categories]@row, CONTAINS("Meats", @cell)) >= 1, "Meats") + CHAR(10) + IF(COUNTIF([Sub-Categories]@row, CONTAINS("Vegetables", @cell)) >= 1, "Vegetables") but it is not dynamic, we should not define the search text here like "Fruits". We are looking extract first text of each dropdown selection (Non-duplicate) -> (i.e., Fruits/Meats/Vegetables) - under categories. Could you please help me out here?

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!