cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

how to batch input into selected cell ?

When I select desired rows through distributions, how to quickly batch input “Group A” into Group column?

Thank you!

ChernoffTurtle7_0-1679544414456.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: how to batch input into selected cell ?

This little script will do it

names default to here(1);
dt=current data table();

:Group[dt<<get selected rows] = "Group A";

Interactively you can also do the same very quickly.

  1. Select the rows from clicking on the Histogram                                   txnelson_0-1679551852708.png

     

  2. Right Click on the chart and select Name Selection in Column                  txnelson_1-1679552005787.png

     

  3. In the dialog window that pops up, specify the column to use, and the value to give to the selected rowstxnelson_2-1679552128142.png

     

  4. Click on OK and the cells will be filled in                                                                                  txnelson_3-1679552214438.png

     

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: how to batch input into selected cell ?

This little script will do it

names default to here(1);
dt=current data table();

:Group[dt<<get selected rows] = "Group A";

Interactively you can also do the same very quickly.

  1. Select the rows from clicking on the Histogram                                   txnelson_0-1679551852708.png

     

  2. Right Click on the chart and select Name Selection in Column                  txnelson_1-1679552005787.png

     

  3. In the dialog window that pops up, specify the column to use, and the value to give to the selected rowstxnelson_2-1679552128142.png

     

  4. Click on OK and the cells will be filled in                                                                                  txnelson_3-1679552214438.png

     

Jim

Re: how to batch input into selected cell ?

Wonderful! Thank you so much!