<?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 Help</title><link>https://www.infopathdev.com:443/forums/thread/42223.aspx</link><pubDate>Thu, 28 May 2009 17:04:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42223</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42223</wfw:commentRss><description>&lt;p&gt;Mine works as long as there are spaces for the divisors, but I do get the same outcome with Samir&amp;#39;s formula.&lt;/p&gt;</description></item><item><title>Re: Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/42222.aspx</link><pubDate>Thu, 28 May 2009 17:01:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42222</guid><dc:creator>mbrady1973</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42222</wfw:commentRss><description>&lt;p&gt;Thanks to all!! Worked Great!&lt;/p&gt;</description></item><item><title>Re: Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/42221.aspx</link><pubDate>Thu, 28 May 2009 16:33:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42221</guid><dc:creator>Samir Farid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42221.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42221</wfw:commentRss><description>&lt;p&gt;First, I think that you might get errors when using warrtalon&amp;#39;s formula as there are no spaces between the operations and the fields. Here is the same formula but with spaces:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;(((@Ton_Estimate * @SellPrice_ton) - (@Ton_Estimate * @dsiposal_cost) + @Haul_Marg_doll) / (@Ton_Estimate * @dsiposal_cost)) + ((@Fully_Loaded / 60) * @Minutes)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Second, I think you can simplify your formula by changing it to the following:&lt;/p&gt;
&lt;p&gt;1. @SellPrice_ton - @dsiposal_cost + (@Haul_Marg_doll / @Ton_Estimate)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Divided by &lt;br /&gt;&lt;/strong&gt;2. @dsiposal_cost&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Plus &lt;br /&gt;&lt;/strong&gt;3. (@Fully_Loaded / 60) * @Minutes&lt;/p&gt;
&lt;p&gt;This is&amp;nbsp;purly a mathemathics change and doesn&amp;#39;t affect the outcome.&lt;/p&gt;
&lt;p&gt;Your formula in InfoPath would then be:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;((@SellPrice_ton - @dsiposal_cost + (@Haul_Marg_doll / @Ton_Estimate)) / @dsiposal_cost) + ((@Fully_Loaded&amp;nbsp;/ 60) * @Minutes)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I have attached an InfoPath form with both formulas so that you can test both outcomes.&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;/p&gt;</description></item><item><title>Re: Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/42217.aspx</link><pubDate>Thu, 28 May 2009 15:19:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42217</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42217</wfw:commentRss><description>&lt;p&gt;(((@Ton_Estimate*@SellPrice_ton)-(@Ton_Estimate*@dsiposal_cost)+@Haul_Marg_doll)/(@Ton_Estimate*@disposal_cost))+((@Fully_Loaded/60)*@Minutes)&lt;/p&gt;</description></item><item><title>Formula Help</title><link>https://www.infopathdev.com:443/forums/thread/42214.aspx</link><pubDate>Thu, 28 May 2009 15:10:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42214</guid><dc:creator>mbrady1973</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42214</wfw:commentRss><description>&lt;p&gt;Good Morning,&lt;/p&gt;
&lt;p&gt;I am having trouble making the following formula work.... I need it to calculate in the following order. Not too sure how to format this to make it happen. Thanks in advance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. (@Ton_Estimate * @SellPrice_ton) - (@Ton_Estimate * @dsiposal_cost) + @Haul_Marg_doll&lt;/p&gt;
&lt;p&gt;Divided by&lt;/p&gt;
&lt;p&gt;2. @Ton_Estimate * @dsiposal_cost&lt;/p&gt;
&lt;p&gt;plus&lt;/p&gt;
&lt;p&gt;3. (@Fully_Loaded div 60) * @Minutes&lt;/p&gt;</description></item></channel></rss>