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 / Select or add row by r...
Power Automate
Unanswered

Select or add row by row from an excel table column to a list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I'm trying to create a flow where power automate collects the information from the rows of a column in a given excel file, after that it needs to paste and search the information one line at a time in Fillezila to search and download a file, but I can't find a function that selects line by line in excel, is there any method of doing it?

I have the same question (0)
  • GanCW Profile Picture
    237 on at

    You can read the column into a data table and use the for each loop to interate through each row.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    How can I make the for each function interact directly with the data for each row in a column? I was able to do it using a method in which I use the recorder to open the document, copy the request and repeat the process, I was wondering if there is a faster way to do it, since the information in the document will always change and the recorder will not recognize the new number of lines.

  • GanCW Profile Picture
    237 on at

    You can use the Get First Free Row Action to find the first free row.

    The last row = first free row -1

    You now know how many rows to read in

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    The recorder is evil. Do not ever use it!

     

    Learn about the proper Excel actions yourself, and build the flow.

  • csundar Profile Picture
    87 on at

    I've done a couple different 'read from Excel' and 'take action with data' flows.

     

    Create a variable for your row number and start it at 2 (assuming a header row on 1).  Get the first free row as referenced by @GanCW and loop through your action you want to do until your variable = first free row.  Don't forget that the last action in your loop is to increment your current row variable by 1.

     

    Within the loop then use the read from Excel worksheet where you have to read a cell at a time.  The process I'm working on right now has 10 different reads to get the data I need and then processes from there.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard