<?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: Converting a value to a linked word</title><link>https://www.infopathdev.com:443/forums/thread/104970.aspx</link><pubDate>Mon, 21 Dec 2015 16:14:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104970</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104970.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=104970</wfw:commentRss><description>InfoPath doesn&amp;#39;t have an IF function. Instead, you could use rules with conditions. For example, you could put a rule on the NumberSource field with the condition that NumberSource &amp;lt;= 30, set the field you want to use for your value to &amp;quot;Improvable&amp;quot;. Another option would be to have expression boxes on the form with these words and conditional formatting. I&amp;#39;m attaching a sample form that shows these options. Save the form locally, right click and select &amp;quot;Design&amp;quot; to open in design mode, then you can look at what I&amp;#39;ve done &amp;amp; preview the form. There are rules on field1 that set field 2 for the rule based approach.</description></item><item><title>Converting a value to a linked word</title><link>https://www.infopathdev.com:443/forums/thread/104966.aspx</link><pubDate>Mon, 21 Dec 2015 15:02:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104966</guid><dc:creator>mistermersh</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=104966</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m currently trying to link a value to a linked word. The value is calculated in one field &amp;#39;NumberSource&amp;#39; and I want that value to be equal to a word based on the following formula from Excel with D1 being the value in the Excel document:&lt;/p&gt;
&lt;p&gt;=IF(D1&amp;lt;=30,&amp;quot;Improvable&amp;quot;,IF(D1&amp;lt;=60,&amp;quot;Close to Successful&amp;quot;,IF(D1&amp;lt;85,&amp;quot;Successful&amp;quot;, IF(D1&amp;lt;=100,&amp;quot;Outstanding&amp;quot;,&amp;quot;ERROR&amp;quot;)))).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve tried replacing D1 with the field as below however the formula errors producing the dreaded &amp;#39;Expected Value Type&amp;#39; error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;=IF(NumberSource&amp;lt;=30,&amp;quot;Improvable&amp;quot;,IF(NumberSource&amp;lt;=60,&amp;quot;Close to Successful&amp;quot;,IF(NumberSource&amp;lt;85,&amp;quot;Successful&amp;quot;, IF(NumberSource&amp;lt;=100,&amp;quot;Outstanding&amp;quot;,&amp;quot;ERROR&amp;quot;)))).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve noticed that the IF function appears to be not available on InfoPath so was looking for any help on how I can replicate the original formula. Usually I can google my way around these but this time I&amp;#39;m stumped!&lt;/p&gt;</description></item></channel></rss>