web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to deduplicate a c...
Power Automate
Unanswered

How to deduplicate a column of data in Excel and generate a list

(0) ShareShare
ReportReport
Posted on by 31

Hi,

 

Do you know how can I deduplicate a column of data in Excel and generate a list? And this column have a column name "workflow name". 

 

Thanks a lot!

Sophia

I have the same question (0)
  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 on at

    @sophia111 

    Please follow the below suggested actions.

    1.  Launch Excel - Open the Workbook

    2. Read from Excel Worksheet and read your required range of columns 

    3. convert you datable column into list using "Retrieve data table into list"

    4. Use remove duplicate items from list to remove your duplicate values

     

    Sample Excel:

    Deenuji_0-1710314025970.png

    Before Duplicate removal:

    Deenuji_2-1710314112892.png

     

    After duplicate removal:

    Deenuji_3-1710314146112.png

    Full flow:

    Deenuji_4-1710314171862.png

    Code:

    Excel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: $'''C:\\Users\\Documents\\Workflow_duplicate.xlsx''' Visible: True ReadOnly: False Instance=> ExcelInstance
    Excel.ReadFromExcel.ReadAllCells Instance: ExcelInstance ReadAsText: False FirstLineIsHeader: True RangeValue=> ExcelData
    Variables.RetrieveDataTableColumnIntoList DataTable: ExcelData ColumnNameOrIndex: $'''workflow name''' ColumnAsList=> WorkflowList
    Variables.RemoveDuplicateItemsFromList List: WorkflowList IgnoreCase: False

     


    Thanks,
    Deenuji Loganathan
    🤖 Automation Evangelist
    Deenuji - Follow me on LinkedIn

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🌟

  • sophia111 Profile Picture
    31 on at

    Hi Deenuji,

     

    Thank you so much!!  It works😉

     

    Best regards,

    Sophia

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard