The response (measurement) data must be stacked in one numeric column. You must also have a column that contains the factor levels or population identifiers. Factor levels can be numeric, text, or date/time data. If you wish to change the order in which text levels are processed, you can define your own order. See Ordering Text Categories. Calc > Make Patterned Data can be helpful in entering the level values of a factor.
Minitab automatically omits rows with missing responses or factor levels from the calculations.