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 / Copy Excel files conte...
Power Automate
Unanswered

Copy Excel files content to SharePoint list

(0) ShareShare
ReportReport
Posted on by

Hi guys,

 

On one side, I have a SharePoint library with multiple Excel files with the same structure (each file has only one table always named "Table1").

On the other side, I have a SharePoint list where the items names are identical to the Excel file names.

I would like to run a flow whenever one of these Excel files is modified, in order to copy the content of Table1 into the corresponding list item.

It seems pretty simple but I've tried many flows and can't seem to find something that works! Would you have any idea on what the best approach should be?

 

Thank you,

Nicolas

Categories:
I have the same question (0)
  • JPMHuls Profile Picture
    103 on at

    Hi Nicolas,

    Does your list have multiple items per Excel file (so an item per table1 row)? Or only 1 item with the content of table1 in a column (e.g. as an HTML table)?

  • Community Power Platform Member Profile Picture
    on at

    Hello,

    It has multiple items to copy but from the same row in Table1 (This table actually has only one row). I found a way to instruct the flow to read from the file in question after using the "Identifier" info from "Get file properties" in the "List rows present in a table" action, but at this point the main issue I'm facing is that I don't know how to tell the flow that the table to read from is this Table1 as the field doesn't accept dynamic names. 

    Thank you!

    Nicolas

  • Verified answer
    JPMHuls Profile Picture
    103 on at

    Hi Nicolas,

     

    In a flow i use for moving MS Form data to an Excel for mileage and fuel consumption I have the following action:

    JPMHuls_1-1614342240930.png

    Table is a dropdown showing you the available tables. For dynamic table selection you find at the bottom the option 'Enter custom value' which I used to specify the month from the submitted registration date.

     

    So to create SP list items for each Excel table row, you need to use this action and then loop through each table row to create a list item. If you want to update existing SP list items you need to include some unique reference in both the Excel as in the SP list.

     

    NB: here's the action to add a new line to Excel with dynamic table selection:

    JPMHuls_2-1614342489300.png

     

     

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard