cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Name Selected Rows in a New Column

Create a new column that contains a value for selected and deselected rows.

 

In this example, the height column contains the measured heights (in inches) of students in a study. Heights over 60 inches are considered tall, and heights below 60 inches are considered short. You can select the tall data in a report and then create a new column that assigns a value of Tall to the selected students and a value of Short to the deselected students.

 

  1. Select Help > Sample Data Folder and select Big Class.jmp.
  2. Select Analyze > Distribution.
  3. Select height, click Y, Columns, and click OK.
  4. In the histogram, click and drag to select the five bars above 60 inches.
  5. Right-click in the histogram and select Name Selection in Column.

    Name Selection in Column OptionName Selection in Column Option

    Enter these values:

  6. Next to Column Name, enter Height Category.

    Tip: If you are using this option several times in the same data table, update the default column name each time to prevent overwriting existing columns.

  7. Next to Selected, enter Tall.
  8. Next to Unselected, enter Short.

    Name Selection in Column OptionName Selection in Column Option

  9. Click OK.

    name_selected_rows_in_a_new_column_3.png

    In the data table, the new Height Category column appears with the specified values.

Recommended Articles