Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Preventing duplicate entries in a SharePoint list

(1) ShareShare
ReportReport
Posted on by 17

I have a flow that takes an excel spreadsheet and copies the existing rows to a SharePoint list.  However, the excel spreadsheet will need to be updated a few days later and more rows will be added to it.  Uploading the same spreadsheet (with new entries added) to the flow results in the duplication of previous entries that were uploaded from the first run.

 

Is there a way to re-upload the same file without duplicating records?

 

I do not think that enforcing unique values will work since I am using a flow to get the rows from an excel sheet and put them into a SharePoint list.  It is my understanding that enforcing unique values is done on the SharePoint side and would cause my flow to break if I tried adding a record that was previously added to the list and labeled as a unique value.

 

Example:

 

Version 1.0

This is the original excel file (Ver. 1.0)

FruitQuantity
Apples3
Pears4

 

Version 1.1

FruitQuantity
Apples3
Pears4
Oranges2

 

This would be the updated excel file (Ver. 1.1). I would like to be able to re-upload the newly updated excel file into the flow, but omit the entries of "Apples" and "Pears" and only add "Oranges".  Creating a new excel spreadsheet for the new entries/rows is not ideal, and we would like to be able to use the original spreadsheet (with new entries added to the table, Ver. 1.1).  All entries will be located within the same excel table (only one table in the excel file).

 

Is this possible? I have tried using a condition but that doesn't seem to be working at the moment.


I can also upload screenshots of my current flow if that will bring some clarity to the issue!

 

The flow currently works as expected, other than the duplication of entries.

 

Thank you for any and all help!

  • Verified answer
    JisungHan Profile Picture
    on at
    Re: Preventing duplicate entries in a SharePoint list

    Hi @MusicMonkey ,

     

    I am afraid that there is no way to filter duplicated records without unique value in such scenario. System works based on what the logic is and it can't filter itself. If the excel replaces and starts running within a certain logic, the unique field or number should be only way to skip duplication. 

     

    If there are multiple fields (over 3 different fields), then, you may add the filter by combining the fields (at least three) to make sure the record is unique but it still not available to make sure the data integrity without unique value.

     

    Best regards,
    Jisung Han

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1