<?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 How to highlight cell if previous row is different (kinda conditional formatting in Excel) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/689096#M87498</link>
    <description>&lt;P&gt;Running a DOE experiment for the first time.&lt;/P&gt;&lt;P&gt;Afraid to misread a value for a factor - tens of factors, tens of runs. Any way for a specific row to highlight a cell if its value is different from cell value in a previous row? So that I don't miss a value that changed in the next experiment?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kinda trying to figure out my BKM I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Or maybe any other tips and tricks on how to go through a list of experiments?&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2023 23:50:27 GMT</pubDate>
    <dc:creator>miguello</dc:creator>
    <dc:date>2023-10-20T23:50:27Z</dc:date>
    <item>
      <title>How to highlight cell if previous row is different (kinda conditional formatting in Excel)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/689096#M87498</link>
      <description>&lt;P&gt;Running a DOE experiment for the first time.&lt;/P&gt;&lt;P&gt;Afraid to misread a value for a factor - tens of factors, tens of runs. Any way for a specific row to highlight a cell if its value is different from cell value in a previous row? So that I don't miss a value that changed in the next experiment?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kinda trying to figure out my BKM I guess.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Or maybe any other tips and tricks on how to go through a list of experiments?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 23:50:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/689096#M87498</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-10-20T23:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell if previous row is different (kinda conditional formatting in Excel)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/689111#M87499</link>
      <description>&lt;P&gt;There are a few different ways that you can do this.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use Select Duplicate Rows
&lt;OL&gt;
&lt;LI&gt;Select the target column you want to see the change in&lt;/LI&gt;
&lt;LI&gt;Click on the red triangle located at the top of the Row Stat(Row Number) column, and select
&lt;OL&gt;
&lt;LI&gt;Row Selection=&amp;gt;Select Duplicate Rows&lt;/LI&gt;
&lt;LI&gt;All rows, except the first row for each new value of your target column will be selected.&amp;nbsp; This may work perfectly for you,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1697850286139.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57869iCF12E2AE49A5B20D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1697850286139.png" alt="txnelson_0-1697850286139.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
but is you want only the first row for each group selected, and the none of the secondary rows selected, you can Invert the Row Selection
&lt;OL&gt;
&lt;LI&gt;Go back to the red triangle and select&lt;/LI&gt;
&lt;LI&gt;Row Selection=&amp;gt;Invert Row Selection&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1697850631608.png" style="width: 233px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57870i3AA632F15EFC5C19/image-dimensions/233x289?v=v2" width="233" height="289" role="button" title="txnelson_1-1697850631608.png" alt="txnelson_1-1697850631608.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. You can use the Column Property to set the color values for each different value of the target column, and when you do that, you can specify to "Color the Cell by Value"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_2-1697851033948.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57871iF49BC258BE4A6E5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_2-1697851033948.png" alt="txnelson_2-1697851033948.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. A simple script can color the cell where the value changes&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
For Each Row(
	If( Row() == 1 | :Age != Lag( :age ),
		dt:age &amp;lt;&amp;lt; color cells( "green", Row() )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_3-1697851347140.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57872i384C19FD882B6D39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_3-1697851347140.png" alt="txnelson_3-1697851347140.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I am sure there are other methods&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2023 01:22:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/689111#M87499</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-10-21T01:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight cell if previous row is different (kinda conditional formatting in Excel)</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/690150#M87607</link>
      <description>&lt;P&gt;Jim,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last solution is exactly what I need. For some reason I didn't realize you can color single cell, not the whole row using the same command :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 22:44:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-highlight-cell-if-previous-row-is-different-kinda/m-p/690150#M87607</guid>
      <dc:creator>miguello</dc:creator>
      <dc:date>2023-10-24T22:44:59Z</dc:date>
    </item>
  </channel>
</rss>

