<?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 statement in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-statement/m-p/1017816#M32000</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the exact problem here? Does your first statement not work or are you looking for advice on how to change it?&lt;/P&gt;&lt;P&gt;Regarding your second query, the provided logic does not satisfy the If-then-else conditional workflow.&lt;/P&gt;&lt;P&gt;You would expect something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(selected(${age}, '6-10') and selected(${item_on_path},'mark it'),0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You could also have a look at the documentation on formulas provided by Esri here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alber&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 01:30:48 GMT</pubDate>
    <dc:creator>Alber_Verster</dc:creator>
    <dc:date>2021-01-19T01:30:48Z</dc:date>
    <item>
      <title>conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-statement/m-p/1017425#M31987</link>
      <description>&lt;P&gt;Dear Colleagues,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following statement:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(selected(${item_on_path}, 'other_unsafe') or selected(${item_on_path}, 'dontknow') or selected(${item_uxo_on_path}, 'setonfire') or selected(${item_on_path}, 'takeithome') or selected(${item_uxo_on_path},'taketoauthorities') or selected(${item_on_path},'buryit') or selected(${item_uxo_on_path},'movetosafeplace'),0,1)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;in this survey i have 3 age groups: 6-10, 11-17, and 18. I would like to change this conditional statement to have an "if" clause.&amp;nbsp; If ${age}='6-10' than (${item_on_path},'mark it'),0,1) as well.&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 23:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-statement/m-p/1017425#M31987</guid>
      <dc:creator>chiragtiwari</dc:creator>
      <dc:date>2021-01-15T23:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: conditional statement</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/conditional-statement/m-p/1017816#M32000</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the exact problem here? Does your first statement not work or are you looking for advice on how to change it?&lt;/P&gt;&lt;P&gt;Regarding your second query, the provided logic does not satisfy the If-then-else conditional workflow.&lt;/P&gt;&lt;P&gt;You would expect something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(selected(${age}, '6-10') and selected(${item_on_path},'mark it'),0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You could also have a look at the documentation on formulas provided by Esri here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alber&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 01:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/conditional-statement/m-p/1017816#M32000</guid>
      <dc:creator>Alber_Verster</dc:creator>
      <dc:date>2021-01-19T01:30:48Z</dc:date>
    </item>
  </channel>
</rss>

