<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Formula to Calculate Grand Total</title><link>https://www.infopathdev.com:443/forums/thread/40532.aspx</link><pubDate>Mon, 13 Apr 2009 05:08:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40532</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40532</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the data type of Field2 and Field3?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Formula to Calculate Grand Total</title><link>https://www.infopathdev.com:443/forums/thread/40480.aspx</link><pubDate>Thu, 09 Apr 2009 11:51:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40480</guid><dc:creator>Berdia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40480.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40480</wfw:commentRss><description>&lt;p&gt;Here is one more thing which makes it little bit comlicated. Values in Field2 and Field3 are calculated based on Exhange Rate (i.e. field x / field y=Field2 similar fomula applies on Filed3). &lt;br /&gt;So what happens is when there is no Field2 or Field3 present, instead of value I get &amp;quot;NaN&amp;quot; in Field2 or 3 and Grand total can not recognise it even if I put rule (if Field2/3 is blank ignore it) and Grand Total is giving an error/not calculating amount from any other fields. &lt;/p&gt;</description></item><item><title>Re: Formula to Calculate Grand Total</title><link>https://www.infopathdev.com:443/forums/thread/40347.aspx</link><pubDate>Mon, 06 Apr 2009 08:34:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40347</guid><dc:creator>Berdia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40347.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40347</wfw:commentRss><description>Thank you!!! I will try it today.</description></item><item><title>Re: Formula to Calculate Grand Total</title><link>https://www.infopathdev.com:443/forums/thread/40344.aspx</link><pubDate>Mon, 06 Apr 2009 05:32:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40344</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40344</wfw:commentRss><description>Hi, 
&lt;p&gt;You can achieve this using rules. For the first rule, add the condition as if field1, field2, field3 is blank then the action is to be set Grand total to the subtotal value. &amp;nbsp;&amp;nbsp;And the second rule is if field1, field2, field3 is not blank then the action is to be set Grand total to add field1, field2, field3 and subtotal. &lt;/p&gt;</description></item><item><title>Formula to Calculate Grand Total</title><link>https://www.infopathdev.com:443/forums/thread/40335.aspx</link><pubDate>Sat, 04 Apr 2009 19:06:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40335</guid><dc:creator>Berdia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40335</wfw:commentRss><description>Hi, 

I am designing Infopath form where I need formula (preferably using Infopath Functions) to calculate Grand Total:

&amp;quot;If there is no amount present in field1, filed2 and field3 I want Grand Total field to show amount from Subtotal field only. If field1, field2 and field3 have amount present then I want Grand Total to show total of field1, field2, field3 and Subtotal&amp;quot;.

Could you please help how to write formula using Functions?

Thank you.</description></item></channel></rss>