cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zifeng
Regular Visitor

Flow to Add Update Delete items from Excel to SharePoin

Hi I am creating a flow to Add Update Delete items from Excel to SharePoint

Excel table

NameAgeLocation
Bob18America
Ana22England
Joe23Korea

 

Sharepoint List

NameAgeLocation
Bob18America
Ana22Canada
David23Japan

 

Name column is the key.

I want the flow delete the 3rd row, add "Joe" row and update the country cell in 2nd row of Sharepoint.

 The Sharepoint list will perform like Excel table.

 

and this is my reference video: https://www.youtube.com/watch?v=nlw5_qV8pIo&t=611s

at the last process,

when I entry item()?[‘Data2']

the error message shows The expression is valid 

 

Could you please help me with any option . 

Thanks 

2 REPLIES 2
ScottShearer
Super User
Super User

@Zifeng 

Are you saying that you want the SharePoint list to be identical to the Excel table?  If so, can you tell me why you want to update the country in the second SharePoint row?  It is Canada in both Excel and SharePoint.

Also, if there aren't a lot of rows, it might be much easier to delete all items in the SharePoint list and repopulate it from Excel.

How is your Flow being triggered?  Recurrence? 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Hi ScottShearer

I'm sorry it's my typo, the Canada in row 2 of Excel should be "England" and anything else.

And actually, in my list, there are 3000 rows.

Ideally, I want to Recurrence as the excel sheet uploaded to sharepoint.

 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,449)