<?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: Multiple if calculation in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196148#M43947</link>
    <description>&lt;P&gt;&lt;SPAN&gt;When you use or no need for two ifs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(${Prohibited_List} = "Yes" or ${Drug_Ingredients} = "Yes", 'Fail', 'Pass')&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 22:03:48 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2022-07-26T22:03:48Z</dc:date>
    <item>
      <title>Multiple if calculation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196061#M43944</link>
      <description>&lt;P&gt;I have a survey that consists of 7 Yes/No/NA select_one questions. I would like to write a calculation that will evaluate those 7 questions, and if any of them are answered with a "Yes," a note is displayed with the text "Fail."&lt;/P&gt;&lt;P&gt;Here is what I have for my note calculation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;if(${Prohibited_List} = "Yes", 'Fail', 'Pass') or if(${Drug_Ingredients} = "Yes", 'Fail', 'Pass')&lt;/P&gt;&lt;P&gt;It does not return an error, but it does not function as I would like. I realize I will need to include all 7 questions, but first I'd like to get it working with just these first two.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 18:39:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196061#M43944</guid>
      <dc:creator>Hammers211</dc:creator>
      <dc:date>2022-07-26T18:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if calculation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196145#M43946</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/587899"&gt;@Hammers211&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can consolidate the condition into one if() statement, for example if(&lt;SPAN&gt;${Prohibited_List} = "Yes" or&amp;nbsp;${Drug_Ingredients} = "Yes", 'Fail', 'Pass').&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 21:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196145#M43946</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2022-07-26T21:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple if calculation</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196148#M43947</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When you use or no need for two ifs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(${Prohibited_List} = "Yes" or ${Drug_Ingredients} = "Yes", 'Fail', 'Pass')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 22:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-calculation/m-p/1196148#M43947</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-07-26T22:03:48Z</dc:date>
    </item>
  </channel>
</rss>

