<?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 Setting a column value based on multiple conditions in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810083#M99162</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to find a value on a 'CD' column based on 'Depth' value, for corresponding 'Wafer' and 'Lot ID'.&lt;/P&gt;&lt;P&gt;Below is the example table I created, I have multiple 'CD' values at different 'Depth' values, and there are multiple 'Wafer' and 'Lot ID' for each specific wafers. What I need to find is 'CD' value at 20nm 'Depth', to create normalized CD plot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can use 'Col Mean' if I am to normalize by the column average. How do I normalize by CD at specific depth in this case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below highlighted portion is what I pasted manually...just to give an example of what I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdgeMarmoset719_1-1731018413251.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69953iDA3F8B470117A0F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdgeMarmoset719_1-1731018413251.png" alt="EdgeMarmoset719_1-1731018413251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 22:35:00 GMT</pubDate>
    <dc:creator>EdgeMarmoset719</dc:creator>
    <dc:date>2024-11-07T22:35:00Z</dc:date>
    <item>
      <title>Setting a column value based on multiple conditions</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810083#M99162</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to find a value on a 'CD' column based on 'Depth' value, for corresponding 'Wafer' and 'Lot ID'.&lt;/P&gt;&lt;P&gt;Below is the example table I created, I have multiple 'CD' values at different 'Depth' values, and there are multiple 'Wafer' and 'Lot ID' for each specific wafers. What I need to find is 'CD' value at 20nm 'Depth', to create normalized CD plot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know I can use 'Col Mean' if I am to normalize by the column average. How do I normalize by CD at specific depth in this case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below highlighted portion is what I pasted manually...just to give an example of what I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdgeMarmoset719_1-1731018413251.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69953iDA3F8B470117A0F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdgeMarmoset719_1-1731018413251.png" alt="EdgeMarmoset719_1-1731018413251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 22:35:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810083#M99162</guid>
      <dc:creator>EdgeMarmoset719</dc:creator>
      <dc:date>2024-11-07T22:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a column value based on multiple conditions</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810086#M99163</link>
      <description>&lt;P&gt;For this application please check the&amp;nbsp;&lt;LI-MESSAGE title="Normalization GUI" uid="675055" url="https://community.jmp.com/t5/JMP-Add-Ins/Normalization-GUI/m-p/675055#U675055" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;activate&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1731019909758.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69955i2054EA1540A6602A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1731019909758.png" alt="hogi_0-1731019909758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and use&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1731019975871.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69956i185E724D891F2EC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1731019975871.png" alt="hogi_1-1731019975871.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;edit:&lt;BR /&gt;the GUI generates formula columns based on the logic in&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp;'s post below.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 06:56:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810086#M99163</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-11-08T06:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a column value based on multiple conditions</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810087#M99164</link>
      <description>&lt;P&gt;The formula would be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col mean( If( :depth == 20,:CD,.), :Wafer, :Lot ID)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Since only 1 row will be found to have :Depth=20, Col Mean() could also be substituted with Col Sum() etc.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One could also subset all of the Depth=20 rows into a new data table, and then Change in the subsetted data table the column CD columns name to CD(20 mm) and then using&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tables=&amp;gt;Update&lt;/P&gt;
&lt;P&gt;join the subsetted data back into the original data table, matching on Wafer and Lot ID&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 22:56:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810087#M99164</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-11-07T22:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a column value based on multiple conditions</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810097#M99168</link>
      <description>&lt;P&gt;Or &lt;FONT face="courier new,courier"&gt;Col Median()&amp;nbsp; &amp;nbsp;: )&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;It has the advantage of running in reasonable time even in the case of non-numeric &lt;FONT face="courier new,courier"&gt;:depth&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In future, something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;col mean(:CD, :Wafer, :Lot ID, Where(:depth ==20))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;might get possible as well:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_0-1731046519895.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69962i283C974F372E50E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_0-1731046519895.png" alt="hogi_0-1731046519895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more information on both topics, click here:&lt;BR /&gt;&lt;LI-MESSAGE title="Tips and Tricks - best practice with JMP/JSL" uid="662686" url="https://community.jmp.com/t5/Discussions/Tips-and-Tricks-best-practice-with-JMP-JSL/m-p/662686#U662686" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 06:17:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-a-column-value-based-on-multiple-conditions/m-p/810097#M99168</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-11-08T06:17:50Z</dc:date>
    </item>
  </channel>
</rss>

