<?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: OMit n/a radio button when calculating score [.!="n/a"]</title><link>https://www.infopathdev.com:443/forums/thread/61648.aspx</link><pubDate>Wed, 24 Nov 2010 10:00:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61648</guid><dc:creator>dangermouse</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61648.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61648</wfw:commentRss><description>&lt;p&gt;OK, I fixed number 1 already by putting open brackets at the start of the formula and at closed brackets before the / 30 * 100&lt;/p&gt;
&lt;p&gt;2. Nan error - is the only thing I need guidance on now I think...&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item><item><title>Re: OMit n/a radio button when calculating score [.!="n/a"]</title><link>https://www.infopathdev.com:443/forums/thread/61647.aspx</link><pubDate>Wed, 24 Nov 2010 09:53:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61647</guid><dc:creator>dangermouse</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61647</wfw:commentRss><description>&lt;p&gt;Hi Hillary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your&amp;nbsp;amazingly quick response.&lt;/p&gt;
&lt;p&gt;Good Advice - Present me has fondly thought of future me and renamed all fields!!&lt;/p&gt;
&lt;p&gt;I plugged in the formula: Here it is:&lt;/p&gt;
&lt;p&gt;WelcomeResult [.!=&amp;quot;n/a&amp;quot;] + ToneResult [.!=&amp;quot;n/a&amp;quot;] + EmpathyResult [.!=&amp;quot;n/a&amp;quot;] + LanguageResult [.!=&amp;quot;n/a&amp;quot;]&amp;nbsp; + ControlResult [.!=&amp;quot;n/a&amp;quot;] + WrapUpResult [.!=&amp;quot;n/a&amp;quot;] / 30 * 100&lt;/p&gt;
&lt;p&gt;The option button values in each Result set are as follows - 1. 2. 3. 4. 5. n/a.&lt;/p&gt;
&lt;p&gt;However&amp;nbsp;there&amp;#39;s two problems - &lt;/p&gt;
&lt;p&gt;1. When previewing the form - if i click all &amp;quot;3&amp;quot; value option buttons, for example,&amp;nbsp;the formula adds the first 5 sets together (= 15) and when the 6th &amp;quot;3&amp;quot; is chosen the result is 25 (The division by 30 and multiplication by 100 is&amp;nbsp;only taking effect on the individual WrapUpResult?) &lt;/p&gt;
&lt;p&gt;Do I need to type e.g WelcomeResult [.!=&amp;quot;n/a&amp;quot;] / 30 * 100 for each Result set? Or put the whole formula in brackets perhaps?&lt;/p&gt;
&lt;p&gt;2. If an n/a option is chosen no addition occurs and a&amp;nbsp;&amp;#39;Nan&amp;#39; error is returned.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently looking on the nettyweb to find out what a Nan error is...&lt;/p&gt;
&lt;p&gt;Just to reitterate - If any &amp;quot;n/a&amp;quot; is chosen I would like&amp;nbsp;the formula to add the other option button choices and bring a % score based on the remaining potential score - e.g if the choices are 3 + 3 + 3 + n/a + 3 + n/a then the&amp;nbsp;potential score is out of 20 (each result set is out of 5) so the formula should calculate 12 / 20 * 100 = 60%&lt;/p&gt;
&lt;p&gt;I really hope this makes sense, Thanks for your help so far, if you have any ideas I&amp;#39;d really appreciate it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Mike&lt;/p&gt;</description></item><item><title>Re: OMit n/a radio button when calculating score</title><link>https://www.infopathdev.com:443/forums/thread/61628.aspx</link><pubDate>Tue, 23 Nov 2010 16:34:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61628</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61628.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61628</wfw:commentRss><description>&lt;p&gt;Hi, Mike:&lt;/p&gt;&lt;p&gt;Add a filter when you select each field in the formula editor. Your filter would be something like &amp;quot;field1 is not equal to n/a&amp;quot;. Your formula will then look like:&lt;/p&gt;&lt;p&gt;field1[&lt;u&gt;.&lt;/u&gt; != &amp;quot;n/a&amp;quot;]&amp;nbsp;+ field2[&lt;u&gt;.&lt;/u&gt; != &amp;quot;n/a&amp;quot;] + field3[&lt;u&gt;.&lt;/u&gt; != &amp;quot;n/a&amp;quot;] + field4[&lt;u&gt;.&lt;/u&gt; != &amp;quot;n/a&amp;quot;] + field5[&lt;u&gt;.&lt;/u&gt; != &amp;quot;n/a&amp;quot;] + field6[&lt;u&gt;.&lt;/u&gt; != &amp;quot;n/a&amp;quot;] / 30 * 100&lt;/p&gt;&lt;p&gt;Umm, by the way, future you (or whoever ends up owning and editing the form you are currently working on) will be really mad at present you if you don&amp;#39;t rename all those fields so that they have meaningful names like AnswersPromptly, PoliteToCustomer, or whatever the the call handling skills are... &lt;/p&gt;</description></item><item><title>OMit n/a radio button when calculating score</title><link>https://www.infopathdev.com:443/forums/thread/61607.aspx</link><pubDate>Tue, 23 Nov 2010 09:04:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61607</guid><dc:creator>dangermouse</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61607</wfw:commentRss><description>&lt;p&gt;Hello Everyone,&lt;/p&gt;
&lt;p&gt;I have created an infopath form with a set of radio buttons. &lt;/p&gt;
&lt;p&gt;The radio buttons allow the user to mark someones call handling skills&lt;/p&gt;
&lt;p&gt;There are six rows of radio buttons with values 1 - 5. However, each row also includes an n/a option.&lt;/p&gt;
&lt;p&gt;I would like to be able to write a formula to automatically calculate the score in percentage terms.&lt;/p&gt;
&lt;p&gt;This would be easy if not for the n/a option.e.g: field1 + field2 + field3 + field4 + field5 + field6 / 30 * 100&lt;/p&gt;
&lt;p&gt;How do I write a formula to extract the n/a option if one is chosen AND return the percentage score?&lt;/p&gt;
&lt;p&gt;Thanks for any assistance, Mike&lt;/p&gt;</description></item></channel></rss>