<?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: "if" equals "fielda or fieldb" sum "fieldc"</title><link>https://www.infopathdev.com:443/forums/thread/85877.aspx</link><pubDate>Tue, 08 Jan 2013 18:01:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85877</guid><dc:creator>kseger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85877.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85877</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;YES!!! THANK YOU!!!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: "if" equals "fielda or fieldb" sum "fieldc"</title><link>https://www.infopathdev.com:443/forums/thread/85875.aspx</link><pubDate>Tue, 08 Jan 2013 17:56:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85875</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85875.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85875</wfw:commentRss><description>&lt;p&gt;Yes, the formula in the previous post was just an example because I didn&amp;#39;t know the actual field names.&amp;nbsp; Now that I do, I believe the formula would be:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;sum(/my:myFields/my:Itemized_Expenses/my:Receipt_Description[my:Pmt_Method = &amp;quot;PCC&amp;quot; or my:Pmt_Method = &amp;quot;CASH&amp;quot;]/my:Amount)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: "if" equals "fielda or fieldb" sum "fieldc"</title><link>https://www.infopathdev.com:443/forums/thread/85874.aspx</link><pubDate>Tue, 08 Jan 2013 17:46:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85874</guid><dc:creator>kseger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85874.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85874</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Perhaps this image works better?&lt;/p&gt;&lt;p&gt; &lt;img src="http://img846.imageshack.us/img846/5124/infopath.jpg" title="with Desc" alt="with Desc" height="654" width="800" /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: "if" equals "fielda or fieldb" sum "fieldc"</title><link>https://www.infopathdev.com:443/forums/thread/85861.aspx</link><pubDate>Tue, 08 Jan 2013 15:50:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85861</guid><dc:creator>kseger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85861</wfw:commentRss><description>&lt;p&gt;I hope this one goes through! &lt;/p&gt;&lt;p&gt;If the example image were an actual report, I would need the &amp;quot;Due Employee&amp;quot; field to read 10&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The formula provided earlier did not work, the names of the fields are as follows;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Pmt_Method (options in dropdown are BCC, PCC, CASH) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Amount (cell under cost)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://img42.imageshack.us/img42/5124/infopath.jpg" title="Infopath snapshot" alt="Infopath snapshot" align="left" height="395" width="626" /&gt;&lt;/p&gt;</description></item><item><title>Re: "if" equals "fielda or fieldb" sum "fieldc"</title><link>https://www.infopathdev.com:443/forums/thread/85839.aspx</link><pubDate>Tue, 08 Jan 2013 04:29:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85839</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85839</wfw:commentRss><description>&lt;p&gt;The image you added seems to be broken, but I think a formula like this should do the trick:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(&lt;u&gt;repeatingRow&lt;/u&gt;[my:pmtMethod&amp;nbsp;= &amp;quot;PCC&amp;quot; or my:pmtMethod = &amp;quot;CASH&amp;quot;]/my:cost)&lt;/p&gt;</description></item><item><title>"if" equals "fielda or fieldb" sum "fieldc"</title><link>https://www.infopathdev.com:443/forums/thread/85837.aspx</link><pubDate>Mon, 07 Jan 2013 23:05:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85837</guid><dc:creator>kseger</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85837.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=85837</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Help!&amp;nbsp; I am trying to create a company expense report and I can&amp;#39;t figure out how to format a formula for the &amp;quot;Due Employee&amp;quot; cell! I need to total the &amp;quot;Cost&amp;quot; field to sum in the &amp;quot;Due Employee&amp;quot; field only if the &amp;quot;Pmt Method&amp;quot; field is PCC or CASH, does that make sense? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you in advance for all of your help!!&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>