<?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: If Statements in Survey123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statements-in-survey123/m-p/769888#M3487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to write out both side of the check then put an and between.&amp;nbsp; I think you were nesting it correctly.&amp;nbsp; No need for a if on large since it is the only possibility left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if({$total_personnel}&amp;gt;=0 and&amp;nbsp;&lt;SPAN&gt;{$total_personnel}&amp;lt;&lt;/SPAN&gt;=50,"Small",if({$total_personnel}&amp;gt;=51 and &lt;SPAN&gt;{$total_personnel}&amp;lt;&lt;/SPAN&gt;=100,"Medium","Large"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that.&amp;nbsp; Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2020 20:47:47 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2020-07-07T20:47:47Z</dc:date>
    <item>
      <title>If Statements in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statements-in-survey123/m-p/769887#M3486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a hidden field in S123 Connect that will automatically calculate a text value (Size field) based on an input from a previous integer question asking how many personnel are in a department. My criteria is as follows:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Personnel between 0-50 = Small&lt;/LI&gt;&lt;LI&gt;Personnel between 51-100 = Medium&lt;/LI&gt;&lt;LI&gt;Personnel is 101+ = Large&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has so far been my best attempt but I keep getting errors. I put this in the calculation column in the field I want the calculation to be done in.&amp;nbsp;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if({$total_personnel}0&amp;gt;=50,"Small",if({$total_personnel}51&amp;gt;=99,"Medium",if({$total_personnel}&amp;lt;=100),"Large")))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/if-statements-in-survey123/m-p/769887#M3486</guid>
      <dc:creator>AFackler_NAPSG</dc:creator>
      <dc:date>2020-07-07T20:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: If Statements in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/if-statements-in-survey123/m-p/769888#M3487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to write out both side of the check then put an and between.&amp;nbsp; I think you were nesting it correctly.&amp;nbsp; No need for a if on large since it is the only possibility left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if({$total_personnel}&amp;gt;=0 and&amp;nbsp;&lt;SPAN&gt;{$total_personnel}&amp;lt;&lt;/SPAN&gt;=50,"Small",if({$total_personnel}&amp;gt;=51 and &lt;SPAN&gt;{$total_personnel}&amp;lt;&lt;/SPAN&gt;=100,"Medium","Large"))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that.&amp;nbsp; Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:47:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/if-statements-in-survey123/m-p/769888#M3487</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-07-07T20:47:47Z</dc:date>
    </item>
  </channel>
</rss>

