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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can I get Current ...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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...

Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,345 Super User 2025 Season 2 on at

    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

     

  • chucknb28409 Profile Picture
    34 on at

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard