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 / Specify the range to r...
Power Automate
Unanswered

Specify the range to read Excel with Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 6

When reading Excel with Power Automate Desktop, it can read up to the blank,

but what about reading up to the line above that contains a certain character?

 

For example,

In the Excel below, I would like to read the table from the 2nd row of column A to the 6th row of column M, so is it possible to read the rows above "# N/A" in column A?

12.jpg

 

 

Categories:
I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi @Makiyo 

     

    Not sure if there is a direct way in Power Automate Desktop.

     

    Consider using the IFERROR formula in your Excel

     

    Before using IFERROR

     

    VJR_0-1634699113564.png

     

     

    After using IFERROR to make the #N/A cell as blank

     

    VJR_1-1634699195750.png

     

    This will still show a blank row in PAD datatable

    But while looping through the table you can skip that row if it is blank (or delete that row).

     

    VJR_2-1634699296954.png

     

    PS: In the IFERROR you can also give a meaningful message instead of blank.

    And then check that message in PAD.

     

    VJR_3-1634699394351.png

     

  • Makiyo Profile Picture
    6 on at

    Thank you for your answer.

     

    But, is it possible to read above a special number or letter ?

     

    For example, 

    In the Excel below, is it possible to read from the 2nd row of column A to column M the rows above '雑費' in column A if I cannot sure, which row '雑費' is on?

    13.jpg

  • VJR Profile Picture
    7,635 on at

    Use the "Find and replace cells" action. Select "find" in the dropdown.

    Search for the required word.

    It will return you the row number where it was found.

    Then use that row number for returning the desired range of cells.

  • Makiyo Profile Picture
    6 on at

    Thank you so much.

    It worked out that way.
    I set to get the cell with a certain character, and read above the -1 row where that cell is.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard