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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Deleting a row in Exce...
Power Automate
Unanswered

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!

Categories:
I have the same question (0)
  • Verified answer
    MarvinBangert Profile Picture
    1,924 Most Valuable Professional on at

    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

  • Community Power Platform Member Profile Picture
    on at

    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!

  • Community Power Platform Member Profile Picture
    on at

    @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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard