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 : 50FxUYoj3aEtkQCrOZ1clY
Power Automate - Building Flows
Answered

How can I get Current Item row in my excel data so I can write to excel without a row counter

Like (0) ShareShare
ReportReport
Posted on 29 Sep 2023 20:29:44 by 34

I have a desktop flow that needs to read from an Excel worksheet, goes through each row of data (using For each), then has to write to Excel worksheet on a specific column but on the current row where the For each is currently at. What can I put into the Row area of the Write to Excel worksheet action so I can refer to the %CurrentItem% row? Is there a way to do this without counting the row number in a variable? There must be some system information on what row you are currently at, it seems silly to have to create a row counter to accomplish this when the system knows what row it is at...

I have the same question (0)
  • chucknb28409 Profile Picture
    34 on 02 Oct 2023 at 17:42:00
    Re: How can I get Current Item row in my excel data so I can write to excel without a row counter

    Hi Michael,

    Thank you for responding. It sounds like there is no way to access the system index and that an index counter is the only way to do this. Just seems like a waste to add another variable when the system knows what the index is. Thanks for your help.

  • Verified answer
    Michael E. Gernaey Profile Picture
    47,180 Super User 2025 Season 2 on 01 Oct 2023 at 00:17:29
    Re: How can I get Current Item row in my excel data so I can write to excel without a row counter

    Hi @chucknb28409 ,

     

    If I might suggest, check out this video so you have a solid reference of using the Excel Desktop PA features.

     

    How to use Excel in Power Automate Desktop 

     

    Also, here is the correct forum to ensure you get the best support 

    Power Automate Desktop - Power Platform Community (microsoft.com)


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

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…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete