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 / Find first free row an...
Power Automate
Unanswered

Find first free row and write to that

(0) ShareShare
ReportReport
Posted on by 13

Hello,
I am trying to create a flow that searches from an excel for the first free cell in a column and enters something in that row. Is this possible?
Thanks for the help

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @pukasleter , yes the above is possible.

     

    • For Power Automate Desktop, you can search First Free Row and select the action.

     

    Sundeep_Malik_5-1660655298639.png

     

     

    • For Power Automate Cloud/Browser, you can directly use the action called add a row in a table. This will directly add something to the first free row of your excel.

     

    Sundeep_Malik_2-1660654594174.png

     

    • Or, if you had a question like this where, you are searching for a cell that is empty or first free column, then you can also use an action like List rows present in a table. And inside that, in the filter option add a column name and give empty parameters to it, so that it finds empty cells and in top count you can give 1 so that it filters out the first free column. 

     

    Sundeep_Malik_4-1660654992562.png

     

     

    Sundeep_Malik_3-1660654960218.png

     

     

    If you have any doubts just reply.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi there, i Have a file which i am counting rows from . Lets say its "Week1". I want to update another file lets say its "Rows Counted", in the next free row/cell in a column called "totals". This happens every week so i need a formula or expression to help me look for the next free row every week. This is what my flow looks like so far

     

    1. Manual Trigger
    2. List rows present in a table (Location, Library, file, table of file "Week1.xlsx")
    3. Compose (Input - length(body('List_rows_present_in_a_table')?['value']))
    4. List rows present in a table 2 (Location, Library, file, table of file "Rows Counted.xlsx")
    5. Apply to each (Output - Value of List rows present in a table 2)
    6. Update a row (Location, Library, file, table of file Rows Counted.xlsx), Key column is the ID column of my excel file, i don't know what the key value would be, and the column "totals" has the output of the composed output

     

    What do i need to add because this does not work

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard