<?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: Using If statement</title><link>https://www.infopathdev.com:443/forums/thread/124788.aspx</link><pubDate>Tue, 22 Mar 2022 15:00:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124788</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124788.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=124788</wfw:commentRss><description>The attached has two approaches - the first one using rules on A and B, the second one using a default (based off this approach: https://docs.microsoft.com/en-us/archive/blogs/infopath/conditional-default-values) on the Result field. Right click the attached file, save locally, right click the local file and select design. Then you can preview, take a look at the rules, etc. :)</description></item><item><title>Using If statement</title><link>https://www.infopathdev.com:443/forums/thread/124787.aspx</link><pubDate>Tue, 22 Mar 2022 08:54:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124787</guid><dc:creator>hainh1984</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=124787</wfw:commentRss><description>Dear All,

Could you please help to make calculation fields as below sample in Excel

=IF(A&amp;gt;B,A-B,0)

Explain: If field A greater field B, then Field C = Field A - Field B, else = 0)

How can we use this formular in Infopath</description></item></channel></rss>