As from the title, I need Excel to auto-populate the B row cells based on the corresponding A row cells content.
So if cell A1 contains X or Y or Z, th
A1
If the comparative values are to be hard-coded into the formula, it can be tightened up like this.
=IF(OR(A1={"X","Y","Z"}), "W", IF(OR(A1={"G","H","I"}), "K", ""))