<?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: Calculation Question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165632#M42190</link>
    <description>&lt;P&gt;have you tried a combination of the relevant column and the calculation column.&lt;/P&gt;&lt;P&gt;Try using an &lt;STRONG&gt;"if"&lt;/STRONG&gt; statement in the calculation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Apr 2022 13:50:10 GMT</pubDate>
    <dc:creator>RobertBorchert</dc:creator>
    <dc:date>2022-04-19T13:50:10Z</dc:date>
    <item>
      <title>Calculation Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165443#M42184</link>
      <description>&lt;P&gt;How do I get the 100 from silt_total_estimated &lt;STRONG&gt;not to display in the output&lt;/STRONG&gt; if nothing in the prior columns is entered to calculate the clay_sand_total?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alena_0-1650317031755.png" style="width: 764px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39247iB79D7E875FD75D4C/image-dimensions/764x83?v=v2" width="764" height="83" role="button" title="Alena_0-1650317031755.png" alt="Alena_0-1650317031755.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 21:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165443#M42184</guid>
      <dc:creator>Alena</dc:creator>
      <dc:date>2022-04-18T21:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165632#M42190</link>
      <description>&lt;P&gt;have you tried a combination of the relevant column and the calculation column.&lt;/P&gt;&lt;P&gt;Try using an &lt;STRONG&gt;"if"&lt;/STRONG&gt; statement in the calculation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 13:50:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165632#M42190</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2022-04-19T13:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165668#M42196</link>
      <description>&lt;P&gt;Attaching an example&lt;/P&gt;&lt;P&gt;Tips:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For the silt + sand question, instead of using the hidden question type, use an integer type and set the appearance to hidden&lt;/LI&gt;&lt;LI&gt;Use the esri::body:style column to show/hide the clay question&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1650379688515.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39310iE7821E66ADAD4C55/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1650379688515.png" alt="IsmaelChivite_0-1650379688515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165668#M42196</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-04-19T14:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165685#M42197</link>
      <description>&lt;P&gt;Both answers will work. Ismael's answer will hide the question entirely, while Robert's will show the entry field but hide the result.&lt;/P&gt;&lt;P&gt;If we combine Robert and Ismael's answers, we get:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(string-length(${clay_sand})&amp;gt;0,100-${clay_sand},0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I haven't tested this, but should work. The field will likely only update after entering data into &lt;EM&gt;clay_sand&lt;/EM&gt; and then tabbing to another field.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:55:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1165685#M42197</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2022-04-19T14:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1166112#M42228</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/454586"&gt;@abureaux&lt;/a&gt; , &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt; , &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/6992"&gt;@RobertBorchert&lt;/a&gt;! This helped immensely! I'm still trying to learn all the various ways to do calculations!&amp;nbsp; Examples really help me and the Survey123 help is very simplistic in their examples.&amp;nbsp; I really liked learning the different way to hide the fields.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 14:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-question/m-p/1166112#M42228</guid>
      <dc:creator>Alena</dc:creator>
      <dc:date>2022-04-20T14:17:40Z</dc:date>
    </item>
  </channel>
</rss>

