Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Deleting a row in Excel Online Business if it already exists in a Sharepoint list

(0) ShareShare
ReportReport
Posted on by

Basically I have a flow which uploads an excel file to sharepoint which would then have the rows inside it appended into a sharepoint list. There is a column called 'Doctor Code' in both the excel file and sharepoint list and what I want to happen is when the excel file gets uploaded to sharepoint it will first check if the doctor code in it is already existing in the sharepoint list, if yes then it would delete that specific row.

 

Right now I have this flow.

Iver199_1-1641784517806.png

 

I imagine the process can be achieved in the Yes condition but I just cannot figure out how to do it.

 

Any help would be greatly appreciated!

  • Community Power Platform Member Profile Picture
    on at
    Re: Deleting a row in Excel Online Business if it already exists in a Sharepoint list

    @MarvinBangert 

    Although I just have an additional question. I now have this flow to delete the rows in the excel file.

    Iver199_0-1641806163898.png

    My question is how can I get the output from that step to get whatever was not deleted in the excel file in order to append it into the sharepoint list.

     

    Edit: Nevermind I figured it out again, I just have to create a step to list rows present in a table to get the updated version of the excel file and then just use the output of that to Create Item in sharepoint list

  • Community Power Platform Member Profile Picture
    on at
    Re: Deleting a row in Excel Online Business if it already exists in a Sharepoint list

    Hello @MarvinBangert 

    I actually managed to solve it a few hours ago and this is exactly what I did. Thank you so much for the reply!

  • Verified answer
    MarvinBangert Profile Picture
    1,922 Most Valuable Professional on at
    Re: Deleting a row in Excel Online Business if it already exists in a Sharepoint list

    Hi @Anonymous 

    do you mean the row within excel or sharepoint lists to be deleted?


    @Anonymous wrote:

    if yes then it would delete that specific row.

    If you want to delete the items from your excel list, use the excel action "delete a row":

    MarvinBangert_0-1641803421773.png

    Your Key Column is the column to identify which row needs to be deleted (you should use a unique value).

     

    Does this help you? Otherwise please give me some more information.

    Best regards
    Marvin

    If you like this post, give a Thumbs up. If it solved your request, Mark it as a Solution to enable other users to find it.

    Blog: Cloudkumpel

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