In Dataset for a chain store, based on the Category, BUY/SELL (CatA BUY, otherwise SELL) or BUY/SELL/HOLD (CatA BUY, CatB SELL, CatC HOLD) are suggested.

IF(), nested IF() and SWITCH() are used.