cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DebV
Level: Powered On

Copy an Excel Spreadsheet to a SharePoint list once per week

I have a spreadsheet that is updated on an ongoing basis and once a week I need to convert it to a SharePoint List. Manually I do this by using the Import Spreadsheet App in the Modern SharePoint. However, I want to use a flow. I can make the udpate on a line by line basis, but I want to be able to cut off the changes and update the SharePoint once per week. And I can set the recurrence for 11am on Tuesdays, but then I can't figure out how to copy the entire spreadsheet into the SharePoint List. 

 

Any help would be appreciated. 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Copy an Excel Spreadsheet to a SharePoint list once per week

Hi @DebV,

 

Do you want to copy data from Excel table to SharePoint list if they are not existing on the list?

Please check the following flow for a reference.

For testing, add the Button trigger. You could change it to Recurrence.

Add the action Initialize variable, set Name to Test, Type to String.

Get rows from the Excel table.

Get items from SharePoint list.

Add an Apply to each, select Value from SharePoint Get items. Within Apply to each, add Append to string, set its value as dynamic content Title.

Add a Condition under Apply to each, configure the condition as Test contains name. If yes, do nothing, if no, create item in the list.

A screenshot for your reference.

1.PNG2.PNG

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DebV
Level: Powered On

Re: Copy an Excel Spreadsheet to a SharePoint list once per week

for some reason it won't let me accept this as the solution, but it worked perfectly! Thank you so much!!!!
Community Support Team
Community Support Team

Re: Copy an Excel Spreadsheet to a SharePoint list once per week

Hi @DebV,

 

Thanks for testing and I am glad to hear that it works for you.

If possible, please accept it as solution. 

If you have any other questions, please feel free post back.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 338 members 5,964 guests
Please welcome our newest community members: