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

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Answered

Power Automate Desktop- From Excel file, how to pass total number of rows count to a variable

(0) ShareShare
ReportReport
Posted on by 56
Hi Team,
 
I need to dynamically pass Starting and Ending Row number dynamically instead of passing hardcoded Row ending number highlighted below (in my input excel file last row number is 7874, which will change every week). So, need to pass dynamically which will be help full to use in multiple actions.
 
 
Can someone explain how to capture that will be a great help.
 
 
 
Categories:
I have the same question (0)
  • Verified answer
    eetuRobo Profile Picture
    4,045 Super User 2025 Season 2 on at
    Power Automate Desktop- From Excel file, how to pass total number of rows count to a variable
    Use "Get first free row on column from Excel worksheet" -action. Then it produces you the first free row so if you have 10 rows filled it gives you the row number 11. 

    Like so:


    If you want to only autofill 10 then minus 1: 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 533 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 368 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 290 Most Valuable Professional

Last 30 days Overall leaderboard