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 / How to update rows in ...
Power Automate
Answered

How to update rows in an excel instead of appending if the rows already exists for that week?

(0) ShareShare
ReportReport
Posted on by 9

I have an excel file in which rows are being copied and appended in it once every week with a timestamp column. 

I want the values in those rows to be updated (or deleted and added again) if the flow is manually run for a second time that week instead of adding duplicate rows for that week. 

 

How do I go about doing this? 

 

Thank you in advance. 

Categories:
I have the same question (0)
  • Verified answer
    v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @afaro053 ,

    I did a test for your reference.

    In my scenario:

    The ID columns in my two tables are one-to-one correspondence and will not change, only then can the copy table and update the table uniquely correspond to the update and create new rows.

    My Copied Table:

    vyetonggumsft_4-1710812135725.png

    My Updated Table:

    vyetonggumsft_3-1710812081115.png

    I did a test for your reference.

    In my scenario:

    vyetonggumsft_5-1710813002584.png

    vyetonggumsft_6-1710813058373.png

     

    ID eq '@{items('Apply_to_each')?['ID']}'

     

    vyetonggumsft_10-1710813993378.png

     

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

     

    The Result:

    vyetonggumsft_9-1710813478087.png

    Best Regards,

    Sunshine Gu

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
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard