Skip to main content
Community site session details

Community site session details

Session Id : j7sQYOMyX2r8DeOR026RcR
Power Automate - General Discussion
Unanswered

Specify the range to read Excel with Power Automate Desktop

Like (0) ShareShare
ReportReport
Posted on 19 Oct 2021 07:15:53 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

 

 

  • Makiyo Profile Picture
    6 on 20 Oct 2021 at 07:04:14
    Re: Specify the range to read Excel with Power Automate Desktop

    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.

  • VJR Profile Picture
    7,635 on 20 Oct 2021 at 04:44:02
    Re: Specify the range to read Excel with Power Automate Desktop

    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 20 Oct 2021 at 03:51:28
    Re: Specify the range to read Excel with Power Automate Desktop

    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 20 Oct 2021 at 03:16:57
    Re: Specify the range to read Excel with Power Automate Desktop

    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

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete