<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Renaming cells in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71242#M35380</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to renaming specific cells after a filter was applied in in a different column. Here is the script that I came up with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
df = dt &amp;lt;&amp;lt; Data Filter(
Add Filter(
Columns( :"Sample/Control" ),
Where( :"Sample/Control" == "Sample" )
),
);
dt &amp;lt;&amp;lt; Go To ( :"Control ID");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm only missing the last step, which is to rename the specific cells that are selected. I couldn't find it in any of the guids or help sections.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 04 Sep 2018 19:15:13 GMT</pubDate>
    <dc:creator>moti617</dc:creator>
    <dc:date>2018-09-04T19:15:13Z</dc:date>
    <item>
      <title>Renaming cells</title>
      <link>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71242#M35380</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to renaming specific cells after a filter was applied in in a different column. Here is the script that I came up with:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
df = dt &amp;lt;&amp;lt; Data Filter(
Add Filter(
Columns( :"Sample/Control" ),
Where( :"Sample/Control" == "Sample" )
),
);
dt &amp;lt;&amp;lt; Go To ( :"Control ID");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm only missing the last step, which is to rename the specific cells that are selected. I couldn't find it in any of the guids or help sections.&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 19:15:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71242#M35380</guid>
      <dc:creator>moti617</dc:creator>
      <dc:date>2018-09-04T19:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming cells</title>
      <link>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71243#M35381</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12657"&gt;@moti617&lt;/a&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If I may, I would like to request you to take a step back and explain a little more in detail what you are trying to achieve. When you say you would like to rename a cell - do you mean you want to change the value in a cell of a data table ? If this is correct, then you could achieve that without the use of a data filter. Let us take the following example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); // Open Sample Data Table 

// Let us assume you want to rename Kaite to Kate and change her age 

dt &amp;lt;&amp;lt; Select Where(:name == "KATIE"); 

Wait(0.2); // For Demo only 

SR = dt &amp;lt;&amp;lt; Get Selected Rows; 

dt &amp;lt;&amp;lt; Clear Select; 

:name[SR] = "KATE"; 

:age[SR] = 13; 

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Sep 2018 16:40:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71243#M35381</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-09-04T16:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming cells</title>
      <link>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71263#M35382</link>
      <description>&lt;P&gt;Hi Uday,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with patient IDs and controls. I would like to to rename all the patient IDs as "sample" but keep the control IDs as they are. I have one column that contains the actual IDs (this is the column in which I would like to change some of the cells - the ones corresponding to patient ID), and another column that differentiates the patient IDs and controls. Under this column, there is either "sample", "positive control" or "negative control" in each cell. The cells with the "sample" option correspond to patient sample ID in the other column. So, I simply selected all the "sample" cells in one column and move to the other column to get all the patient IDs selected. Now I need to rename them.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is a bit clearer .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;Moti&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:02:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71263#M35382</guid>
      <dc:creator>moti617</dc:creator>
      <dc:date>2018-09-04T18:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming cells</title>
      <link>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71273#M35383</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/12657"&gt;@moti617&lt;/a&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;You can still use the same example for what you want to achieve. Would you mind anonymizing your table and uploading a small subset if you dont think the example I provided helps. You can anonymize the table like so:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12298i8682DC3E307EC137/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:37:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71273#M35383</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-09-04T18:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming cells</title>
      <link>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71274#M35384</link>
      <description>&lt;P&gt;Hi Uday,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help. I was just able to apply your example with my data table and it works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 18:42:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Renaming-cells/m-p/71274#M35384</guid>
      <dc:creator>moti617</dc:creator>
      <dc:date>2018-09-04T18:42:17Z</dc:date>
    </item>
  </channel>
</rss>

