<?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: Conditional Calculation in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculation/m-p/858205#M25236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can for sure use if in a calculation.&amp;nbsp; My guess is that B and C are strings.&amp;nbsp; If so use concat(a,b) - + won't do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 19:42:41 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2019-03-12T19:42:41Z</dc:date>
    <item>
      <title>Conditional Calculation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculation/m-p/858204#M25235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on&amp;nbsp; survey where I would like to have a conditional calculation depending upon a question's answer. Simply put, if the user answers question A, ${A}, with "yes", they answer question B, ${B}; if "no",they answer question C, ${C}. Later, I want to create a confirmation number that, depending upon the value of ${A}, includes ${B} or ${C} (and some additional values in ${D}). I am trying to use the If(condition,x,y) to create the calculation If(${A}='Yes',${B}+${D}, ${C}+$D}). I am getting an error saying the calculation cannot use "If" function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another way of working this problem? I want to keep the number of extra/junk columns to a minimum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help you can provide is greatly appreciated.&lt;/P&gt;&lt;P&gt;Chris Anderson&lt;/P&gt;&lt;P&gt;Florida Fish and Wildlife Conservation Commission&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 18:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculation/m-p/858204#M25235</guid>
      <dc:creator>Chris_Anderson</dc:creator>
      <dc:date>2019-03-12T18:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Calculation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculation/m-p/858205#M25236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can for sure use if in a calculation.&amp;nbsp; My guess is that B and C are strings.&amp;nbsp; If so use concat(a,b) - + won't do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 19:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-calculation/m-p/858205#M25236</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-03-12T19:42:41Z</dc:date>
    </item>
  </channel>
</rss>

