<?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: Referencing a Column by Column Number in Formula in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54516#M30826</link>
    <description>&lt;P&gt;Tried it both with and without the colon, but unfortunaltely does not work either way.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt&amp;lt;&amp;lt;New Column("New", formula(:Goal - :Column(36)));&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 05 Apr 2018 21:53:17 GMT</pubDate>
    <dc:creator>pacificdune</dc:creator>
    <dc:date>2018-04-05T21:53:17Z</dc:date>
    <item>
      <title>Referencing a Column by Column Number in Formula</title>
      <link>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54513#M30823</link>
      <description>&lt;P&gt;I am creating a new column in my script and would like to populate the column by a simple formula.&amp;nbsp; Instead of referencing by name, I would like to reference by column number in the formula because the column name will change depending on the work week, but it will always be the same column number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt&amp;lt;&amp;lt;New Column("New", formula(:Goal - :Column Name(36)));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The above expression does not work, but should give the gist of what I am trying to do.&lt;/P&gt;&lt;P&gt;Could not find any info on how to reference a column by number in the formula.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:40:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54513#M30823</guid>
      <dc:creator>pacificdune</dc:creator>
      <dc:date>2018-04-05T21:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a Column by Column Number in Formula</title>
      <link>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54515#M30825</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11522"&gt;@pacificdune&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I believe you should be expressing it as :&amp;nbsp;&lt;BR /&gt;&amp;nbsp;As Column(Column Number) i.e. As Column(36) in your case for what you are trying to acheive&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt&amp;lt;&amp;lt;New Column("New", formula(:Goal - As Column(36)));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:48:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54515#M30825</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-04-05T21:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing a Column by Column Number in Formula</title>
      <link>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54516#M30826</link>
      <description>&lt;P&gt;Tried it both with and without the colon, but unfortunaltely does not work either way.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt&amp;lt;&amp;lt;New Column("New", formula(:Goal - :Column(36)));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:53:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Referencing-a-Column-by-Column-Number-in-Formula/m-p/54516#M30826</guid>
      <dc:creator>pacificdune</dc:creator>
      <dc:date>2018-04-05T21:53:17Z</dc:date>
    </item>
  </channel>
</rss>

