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

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,353)