If you want to do the same, select the relevant cell, and click "Data Validation ... horizontal tables (where the categories are in rows, and the data are in columns). Use Excel's transpose ...