<?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 multiple if statements to get answer from previous question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-statements-to-get-answer-from-previous/m-p/1380036#M54620</link>
    <description>&lt;P&gt;I am creating a survey that asks the user a question, then based on that answer, a new question is created. I have that part figured out, but I want to have a text field at the end that confirms the answer the user ended up at. I have tried nesting my if statements, but I keep getting an error back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached image, see the Rank calculation, also listed here:&amp;nbsp;if(${Q3}='3a','Rank 1',if(${Q4}='4a','Rank2,if(${Q5}='5a','Rank 3',if(${Q6}='6a','Rank 4',if(${Q7}='7a','Rank 5','')))))&lt;/P&gt;&lt;P&gt;Is it something with how I have my calculation set up or how my choice filter is set up for the questions prior? I'm getting super frustrated so it's hard to see straight, now!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 21:43:35 GMT</pubDate>
    <dc:creator>choenig</dc:creator>
    <dc:date>2024-02-08T21:43:35Z</dc:date>
    <item>
      <title>multiple if statements to get answer from previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-statements-to-get-answer-from-previous/m-p/1380036#M54620</link>
      <description>&lt;P&gt;I am creating a survey that asks the user a question, then based on that answer, a new question is created. I have that part figured out, but I want to have a text field at the end that confirms the answer the user ended up at. I have tried nesting my if statements, but I keep getting an error back.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached image, see the Rank calculation, also listed here:&amp;nbsp;if(${Q3}='3a','Rank 1',if(${Q4}='4a','Rank2,if(${Q5}='5a','Rank 3',if(${Q6}='6a','Rank 4',if(${Q7}='7a','Rank 5','')))))&lt;/P&gt;&lt;P&gt;Is it something with how I have my calculation set up or how my choice filter is set up for the questions prior? I'm getting super frustrated so it's hard to see straight, now!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 21:43:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-statements-to-get-answer-from-previous/m-p/1380036#M54620</guid>
      <dc:creator>choenig</dc:creator>
      <dc:date>2024-02-08T21:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: multiple if statements to get answer from previous question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-statements-to-get-answer-from-previous/m-p/1380037#M54621</link>
      <description>&lt;P&gt;Looks like you are just missing a quote&lt;/P&gt;&lt;P&gt;if(${Q3}='3a','Rank 1',if(${Q4}='4a','Rank2&lt;STRONG&gt;*missing right here&lt;/STRONG&gt;,if(${Q5}='5a','Rank 3',if(${Q6}='6a','Rank 4',if(${Q7}='7a','Rank 5','')))))&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 21:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/multiple-if-statements-to-get-answer-from-previous/m-p/1380037#M54621</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-02-08T21:36:01Z</dc:date>
    </item>
  </channel>
</rss>

