<?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 Simplest way to save/use column formulas in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10762#M10386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created around 10 column formulas in a data table that I would like to save and use on other data tables in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering if there is a way to save and import these formulas without having to retype them each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 03:18:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-02T03:18:50Z</dc:date>
    <item>
      <title>Simplest way to save/use column formulas</title>
      <link>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10762#M10386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created around 10 column formulas in a data table that I would like to save and use on other data tables in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondering if there is a way to save and import these formulas without having to retype them each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 03:18:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10762#M10386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-02T03:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Simplest way to save/use column formulas</title>
      <link>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10763#M10387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way would be to save the table you have with a new name ('Template'), then delete all the rows therein and save it again. You can then just append rows to this template when new data arrives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to look at individual formulas, you can 'Copy Table Script' from the red triangle of 'Template', then do 'File &amp;gt; New &amp;gt; New Script' and paste the contents there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 12:10:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10763#M10387</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2015-02-02T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simplest way to save/use column formulas</title>
      <link>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10764#M10388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right-Click at the top of a formula column, pick &lt;EM&gt;Copy Column Properties&lt;/EM&gt;.&amp;nbsp; You can then &lt;EM&gt;Paste Column Properties&lt;/EM&gt; in a new column.&amp;nbsp; Try the copy and paste &lt;EM&gt;Multiple Column Properties&lt;/EM&gt;; it might be what you are looking for.&amp;nbsp; Select several formula columns first.&amp;nbsp; Before the paste, make several new columns and select them.&amp;nbsp; The paste buffer contains the text of the formulas, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{Add Column Properties( Formula( :a + :p&lt;/img&gt; ) ),&lt;/P&gt;&lt;P&gt;Add Column Properties( Formula( :a - :p&lt;/img&gt; ) )}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you could save that text for later.&amp;nbsp; Re-copy it, then &lt;EM style="font-size: 13.3333330154419px;"&gt;Paste Column Properties&lt;/EM&gt; again.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy and paste works in the formula editor (right-click at the top of the column, pick &lt;EM&gt;Formula Editor): &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7992_tableAplusB.png" style="width: 777px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1167iE2F22B1CCAAE70DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7992_tableAplusB.png" alt="7992_tableAplusB.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also script the formula; use the red triangle at the top left of the table and &lt;EM&gt;Copy Table Script&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Table( "Untitled 2",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add Rows( 1 ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; New Column( "a",Numeric,"Continuous",Format( "Best", 12 ),Set Values( [1] )&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; New Column( "b",Numeric,"Continuous",Format( "Best", 12 ),Set Values( [2] )&amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; New Column( "c",Numeric,"Continuous",Format( "Best", 12 ),&lt;STRONG&gt;Formula( :a + :p&lt;/img&gt; )&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the JSL editor to build scripts to make your tables with the formulas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:26:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10764#M10388</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-10-18T22:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simplest way to save/use column formulas</title>
      <link>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10765#M10389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up writing a script with formulas to build new columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copying Column Properties also worked, but it was a bit shaky if multiple columns were copied/pasted at once. Worked fine for one column copied at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 20:25:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10765#M10389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-13T20:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Simplest way to save/use column formulas</title>
      <link>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10766#M10390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this technique frequently.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;With my data table formulas in use, I create a subset of my data (first row) and copy table script. Paste it into a new script window and delete all of the data code, leaving just the formulas. With a bit of cleaning up, it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 20:39:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Simplest-way-to-save-use-column-formulas/m-p/10766#M10390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-10T20:39:56Z</dc:date>
    </item>
  </channel>
</rss>

