<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Excel Operations logic help in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116382#M52174</link>
    <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/490"&gt;@harish.mogulluri&lt;/a&gt;&amp;nbsp;Thanks for your great help!&lt;/P&gt;&lt;P&gt;I will definitely try your suggestions.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 02:58:39 GMT</pubDate>
    <dc:creator>DipinDevP</dc:creator>
    <dc:date>2024-10-21T02:58:39Z</dc:date>
    <item>
      <title>Excel Operations logic help</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116375#M52168</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am requesting a logic help here which I need to handle with Excel VBO in Blue Prism. It would be great, if&amp;nbsp; someone can share ideas on how to implement it.&lt;/P&gt;&lt;P&gt;Please check the attached Excel file Images&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ID-111.jpg" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39624iB62552BEC172EB94/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="ID-111.jpg" alt="ID-111.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ID-222.jpg" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39623i227C35F0EA1B02E2/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="ID-222.jpg" alt="ID-222.jpg" /&gt;&lt;/span&gt;, in which there are 2 sets of data with ID 111 and ID 222.&lt;/P&gt;&lt;P&gt;Logics to implement:&lt;/P&gt;&lt;P&gt;&lt;U&gt;Logic 1 - ID &lt;STRONG&gt;111&lt;/STRONG&gt;:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;If the &lt;STRONG&gt;Status&lt;/STRONG&gt; is ‘Waiting&lt;STRONG&gt;’ and Group&lt;/STRONG&gt; is ‘Phone Connect’, find Sum of &lt;STRONG&gt;Time&lt;/STRONG&gt; from the &lt;STRONG&gt;&lt;EM&gt;next row&lt;/EM&gt;&lt;/STRONG&gt; to the row which &lt;STRONG&gt;Status&lt;/STRONG&gt; turns ‘Active&lt;STRONG&gt;’ &lt;/STRONG&gt;and set the value in &lt;STRONG&gt;Required Time Column&lt;/STRONG&gt; in the last row of that ID&lt;STRONG&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here there are 2 groups matching above conditions. D7 to D8 and D12 to D15.&lt;/P&gt;&lt;P&gt;(Sometimes more than 2 groups may be there).&lt;/P&gt;&lt;P&gt;So, we need to take sum of both sums (D7 to D8 and D12 to D15) and set in E20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Logic 2 - ID &lt;STRONG&gt;222&lt;/STRONG&gt;:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;If &lt;STRONG&gt;Status&lt;/STRONG&gt; is ‘Waiting&lt;STRONG&gt;’&lt;/STRONG&gt; even before &lt;STRONG&gt;Group&lt;/STRONG&gt; turns ‘Phone Connect’, find Sum of &lt;STRONG&gt;Time&lt;/STRONG&gt; from the &lt;STRONG&gt;&lt;EM&gt;same row&lt;/EM&gt;&lt;/STRONG&gt; (with Group ‘Phone Connect’) to the row which &lt;STRONG&gt;Status&lt;/STRONG&gt; turns ‘Active&lt;STRONG&gt;’ &lt;/STRONG&gt;and set the value in &lt;STRONG&gt;Required Time Column&lt;/STRONG&gt; in the last row of that ID&lt;STRONG&gt;. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here there are 2 groups matching above conditions. D29 to D31 and D34 to D38 (Sometimes more than 2 groups may be there.)&lt;/P&gt;&lt;P&gt;So, we need to take sum of both sums (D29 to D31 and D34 to D38) and set in E42.&lt;/P&gt;&lt;P&gt;In single Excel we may have set of data with more than 1000 different IDs. Here I put just 2 ID setss 111 and 222 as examples.&lt;/P&gt;&lt;P&gt;Can anyone suggest how we can implement above logic using MS Excel VBO or any Extended VBOs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Dipin Dev P&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 16:07:10 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116375#M52168</guid>
      <dc:creator>DipinDevP</dc:creator>
      <dc:date>2024-10-18T16:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Operations logic help</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116377#M52170</link>
      <description>&lt;P&gt;I missed to add column references in the above post.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column A : ID&lt;/P&gt;&lt;P&gt;Column B : Group&lt;/P&gt;&lt;P&gt;Column C : Status&lt;/P&gt;&lt;P&gt;Column D : Time&lt;/P&gt;&lt;P&gt;Column E : Required Time&lt;/P&gt;</description>
      <pubDate>Sat, 19 Oct 2024 01:09:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116377#M52170</guid>
      <dc:creator>DipinDevP</dc:creator>
      <dc:date>2024-10-19T01:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Operations logic help</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116380#M52173</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/58907"&gt;@DipinDevP&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Logic 1 - ID&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;111&lt;/STRONG&gt;:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Read the data in to collection : Coll1_Logic1&lt;BR /&gt;Create new empty collection:&amp;nbsp; TempColl_sum_logic1( By adding Status, Group and Time column this is optional you can do with out using this collection)&lt;BR /&gt;Flag: Group_Status(Match): initialize as false&lt;/P&gt;&lt;P&gt;Loop the collection and&lt;/P&gt;&lt;P&gt;a)&amp;nbsp; &amp;nbsp;write condition some thing like this ("&lt;SPAN&gt;Column B : Group" And "Column C : Status"&amp;nbsp;&lt;/SPAN&gt;) or flag Group_status(Match) is true&lt;BR /&gt;If both&amp;nbsp; the condition matches&amp;nbsp; as per your requirment which is (&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Status&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;is ‘Waiting&lt;/SPAN&gt;&lt;STRONG&gt;’ and Group&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;is ‘Phone Connect’&lt;/SPAN&gt;)&amp;nbsp; and&amp;nbsp; use the calc stage&amp;nbsp; to update the flag some thing like Flag_Status_Group( true)&lt;BR /&gt;and&lt;/P&gt;&lt;P&gt;b) add new rows in to the TempColl_sum collection and pass all the status, Group and time values in to this collection&amp;nbsp; &amp;gt; perform this step until your second condition met&amp;nbsp; which is status is Active and Group is Phone connector&lt;BR /&gt;c) once the loop reaches to the second condition* status is Active and Group is phone connect) . then loop&amp;nbsp; the second collection and sum all the values in the time column and place this value in some temp data type&lt;BR /&gt;You can update the Group _status flag as false after the&amp;nbsp; completion of loop in the second collection&lt;BR /&gt;&lt;BR /&gt;Note: TempColl_sum_logic1 is&amp;nbsp; optional you can do with&amp;nbsp; out using this one. there might be different or better approach as well.&lt;BR /&gt;&lt;BR /&gt;You can perform similar logic in excel VB script or code stage in blue prism&lt;BR /&gt;&lt;BR /&gt;You can apply above logic if needed some tweaking iyou can perform &lt;U&gt;Logic 2 - ID&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;222 as well.&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 04:46:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116380#M52173</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2024-10-20T04:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Operations logic help</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116382#M52174</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/490"&gt;@harish.mogulluri&lt;/a&gt;&amp;nbsp;Thanks for your great help!&lt;/P&gt;&lt;P&gt;I will definitely try your suggestions.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 02:58:39 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Operations-logic-help/m-p/116382#M52174</guid>
      <dc:creator>DipinDevP</dc:creator>
      <dc:date>2024-10-21T02:58:39Z</dc:date>
    </item>
  </channel>
</rss>

