<?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: Survey123 Formula Question (ABS) in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765018#M2268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't an abs() function directly supported in Survey123. &amp;nbsp;It can be done, however with an if statement:&lt;/P&gt;&lt;P&gt;if(${q} &amp;lt; 0, -1*${q}, ${q})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 02:45:12 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-05-23T02:45:12Z</dc:date>
    <item>
      <title>Survey123 Formula Question (ABS)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765017#M2267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am basically trying to replicate&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;IF(ABS(D4)&amp;gt;(E2),"Yes", "No") this formula in my survey. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Values captured in the fields D4 and E2 has been populated from different calculation which can be positive or negative, Irrespective of that it should populate the result as Yes or No.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks for the help&amp;nbsp;in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Anu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 01:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765017#M2267</guid>
      <dc:creator>AnuSawant</dc:creator>
      <dc:date>2018-05-23T01:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Formula Question (ABS)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765018#M2268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't an abs() function directly supported in Survey123. &amp;nbsp;It can be done, however with an if statement:&lt;/P&gt;&lt;P&gt;if(${q} &amp;lt; 0, -1*${q}, ${q})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 02:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765018#M2268</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-23T02:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Formula Question (ABS)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765019#M2269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry James, but you would be able to elaborate more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 03:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765019#M2269</guid>
      <dc:creator>AnuSawant</dc:creator>
      <dc:date>2018-05-23T03:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Formula Question (ABS)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765020#M2270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The if() statement looks to see if the value of the question is less than 0. &amp;nbsp;If it is, it multiplies it by -1, resulting in a positive value the same distance away from 0. &amp;nbsp;If it is not, it returns the value, which is either 0 or a positive number. The result is that you always get a positive number or 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 03:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765020#M2270</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-23T03:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Formula Question (ABS)</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765021#M2271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, its working exactly the same way I wanted it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 20:45:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-formula-question-abs/m-p/765021#M2271</guid>
      <dc:creator>AnuSawant</dc:creator>
      <dc:date>2018-05-23T20:45:35Z</dc:date>
    </item>
  </channel>
</rss>

