<?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: Duplicate removal in excel in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117667#M4027</link>
    <description>&lt;P&gt;The code worked perfectly, and the formula TRIM(SUBSTITUTE(SUBSTITUTE(A1,".","",1),",","",1)) produced the expected result when applied manually in Excel as shown below. However, I’m trying to create an action that performs this operation across all cells in my&amp;nbsp; &lt;STRONG&gt;Name column&lt;/STRONG&gt;. I attempted using the "Set Cell Value" action, but it applied the same value to every cell in the column. so I believe I may be missing something or doing something incorrectly. I am also thinking of creating a loop&amp;nbsp; but it doesnt sound robust because what if i have 500 row datas. please what do i do.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-17 164605.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40073i6551BF41F200F8FC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-17 164605.png" alt="Screenshot 2024-12-17 164605.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 15:57:41 GMT</pubDate>
    <dc:creator>blazino17</dc:creator>
    <dc:date>2024-12-17T15:57:41Z</dc:date>
    <item>
      <title>Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117617#M4021</link>
      <description>&lt;P&gt;I am building a process that needs me to check for dupicates before progressing to the next stage. I have checked through the MS Excel VBO and i cant find any action that can perform the action i want to perform. How can i remove the duplicates on the column &lt;STRONG&gt;Id&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blazino17_0-1734355199350.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40054iC0E41CE1BB3F9B04/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="blazino17_0-1734355199350.png" alt="blazino17_0-1734355199350.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 13:26:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117617#M4021</guid>
      <dc:creator>blazino17</dc:creator>
      <dc:date>2024-12-16T13:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117618#M4022</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61249"&gt;@blazino17&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im not sure if the latest version of the vbo contains an action for this so first thing to do is make sure you have the latest version of the excel vbo from the digital exchange. If you have the latest one and it doesnt include the action to remove duplicates then you can try getting the range from excel and adding it&amp;nbsp;as a collection in Blueprism. Then you can use the vbo Utility - Collection Manipulation Extended and there is an action in there called extract duplicates. If this doesnt work for you or isnt suitable I built a previous action for excel that removes duplicates, i can provide the code if you are comfortable building your own action.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 13:43:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117618#M4022</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-12-16T13:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117621#M4023</link>
      <description>&lt;P&gt;Thank you Michael for responding to me, I have the latest version of &lt;STRONG&gt;Excel vbo&lt;/STRONG&gt; and it includes the action &lt;STRONG&gt;remove duplicates&amp;nbsp;&lt;/STRONG&gt;but from the Business object definition page it was stated that it can be used to &lt;EM&gt;remove blank rows&lt;/EM&gt; which is not what i want to achieve at the moment. Please see attached below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blazino17_1-1734363169543.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40056iE3A0381F59393E50/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="blazino17_1-1734363169543.png" alt="blazino17_1-1734363169543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also,I was not able to see the aforementioned vbo &lt;STRONG&gt;Collection Manipulation Extended&amp;nbsp;&lt;/STRONG&gt;on the Dx portal so as to use the action extract duplicate.&lt;/P&gt;&lt;P&gt;I would also appreciate having the code to remove duplicates in Excel, as I am eager to learn how to create my own actions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="blazino17_0-1734361900569.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40055i64D6615CEDD8CEE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="blazino17_0-1734361900569.png" alt="blazino17_0-1734361900569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Secondly, once this has been achieved, I would also like to ask: how do you format a column to remove spaces, commas, and Fullstop?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 15:39:10 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117621#M4023</guid>
      <dc:creator>blazino17</dc:creator>
      <dc:date>2024-12-16T15:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117624#M4024</link>
      <description>&lt;P&gt;The code is shown below. As for removing text and whitespace, i would keep that simple and use a formula to do that. In a blank row add a formula similar to =TRIM(SUBSTITUTE(SUBSTITUTE(A1,".","",1),",","",1))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_1-1734363833092.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40058i5DD11B06ADE9E5CB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_1-1734363833092.png" alt="michaeloneil_1-1734363833092.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaeloneil_0-1734363813933.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40057i000A624400D70299/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="michaeloneil_0-1734363813933.png" alt="michaeloneil_0-1734363813933.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim wb, ws As Object&lt;BR /&gt;Dim excel, sheet, range As Object&lt;/P&gt;&lt;P&gt;wb = GetWorkbook(Handle, Workbook)&lt;BR /&gt;ws = GetWorksheet(Handle, Workbook, Worksheet)&lt;/P&gt;&lt;P&gt;wb.Activate()&lt;BR /&gt;ws.Activate()&lt;BR /&gt;excel = ws.Application&lt;BR /&gt;sheet = excel.ActiveSheet&lt;BR /&gt;range = sheet.Range(Reference)&lt;BR /&gt;range.Select()&lt;/P&gt;&lt;P&gt;ws.Range(Reference).RemoveDuplicates (Columns:=Column_number, Header:= 2)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 15:49:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117624#M4024</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-12-16T15:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117658#M4025</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/61249"&gt;@blazino17&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you still need help on this ?&lt;/P&gt;&lt;P&gt;If yes, show us your desired output and we will create a custom code for you&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 11:59:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117658#M4025</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2024-12-17T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117667#M4027</link>
      <description>&lt;P&gt;The code worked perfectly, and the formula TRIM(SUBSTITUTE(SUBSTITUTE(A1,".","",1),",","",1)) produced the expected result when applied manually in Excel as shown below. However, I’m trying to create an action that performs this operation across all cells in my&amp;nbsp; &lt;STRONG&gt;Name column&lt;/STRONG&gt;. I attempted using the "Set Cell Value" action, but it applied the same value to every cell in the column. so I believe I may be missing something or doing something incorrectly. I am also thinking of creating a loop&amp;nbsp; but it doesnt sound robust because what if i have 500 row datas. please what do i do.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-17 164605.png" style="width: 999px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/40073i6551BF41F200F8FC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-17 164605.png" alt="Screenshot 2024-12-17 164605.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 15:57:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117667#M4027</guid>
      <dc:creator>blazino17</dc:creator>
      <dc:date>2024-12-17T15:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117669#M4028</link>
      <description>&lt;P&gt;Ah sorry i maybe havent given full instructions there, the formula should be inserted into one cell initially and then that cell dragged down to autofill the rest. The formula references are dynamic so it will auto update as the formula is dragged down. I believe in the latest excel vbo there is an aciton to drag values downward so for the example you have given insert the cell value to F1 and then drag down to F 10&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 16:15:13 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117669#M4028</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2024-12-17T16:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate removal in excel</title>
      <link>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117676#M4032</link>
      <description>&lt;P&gt;Thank you so much, Michael.&lt;/P&gt;&lt;P&gt;I have successfully resolved my issues&amp;nbsp; just as you have directed. The action in the &lt;STRONG&gt;&lt;EM&gt;MS Excel VBO&lt;/EM&gt;&lt;/STRONG&gt; is &lt;STRONG&gt;Autofill&lt;/STRONG&gt;, and I’m truly happy and grateful!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 09:31:51 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Duplicate-removal-in-excel/m-p/117676#M4032</guid>
      <dc:creator>blazino17</dc:creator>
      <dc:date>2024-12-18T09:31:51Z</dc:date>
    </item>
  </channel>
</rss>

