cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Excel to Sharepoint list

Hi All,

 

I have a excel and a Sharepoint and would want sharepoint list to be updated based on the values of excel. I tried looking for online forums and article couldnt find any. I figured out how to update and create records but could not find out an approach to delete record. I would want to know how to delete a sharepoint list record if the record isnt present in the excel.

 

Any help would be appreciated!

 

Thanks

Tyson

1 REPLY 1
Highlighted
Dual Super User III
Dual Super User III

Re: Excel to Sharepoint list

Hi @Tyson 

 

Can you share more details on the flow that you have built so far. 

 

As excel does not have a trigger for when a row is added or modified, you can do a recurrence/ manual trigger to list all the rows present in the excel table. Now as it is running on a recurrence assuming daily basis, you can add an action to get items from SharePoint and then add an OData filter query to show items that have created or modified as today. Now add an action to initialize variable of type array. Now check for the unique values to identify the row and see if it exists in the list returned from SP. If it does then do nothing, else delete that item. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,688)