Showing results for 
Search instead for 
Did you mean: 
New Member

How can I read the multiple excel files and read the dynamic excel tables and rows?



Currently, I am working on one of the requirement that, I need to import data in sharepoint list from multiple excel sheet located on one drive.

I need to make sure that data will not be duplicate.

I have already created flow based on the prefined table from predificed excel sheet and successfully imported data into the list.


But my problem is that how can I read rows from the dynamic tables from the excel sheet ?

Community Support
Community Support

Hi @akt,


Do the multiple excel files contain duplicated data?

Do the multiple excel files have same data structure?

Further, does the OneDrive folder have any other type files except excel files?

I assume that multiple excel files don’t contain duplicated data and have same data structure, please take a try with the following workaround:

  • Choose a proper trigger, here I use Flow Button trigger.
  • Add “List files in folder” action, specify Folder of OneDrive.
  • Add a “Apply to each”, input parameter set to output of “List files in folder” action.
  • Within “Apply to each”, add a Condition, left input box set to Name content of “List files in folder” action, right input box set to .xlsx, in middle drop down, choose contains.
  • Within “If/yes” branch of Condition, add “Get rows” action, File name set to Id content of output of “List files in folder” action, Table name set to Table1.

Note: Format excel file with default table name—Table1.

  • Add a “Apply to each 2” action, input parameter set to output of “Get rows” action.
  • Within “Apply to each 2”, add “Create item” action.

Image reference:7.JPG



 The flow works successfully as below:9.JPG





Best regards,


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

Thank You for replying my message.


No, Multiple excel files do not contain duplicate data.

Yes, Multiple excel files have same data structure.

No, It will not contain other types of file but How I can get files which are modified today?


Actually, I have many tables\sheets with same table structure in one excel sheet. And there will be many excel files, How I can get the sheet name from the excel sheet and rows from the same? 


Once this excel sheet has been already imported, then it will not consider in next lot except somebody has added new sheet\table in that excel file.


I have already tried with for each loop. But I didn't get row values. I also need to filter blank rows from the excel sheet.

Please find below screen shot.


Multi Items flowMulti Items flow

Helpful resources



Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (1,535)