<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculated values from Yes/No decisions</title><link>https://www.infopathdev.com:443/forums/thread/124570.aspx</link><pubDate>Tue, 16 Nov 2021 05:17:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124570</guid><dc:creator>KadeshaAsejo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124570.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124570</wfw:commentRss><description>Hello, I am also doing the same project, in which if we choose N/A, the value of that will distribute to other parameters. Is there a way wherein we can covert this excel formula to Infopath?

=IFERROR(SUM(J16:J37)/(100-(SUMIF(E16:E37,&amp;quot;N/A&amp;quot;,D16:D37))),0)

J16:J37 = sum of the points
100 = default
E16:E37 = counting of how many &amp;quot;N/A&amp;quot;
D16:D37 = the value of the N/A in E16:E37

Hope you can also answer. Thank you very much!</description></item><item><title>Re: Calculated values from Yes/No decisions</title><link>https://www.infopathdev.com:443/forums/thread/88891.aspx</link><pubDate>Fri, 12 Apr 2013 11:39:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88891</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88891</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;For this kind of thing I immediately turn to Excel. 9 times out of 10 if you can do it in Excel you can do it in InfoPath/SharePoint.&lt;/p&gt;&lt;p&gt;You may also want to look at SharePoint and calculated columns.&lt;/p&gt;&lt;p&gt;So if I&amp;#39;ve understood you correctly. This is how I&amp;#39;ve just done it.&lt;/p&gt;&lt;p&gt;For each NA you minus 1 from the total of possible questions. &lt;/p&gt;&lt;p&gt;I&amp;#39;m not sure how practical my solution is - depends on the number of questions?&lt;/p&gt;&lt;p&gt;I set up a form up with 16 Question fields. Each question field as QuestionX . X being a number.&lt;/p&gt;&lt;p&gt;I then set up a Calculations section with the following fields and formulas (you could hide this from public view)&lt;/p&gt;&lt;p&gt;Total Possible Answers - count(Question1 | Question2 | Question3 | Question4 | Question5 | Question6 | Question7 | Question8 | Question9 | Question10 | Question11 | Question12 | Question13 | Question14 | Question15 | Question16)&lt;/p&gt;&lt;p&gt;Number of Yes - count(Question1[. = &amp;quot;yes&amp;quot;] | Question2[. = &amp;quot;yes&amp;quot;] | Question3[. = &amp;quot;yes&amp;quot;] | Question4[. = &amp;quot;yes&amp;quot;] | Question5[. = &amp;quot;yes&amp;quot;] | Question6[. = &amp;quot;yes&amp;quot;] | Question6[. = &amp;quot;yes&amp;quot;] | Question7[. = &amp;quot;yes&amp;quot;] | Question8[. = &amp;quot;yes&amp;quot;] | Question9[. = &amp;quot;yes&amp;quot;] | Question10[. = &amp;quot;yes&amp;quot;] | Question11[. = &amp;quot;yes&amp;quot;] | Question11[. = &amp;quot;yes&amp;quot;] | Question12[. = &amp;quot;yes&amp;quot;] | Question13[. = &amp;quot;yes&amp;quot;] | Question14[. = &amp;quot;yes&amp;quot;] | Question15[. = &amp;quot;yes&amp;quot;] | Question16[. = &amp;quot;yes&amp;quot;])&lt;/p&gt;&lt;p&gt;Number of No - count(Question1[. = &amp;quot;no&amp;quot;] | Question2[. = &amp;quot;no&amp;quot;] | Question3[. = &amp;quot;no&amp;quot;] | Question4[. = &amp;quot;no&amp;quot;] | Question5[. = &amp;quot;no&amp;quot;] | Question6[. = &amp;quot;no&amp;quot;] | Question6[. = &amp;quot;no&amp;quot;] | Question7[. = &amp;quot;no&amp;quot;] | Question8[. = &amp;quot;no&amp;quot;] | Question9[. = &amp;quot;no&amp;quot;] | Question10[. = &amp;quot;no&amp;quot;] | Question11[. = &amp;quot;no&amp;quot;] | Question11[. = &amp;quot;no&amp;quot;] | Question12[. = &amp;quot;no&amp;quot;] | Question13[. = &amp;quot;no&amp;quot;] | Question14[. = &amp;quot;no&amp;quot;] | Question15[. = &amp;quot;no&amp;quot;] | Question16[. = &amp;quot;no&amp;quot;])&lt;/p&gt;&lt;p&gt;Number of NA - count(Question1[. = &amp;quot;na&amp;quot;] | Question2[. = &amp;quot;na&amp;quot;] | Question3[. = &amp;quot;na&amp;quot;] | Question4[. = &amp;quot;na&amp;quot;] | Question5[. = &amp;quot;na&amp;quot;] | Question6[. = &amp;quot;na&amp;quot;] | Question6[. = &amp;quot;na&amp;quot;] | Question7[. = &amp;quot;na&amp;quot;] | Question8[. = &amp;quot;na&amp;quot;] | Question9[. = &amp;quot;na&amp;quot;] | Question10[. = &amp;quot;na&amp;quot;] | Question11[. = &amp;quot;na&amp;quot;] | Question11[. = &amp;quot;na&amp;quot;] | Question12[. = &amp;quot;na&amp;quot;] | Question13[. = &amp;quot;na&amp;quot;] | Question14[. = &amp;quot;na&amp;quot;] | Question15[. = &amp;quot;na&amp;quot;] | Question16[. = &amp;quot;na&amp;quot;])&lt;/p&gt;&lt;p&gt;Total Possible Answers Minus NA - TotalPossibleAnswers - NumberOfNA (field names)&lt;/p&gt;&lt;p&gt;Percentage To Use - TotalPossibleAnswersMinusNA (fieldname)&lt;/p&gt;&lt;p&gt;Percentage Calculation - NumberofYes / PercentageToUse * 100 (fieldnames)*100&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You mention 6.25. I assume you&amp;#39;ll be adding this to an amount somewhere. Not sure what it was connected with or to.&amp;nbsp;Again, hit excel and you&amp;#39;ll easily be able to work it out.&amp;nbsp; Yes 16*6.25 = 100 but is it now necessary?&lt;/p&gt;</description></item><item><title>Calculated values from Yes/No decisions</title><link>https://www.infopathdev.com:443/forums/thread/88869.aspx</link><pubDate>Thu, 11 Apr 2013 16:27:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88869</guid><dc:creator>sbonera</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88869.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88869</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;&lt;p&gt;Any guidance &lt;/p&gt;&lt;p&gt;Scenario QA Form, have to work out a percentage final score based on the 16 answers responses&lt;/p&gt;&lt;p&gt;16 questions with Yes No and some N/A as answers.&amp;nbsp; &lt;/p&gt;&lt;p&gt;No is fine it does not add to the score. YES and N/A would adjust the score percentage&lt;/p&gt;&lt;p&gt;&amp;nbsp;i.e.&amp;nbsp; 16 yes responses&amp;nbsp;would be 6.25 x 16 questions to give you a score of 100%&amp;nbsp; If one N/A was used the percentages adjust i.e&amp;nbsp; 15 yes and one n/a&amp;nbsp; so percentage would be based on 15 answers.&lt;/p&gt;&lt;p&gt;What I have done so far, Text boxes with rule If question&amp;nbsp;XX is yes then set text box to 6.25%&amp;nbsp; and a final score calculated value adding them all together. It is creating the rules that I need to work out with N/A adjusting.&lt;/p&gt;&lt;p&gt;Any help would be appreciated, or knowing going down the wrong route and there will be a easier, simplier solution.&lt;/p&gt;&lt;p&gt;SB&lt;/p&gt;</description></item></channel></rss>