Adding Labels to the Columns

You may wish to attach a more descriptive name to a column. A name in Minitab may be up to 8 characters long. The NAME command in Minitab assigns names to columns. The syntax is this:

NAME column= 'name' column='name'

The following example assigns the names TEST1,TEST2,TEST3, and TEST4 to columns C1 through C4.

MTB> NAME C1='STUDENT' C2='TEST1' C3='TEST2' C4='TEST3'


MTB> NAME C5='TEST5'

The name of a column can be changed by another name command. To erase a name (but not the values in the column), assign a null name, like this:

MTB> NAME column=''

When refering to columns by their names, you must enclose the name in single quotes, like this:

PRINT 'STUDENT' 'TEST1'

Your rating: None Average: 2 (1 vote)