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 / looping through data f...
Power Automate
Answered

looping through data from an excel sheet

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

I have an excel sheet with multiple tabs that I want to loop through data and based on whether a cell is empty.  My thought was that I could grab the data in a tab and then use a "for each" loop to go line by line.  I set an index for the specific cell I am looking at and have a display message to show me the values as a way to check the information.  I checked to make sure I am grabbing the data from each tab but I dont know if there is a way to step through and identify where I am at in the sheet because my message keeps coming up as blank.  

ryanBourbon_0-1625767189794.png

Above is my subflow where I loop through the data.

ryanBourbon_1-1625767293797.png

Here is the message that I am using to make sure I am pulling my data from the correct sheet.

ryanBourbon_2-1625767410397.png

This is the message where I am trying to display the specific row information based on the current item in my loop.

 

I do not believe I am looking through the right data because I can watch it loop through and not capture rows that it should based on a count.  

Any help is appreciated.

 

Thanks!

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Due to the data validation in excel the cell is not actually blank so I adjusted to check for a dash in the cell as a start of the cell content.  This corrected the issue.

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

    Thanks for your posting here and sharing the resolution in the forum as it would be helpful to anyone who encounters similar issues.

    Best Regards

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard