<?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 Math trigonometry function (Sumproduct excel) in Survey123 XLSForm in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857525#M25085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to do a calculation in Survey123 XLSForm, using the Excel formula Sumproduct, how can I use/apply this formula in Survey123?&lt;/P&gt;&lt;P&gt;any alternative?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;SUMPRODUCT&lt;/STRONG&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is a function in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;Excel&lt;/STRONG&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that multiplies range of cells or arrays and returns the sum of products. It first multiplies then adds the values of the input arrays. It is a 'Math/Trig Function'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2020 19:11:15 GMT</pubDate>
    <dc:creator>FedericoRiet_Sapriza</dc:creator>
    <dc:date>2020-03-30T19:11:15Z</dc:date>
    <item>
      <title>Math trigonometry function (Sumproduct excel) in Survey123 XLSForm</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857525#M25085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to do a calculation in Survey123 XLSForm, using the Excel formula Sumproduct, how can I use/apply this formula in Survey123?&lt;/P&gt;&lt;P&gt;any alternative?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;SUMPRODUCT&lt;/STRONG&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is a function in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;Excel&lt;/STRONG&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 16px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that multiplies range of cells or arrays and returns the sum of products. It first multiplies then adds the values of the input arrays. It is a 'Math/Trig Function'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2020 19:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857525#M25085</guid>
      <dc:creator>FedericoRiet_Sapriza</dc:creator>
      <dc:date>2020-03-30T19:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Math trigonometry function (Sumproduct excel) in Survey123 XLSForm</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857526#M25086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel specific functions and formulas can not be used in Survey123 as they are not standard xlsform supported functions/expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to create the expression you are trying define using supported xlsform syntax. This could be done in your case using nested if statements and combining all the fields using the name field into the one expression and then applying the mathematical equations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 00:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857526#M25086</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-31T00:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Math trigonometry function (Sumproduct excel) in Survey123 XLSForm</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857527#M25087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Phil&lt;/P&gt;&lt;P&gt;thanks so much for your response. Indeed I'll been looking and there is no such Excel function in XLSForm.&lt;/P&gt;&lt;P&gt;What I want to achieve is quite simple but I cannot get around to create the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;xlsform syntax in Survey123 Connect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have two (field) set of data (column), Area in ha and Dry matter in kg.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This How sumproduct work in Excel I would like to achieve the same but with some additional. please see image below with an example of my data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG alt="sumproduct" class="jive-emoji image-1 jive-image" height="221" src="https://community.esri.com/legacyfs/online/486873_sumproduct.jpg" width="252" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;How can it make this work in Survey123?, the data field name is Area_ha and Dry_matter, this data is entered by the field surveyors. In the diagram I show how the function should work behind the scene, the end result show be 1077.33&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="function to work in xslform" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/486874_formula.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Any ideas or suggestions are welcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Federico&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 01:07:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857527#M25087</guid>
      <dc:creator>FedericoRiet_Sapriza</dc:creator>
      <dc:date>2020-03-31T01:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Math trigonometry function (Sumproduct excel) in Survey123 XLSForm</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857528#M25088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Federico,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes this is easily possible using Survey123 and xlsform expressions. We also support a sum() function for repeats to do exactly what you are trying to achieve. Please see the relevant documentation here for more information:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_045B883052D844E89F8EEFF8C2EA638A" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm#ESRI_SECTION1_045B883052D844E89F8EEFF8C2EA638A"&gt;Repeats—Survey123 for ArcGIS | Documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what you described above, I created a quick survey in Connect to achieve what you after and got the same results&amp;nbsp;when I entered the values you provided. One thing to consider is are you using a repeat to enter the 8 different sets of values,&amp;nbsp;which means you need to have a related table to the parent table to collect those observation values multiple times over for the same question? Or do you want everything to only be in one flat table? In the second case you have to repeat the area and dry matter questions 8 times, and give each set of questions a unique name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I went ahead and created the following survey (see attached xlsx form) using a repeat, and this would be the most suitable way to design the survey and workflow you described from my point of view:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="537" src="https://community.esri.com/legacyfs/online/486885_pastedImage_1.png" width="324" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 02:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857528#M25088</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-03-31T02:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Math trigonometry function (Sumproduct excel) in Survey123 XLSForm</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857529#M25089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;thanks so much for your help. I'm was using a repeat to enter the set of values. In fact, area in ha for each sample is predefined and I have this data in a table in the media folder, and I used pulldata to bring the area data into the survey and it works wonderfully with your input.&lt;/P&gt;&lt;P&gt;Indeed, as you said it was simple to create a&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;xlsform expressions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope this help other colleagues in order to use sumproduct in Survey123.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers and take care&lt;/P&gt;&lt;P&gt;Federico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:00:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/math-trigonometry-function-sumproduct-excel-in/m-p/857529#M25089</guid>
      <dc:creator>FedericoRiet_Sapriza</dc:creator>
      <dc:date>2020-03-31T14:00:05Z</dc:date>
    </item>
  </channel>
</rss>

