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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Remove duplicate rows ...
Power Automate
Unanswered

Remove duplicate rows in Excel based on multiple columns

(0) ShareShare
ReportReport
Posted on by 21

I have a Flow that is connected to a sharepoint list and adds rows into an Excel table depending on the leave dates entered. As staff may enter multiple leave dates, I want to ensure the table in Excel doesn't contain any duplicates rows.  

 

I need to create a flow that checks the rows in Excel table and identifies duplicates by looking at the Staff Member column and Leave Date column. If a staff member has more than 1 row with the same leave date, I would like PA to delete the earliest row(s) (as the latest row added should be the most accurate) until only 1 row with that date and staff member is left. 

 

I will run this flow as a scheduled trigger every 30 minutes to continually clean the data being entered.

I have had a look online but found nothing in relation to this, only support to do this in Power Query (which I don't want to do). Any support is appreciated or links to resources.

 

duplicatetable.PNG

Categories:
I have the same question (0)
  • takolota1 Profile Picture
    4,980 Moderator on at

    @ontheclock 

    This template allows you to list any columns in the Select input to check for duplicates & you can control which are marked as duplicates based on the sorting you apply to the data.

    You will just have to replace the SharePoint actions with Excel actions.

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Find-and-Remove-Duplicates/td-p/2191403

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 598

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 370

Last 30 days Overall leaderboard
Liquid error: parsing "/forums/thread/details/?threadid=%27nvOpzp;%20AND%201=1%20OR%20(%3C%27%22%3EiKO))," - Too many )'s.