web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Read Excel from Sharep...
Power Automate
Answered

Read Excel from Sharepoint in array and loop on it

(0) ShareShare
ReportReport
Posted on by 58

Hi, I need a flow to read excel file from Sharepoint location. File will be at fixed location and will have fixed file name and sheet name.

It will have just 2 columns and n number of rows (rows can increase or decrease). I want to read this in a 2 dimensional array and loop on rows. 

Col1      Col2

val1       val2

val3       val4

and so on................ need to read this excel and store in array and then loop on rows. First iteration need val1, val2. 2nd iteration need val3, val4........

 

Kindly suggest some inputs.

 

Categories:
  • Verified answer
    Rahber Profile Picture
    1,935 on at

    so this is how its done,.

     

    My excel

    excel.PNG

     

    my flow. So in my flow i am running the loops on rows. And i can get each item in a row by its column name. So you can see in my loop i am concatenating the column1 and column2 value

     

    flow.PNG

     

    and this the output. Since i had 9 rows (rows are total rows in table and not the rows with data)  in the table it did the loop 9 times.

    output.PNG

     

    Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

    Thanks,
    Rahber

     

  • mayankgoyal Profile Picture
    58 on at

    @Rahber - Thanks for your response, this helps. I have one more question and any inputs are appreciated - 

     

    If in my list in excel, I am providing few sharepoint links which are input to flow, I have to allow the connection when I run the flow.

    What if my flow is scheduled and a new link is added as input, how will i manage the connection and will the flow fail on new link as connection was not available?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard