<?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 Calculated If statement  in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779980#M5867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you write an If statement based on a value from previous fields. If TYPECODE = 3 and MCF is &amp;gt; 500 calculate 1801 Engineering Dept as the answer? My statement below doesn't seem to work. Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;${TYPECODE}='3' and if(${A00MCFTOTAL}&amp;gt;500,"1801 Engineering Dept"))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2020 21:42:26 GMT</pubDate>
    <dc:creator>JordanMiller4</dc:creator>
    <dc:date>2020-10-12T21:42:26Z</dc:date>
    <item>
      <title>Calculated If statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779980#M5867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you write an If statement based on a value from previous fields. If TYPECODE = 3 and MCF is &amp;gt; 500 calculate 1801 Engineering Dept as the answer? My statement below doesn't seem to work. Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;${TYPECODE}='3' and if(${A00MCFTOTAL}&amp;gt;500,"1801 Engineering Dept"))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2020 21:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779980#M5867</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2020-10-12T21:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated If statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779981#M5868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression is almost there; try putting the&amp;nbsp;&lt;EM&gt;and&lt;/EM&gt; argument inside the&amp;nbsp;if() statement. Also, if() statements require three arguments: a condition; the result if the condition is true; and the result if the condition is false, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;if(condition,&amp;nbsp;value if true, value if false)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your expression could look something like:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: terminal, monaco, monospace;"&gt;if(${TYPECODE}='3' and ${A00MCFTOTAL}&amp;gt;500,'1801 Engineering Dept','Some other value')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace 'Some other value' with the desired output if false (use '' for a blank).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please find more on formulas here &lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2020 22:48:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779981#M5868</guid>
      <dc:creator>Jim-Moore</dc:creator>
      <dc:date>2020-10-12T22:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated If statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779982#M5869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! this is perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 01:15:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-if-statement/m-p/779982#M5869</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2020-10-13T01:15:16Z</dc:date>
    </item>
  </channel>
</rss>

