<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/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>regarding validations in excel</title><link>https://community.appian.com/discussions/f/data/40136/regarding-validations-in-excel</link><description>No warning or error message is displayed when the user uploads a file containing duplicate advisor code and Line of business. 
 I need validation message when I am uploading more than 1 entry with same data. that is if the excel consists same line of</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: regarding validations in excel</title><link>https://community.appian.com/thread/153282?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 16:05:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21b118d6-005f-4d38-8316-cfb91b5ae3f4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1769529936172v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: regarding validations in excel</title><link>https://community.appian.com/thread/153281?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 15:24:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf62940a-b3b0-45ce-883a-9f938b617e1d</guid><dc:creator>Harsha Sharma</dc:creator><description>&lt;p&gt;Made few tweaks to your code. Try the below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!forEach(
    items: local!constructData.lob,
    expression: if(
      count(
        index(
          local!constructData.advisorCode,
          wherecontains(
            fv!item,
            local!constructData.lob
          )
        )
      ) &amp;gt; 1,
      &amp;quot;Duplicate Line of business&amp;quot;,
      &amp;quot;&amp;quot;
    )
  )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Few notes :&amp;nbsp;&lt;span&gt;tostring(local!constructData) will cast your entire data into a single text and wherecontains() won&amp;#39;t work appropriately.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>