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 / Repeated Entries into ...
Power Automate
Answered

Repeated Entries into Excel from Sharepoint

(0) ShareShare
ReportReport
Posted on by 9

Hey all,

 

I created a flow connecting a SharePoint list to an Excel Online sheet.

The flow looks like this:

Roko06_3-1704436153374.png

 

Roko06_1-1704435920487.png

The flow is working fine. It's updating/ adding rows to a table when the sheet is modified, but it's adding repeated entries even if 1 entry in the list was modified.

Roko06_2-1704436019244.png

What can I do so that it only adds 1 row and not so many? 

Thanks!

Categories:
I have the same question (0)
  • NathanAlvares24 Profile Picture
    1,714 Moderator on at

    Hi @Roko06 !

     

    Just wanted to clarify, so you need only the modified rows to be added to the Excel worksheet, right?

     

    Regards,

    Nathan Alvares

  • Roko06 Profile Picture
    9 on at

    Sorry, No.

    I want 1 entry modified/ added in the SharePoint list to only add 1 entry in the Excel sheet. 
    At this point, every single modification/ addition in SharePoint results in multiple entries in Excel.

    Hope that clears it up.

  • Verified answer
    NathanAlvares24 Profile Picture
    1,714 Moderator on at

    Hi @Roko06 !

     

    I have tried something. I hope this is what you need.

    Below pic is my flow:

    NathanAlvares24_3-1704457108101.png

    Condition expression is: 

    length(outputs('List_rows_present_in_a_table')?['body/value'])

     

    Let's say I have this data in my list:

    NathanAlvares24_2-1704457020254.png

     

    And in my excel:

    NathanAlvares24_4-1704457188195.png

     

    3 cases I have taken care here:

    (1) In case if excel table data is empty.

    (2) Used a try and catch block strategy here. The try part will update the row corresponding to a key column - key value pair. Here in my list, Job ID is unique hence it should not change. So try to use a column whose values should not be changed.

    (3) And finally the catch part will add the new list item in the Excel worksheet, if an item has been added in SharePoint list.

     

    In order to implement the try - catch block strategy, click "Configure run after" on the catch part, and then check "has failed" box.

    NathanAlvares24_5-1704457870243.pngNathanAlvares24_6-1704457921517.png

     

    Outputs:

    Case 1:

    Before...

    NathanAlvares24_4-1704457188195.png

    After...

    NathanAlvares24_7-1704458055470.png

     

    Case 2:

    Before...

    NathanAlvares24_8-1704458139382.png

    After...

    NathanAlvares24_10-1704458222363.png

     

    Case 3:

    NathanAlvares24_12-1704458334596.png

     

    Before...

    NathanAlvares24_13-1704458365992.png

     

    After...

    NathanAlvares24_14-1704458421387.png

     

    So this workflow ensures that no duplicates are added to the excel worksheet as it rewrites that data here.

     

    Hope this helps.

     

    Regards,

    Nathan Alvares

    ----------------------------------------------------------------------------------------------------------------------------------------

    If this helps & solves your problem, please remember to give a "Thumbs up" and "Accept my solution" as it will help others in the future.

  • Roko06 Profile Picture
    9 on at

    Hey Nathan,

    That worked! Thank you so much!

     

    Kindest regards,
    Rohan

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard