<?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 Re: Can you &amp;quot;do math&amp;quot; in a data table? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/58585#M32393</link>
    <description>&lt;P&gt;Can you pls share how you were able to multiply different rows of a column?&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 20:45:41 GMT</pubDate>
    <dc:creator>ENTHU</dc:creator>
    <dc:date>2018-05-29T20:45:41Z</dc:date>
    <item>
      <title>Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16144#M14724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far, I haven't found anything in the tutorials that tells me I can, but I thought I'd ask anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have imported a csv file into a data table, can I add the values of cells together, or set a cell equal to another cell like I can with excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 20:17:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16144#M14724</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-01-06T20:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16145#M14725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;natalie_,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer is yes.&amp;nbsp; JMP has many functions that you can invoke for summing rows, columns, etc.&amp;nbsp; It is is little different if you want to, for example, add cells that are in different rows but it still can be done.&amp;nbsp; In the simple example below, I created Column 1 as a list 1 through 9.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10727_pastedImage_3.png" style="width: 699px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2571i9B77AA3247011D7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10727_pastedImage_3.png" alt="10727_pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then I used one of the many built-in functions available in the Formula Editor to square Column 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10726_pastedImage_2.png" style="width: 535px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/2572iB19FE26BFDDE7EF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10726_pastedImage_2.png" alt="10726_pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can add, subtract disparate cells in JMP but it's a little different than Excel.&amp;nbsp; I add the first rows of Column 1 and Column 2 in the Sum Column by typing directing in the JMP file: =:Column1 + :Column 2 (i.e, 1+1=2).&amp;nbsp; To demonstrate addition of non contiguous cells I typed in Row 3 of the Sum column the following formula: =Column 1[2] + :Column 2[4].&amp;nbsp; This last example adds the element in the second row in the Column 1 to the fourth element of Column 2.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp; There are many ways to 'do math' in JMP.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 01:31:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16145#M14725</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2016-10-19T01:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16146#M14726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here's a starting point: &lt;A href="http://www.jmp.com/support/help/Formula_Editor.shtml" title="http://www.jmp.com/support/help/Formula_Editor.shtml"&gt;Formula Editor&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 21:36:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16146#M14726</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-01-06T21:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16147#M14727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!&amp;nbsp; I had figured out how to multiply an entire column, but I couldn't figure out how to add non contiguous cells.&amp;nbsp; Great examples too, btw!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 21:39:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16147#M14727</guid>
      <dc:creator>natalie_</dc:creator>
      <dc:date>2016-01-06T21:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16148#M14728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JMP data tables are more structured than a spreadsheet. Each row is assumed to be independent of every other row. So, formulas (math) are applied to an entire column, not an individual cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You create a formula column using the &lt;A href="http://www.jmp.com/support/help/Formula_Editor.shtml" rel="noopener noreferrer" target="_blank"&gt;Formula Editor&lt;/A&gt;​.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IFRAME id="ytplayer" type="text/html" width="640" height="360" src="https://www.youtube.com/embed/HZCZ9b9WYUI" frameborder="0"&gt;&lt;/IFRAME&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 09:27:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16148#M14728</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2016-11-14T09:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16149#M14729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome.&amp;nbsp; There are seemingly endless ways to do things in JMP.&amp;nbsp; &lt;A href="https://community.jmp.com/people/jeff.perkinson"&gt;jeff.perkinson&lt;/A&gt;​'s post is a great place to get more familiar with the Formula Editor.&amp;nbsp; Another option is to do manipulations in JSL the script language.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 21:46:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/16149#M14729</guid>
      <dc:creator>DaveLee</dc:creator>
      <dc:date>2016-01-06T21:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can you "do math" in a data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/58585#M32393</link>
      <description>&lt;P&gt;Can you pls share how you were able to multiply different rows of a column?&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 20:45:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-you-quot-do-math-quot-in-a-data-table/m-p/58585#M32393</guid>
      <dc:creator>ENTHU</dc:creator>
      <dc:date>2018-05-29T20:45:41Z</dc:date>
    </item>
  </channel>
</rss>

