<?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 IF statements in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834780#M19355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Travis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you considered using a constraint with constraint messages to restrict input to the values you specified?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, you can place the following in the Constraint column&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;.&amp;gt;0.5 and .&amp;lt;5&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and then also provide a Constraint message that states "Value needs to be between 0.5 and 5"&lt;/P&gt;&lt;P&gt;Please refer to the attached XLSForm and linked documentation as an example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_8979CBF8B7354DA9A4FE0F6B6D61E1A0"&gt;Survey123 - Contraints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2019 20:31:01 GMT</pubDate>
    <dc:creator>BrandonArmstrong</dc:creator>
    <dc:date>2019-05-14T20:31:01Z</dc:date>
    <item>
      <title>Survey123 IF statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834779#M19354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I'm trying to do a Foot Candle Reading calculation for a lighting assessment.&amp;nbsp; Basically, I need it say "Too Dim" if it's below 0.5, "Too Bright" if it's above 5 and "OK" if it's anything else.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;The formula I have in excel is&amp;nbsp;=IF(E6&amp;lt;0.5,"Too Dim",IF(E6&amp;gt;5,"Too Bright","OK"))&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" height="280" src="https://community.esri.com/legacyfs/online/447556_Assessment.JPG" style="border: 0px; font-weight: inherit; font-size: 14px; margin: 10px 10px 10px 0px;" width="954" /&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I've tried a combination of this:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;if(selected(${fcr}"&amp;lt;0.5","Too Dim",if(selected(${fcr}"&amp;gt;5","Too Bright","OK"))))&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Is this possible or too complicated?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 14:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834779#M19354</guid>
      <dc:creator>deleted-user-q9dwpTdLbTzp</dc:creator>
      <dc:date>2019-05-14T14:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 IF statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834780#M19355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Travis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you considered using a constraint with constraint messages to restrict input to the values you specified?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, you can place the following in the Constraint column&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;.&amp;gt;0.5 and .&amp;lt;5&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and then also provide a Constraint message that states "Value needs to be between 0.5 and 5"&lt;/P&gt;&lt;P&gt;Please refer to the attached XLSForm and linked documentation as an example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_8979CBF8B7354DA9A4FE0F6B6D61E1A0"&gt;Survey123 - Contraints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 20:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834780#M19355</guid>
      <dc:creator>BrandonArmstrong</dc:creator>
      <dc:date>2019-05-14T20:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 IF statements</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834781#M19356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if(${fcr} &amp;lt; 0.5, 'Too Dim', if(${fcr} &amp;gt; 5, 'Too Bright', 'OK'))&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Try this and I think it would be helpful if you made fcr a decimal type&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 22:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-if-statements/m-p/834781#M19356</guid>
      <dc:creator>KassandraRodriguez</dc:creator>
      <dc:date>2019-05-14T22:21:50Z</dc:date>
    </item>
  </channel>
</rss>

