<?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: Looking for a SUMIFS equivaliant in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/58913.aspx</link><pubDate>Mon, 13 Sep 2010 16:01:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58913</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58913</wfw:commentRss><description>&lt;p&gt;Glad to help, Steve!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This question has come several times over the past few weeks, and over time, I have found a simpler way to express this formula.&amp;nbsp; What I currently recommend is:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;substring(xdMath:Eval(xdMath:Eval(&lt;strong&gt;&lt;u&gt;path to field (with any relevant filtering)&lt;/u&gt;&lt;/strong&gt;, &amp;#39;concat(&amp;quot;, &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;), 3)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So the formula in my example above would become:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;substring(xdMath:Eval(xdMath:Eval(&lt;u&gt;&lt;b&gt;/my:myFields/my:group1/my:group2&lt;/b&gt;&lt;/u&gt;[&lt;u&gt;&lt;b&gt;my:field1&lt;/b&gt;&lt;/u&gt; = &amp;quot;&lt;u&gt;&lt;b&gt;yes&lt;/b&gt;&lt;/u&gt;&amp;quot;]/&lt;u&gt;&lt;b&gt;my:field2&lt;/b&gt;&lt;/u&gt;, &amp;#39;concat(&amp;quot;, &amp;quot;, .)&amp;#39;), &amp;quot;..&amp;quot;),&amp;nbsp;3) &lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Looking for a SUMIFS equivaliant in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/58904.aspx</link><pubDate>Mon, 13 Sep 2010 14:02:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58904</guid><dc:creator>SteveJones</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58904.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58904</wfw:commentRss><description>&lt;p&gt;Jimmy,&lt;/p&gt;
&lt;p&gt;This formula is a lifesaver. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve been trying for ages to figure out how to concatenate values from the DisplayName of a contact selector into a single text node without code, and this worked like a charm! I had no idea that you could use two qualifying conditions like this.&lt;/p&gt;
&lt;p&gt;Thanks for your efforts here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Looking for a SUMIFS equivaliant in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/53256.aspx</link><pubDate>Wed, 31 Mar 2010 00:49:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53256</guid><dc:creator>PMDBERIO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53256</wfw:commentRss><description>&lt;p&gt;Jimmy, &lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Many thanks. Your formula looks great and helps plenty. However I do not have the departments set-up in a repeating field. They are all independent. How can I modify what you gave me and add all the departments to it collectively. Can I just put them in 1 by one and have them seperated by a &lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;comma or parentheses?&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt; 
&lt;p&gt;&lt;/span&gt;Thanks for the reply. I greatly appreciate it.&lt;/p&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Re: Looking for a SUMIFS equivaliant in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/53236.aspx</link><pubDate>Tue, 30 Mar 2010 16:53:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53236</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53236.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53236</wfw:commentRss><description>&lt;p&gt;I think the attached XSN does what you describe.&amp;nbsp; All of the logic is in the fairly complicated formula on the default value of my:field4, which I&amp;#39;ll reproduce below, but you only need to modify the underlined parts to adapt this to your own scenario:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;concat(xdMath:Eval(xdMath:Eval(&lt;u&gt;&lt;b&gt;/my:myFields/my:group1/my:group2&lt;/b&gt;&lt;/u&gt;[&lt;u&gt;&lt;b&gt;my:field1&lt;/b&gt;&lt;/u&gt; = &amp;quot;&lt;u&gt;&lt;b&gt;yes&lt;/b&gt;&lt;/u&gt;&amp;quot;][position() != last()]/&lt;u&gt;&lt;b&gt;my:field2&lt;/b&gt;&lt;/u&gt;, &amp;#39;concat(., &amp;quot;, &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), &lt;u&gt;&lt;b&gt;/my:myFields/my:group1/my:group2&lt;/b&gt;&lt;/u&gt;[&lt;u&gt;&lt;b&gt;my:field1&lt;/b&gt;&lt;/u&gt; = &amp;quot;&lt;u&gt;&lt;b&gt;yes&lt;/b&gt;&lt;/u&gt;&amp;quot;][last()]/&lt;u&gt;&lt;b&gt;my:field2&lt;/b&gt;&lt;/u&gt;) &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;What you need to replace is:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;/my:myFields/my:group1/my:group2&amp;nbsp; - The path to your repeating group&lt;/p&gt;&lt;p&gt;my:field1 - The node bound to the checkbox&lt;/p&gt;&lt;p&gt;yes - The value the checkbox has when it&amp;#39;s checked&lt;/p&gt;&lt;p&gt;my:field2 - The node with the value you want to display &lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Looking for a SUMIFS equivaliant in InfoPath</title><link>https://www.infopathdev.com:443/forums/thread/53235.aspx</link><pubDate>Tue, 30 Mar 2010 16:19:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53235</guid><dc:creator>PMDBERIO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53235</wfw:commentRss><description>&lt;p&gt;I posted this message earlier and didn&amp;#39;t get any response, and I assume that is do to how I worded the question:&lt;/p&gt;&amp;nbsp;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I work for a large business with 25 different departments. These departments can be given one of 15 tasks in addition to an optional task (which makes 16). I have created check boxes for each department and then a corresponding drop-down box with the 16 tasks to select from.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In my InfoPath form (tied to SharePoint) I would like 16 “repository fields” that display each department assigned to a specific task. Multiple departments can be assigned the same task. &lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;For example: Accounting, Publicity and Outreach departments may all be tasked with providing “INFO” on a subject. In the corresponding “INFO” field I would like it to auto populate with “Accounting, Publicity, Outreach” so at a glance, or in SharePoint oversight as to who is assigned to a specific task is easy.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I have solved the Concat function issues as well as all conditional formatting but how to have the repository cell search all 25 departments for selected ones. then searching for a specific task (RULE criteria) to populate said repository cell has left me at my wits end. I have gone as far as to try to edit in VB but either it is not is simple as I want it to be or it is above my abilities. My strengths are in Excel and Access and I would compare this dilemma to the SUMIFs function in Excel only I do not need a summation, just a representation of ALL fields meeting that criteria.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Any help would be appreciated, and if I have worded this request poorly I apologize.&lt;/span&gt; 
&lt;p&gt;&lt;a href="http://usma-portal:25227/personal/yd9037/oooo/Forms/AllItems.aspx"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Conditional Concat</title><link>https://www.infopathdev.com:443/forums/thread/53192.aspx</link><pubDate>Mon, 29 Mar 2010 16:43:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53192</guid><dc:creator>PMDBERIO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=53192</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I have several dropdowns with duplicated data. There&amp;nbsp;are 25 different departments that can be assigned one of the 16 dropdown options (tasks).&amp;nbsp; I want a field below them to populate with the names of the organizations assigned to that task.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;I used the concat function to display the identified department name&amp;nbsp;but right now it is yes/no. I need to be something to the effect of&amp;nbsp; &amp;quot;IF assigned [this task] then display concat rule&amp;nbsp; else (display nothing). This needs to be applied to all 25 dropdowns and be collected in that one txt box. This is similar to the SUMIF function in Excel, only instead of SUMIF it would be &amp;quot;displayconcatIF&amp;quot; :)&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;What I would like is a txt box that shows all of the department names that meet those two criteria. &lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I read many of the blogs here and have danced around the solution a couple of times now. Any help would be appreciated.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thank you in advance.&lt;/span&gt; 
&lt;p&gt;PMDBERIO&lt;/p&gt;</description></item></channel></rss>