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 / Apply to Each Repeating
Power Automate
Unanswered

Apply to Each Repeating

(0) ShareShare
ReportReport
Posted on by 13

I am attempting to create a flow that checks to see if a specific value exists in an excel doc, and if not, adds a row with that value. I have the flow working, however it repeats the add row function multiple times.

 

For example, imagine my spreadsheet is blank and I want to check to see if the name "Joe" exists. When the flow runs and finds that "Joe" does not exist, I want to add a row with "Joe" in the name column. What I end up with currently is multiple rows with "Joe" in the name column. See below image.

RHamm_0-1661193379133.png

 

Here is how I have my condition block set up:

RHamm_1-1661193416865.png

 

Once I get "If no" figured out, I intend to set "If yes" to update the row. One step at a time though...

 

Thanks for any help!

Categories:
I have the same question (0)
  • Ellis Karim Profile Picture
    12,026 Super User 2026 Season 1 on at

    Hi @RHamm ,

     

    You can use the filter array action to find all the rows that contain a specific value in a column:

    Snag_8e3d1.png

     

    You can then use the length function to see how many records were found by the Filter array action. A value of zero means no rows were found that matched the filter query:

    Snag_108fce.png

    Hope this helps.

     


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • RHamm Profile Picture
    13 on at

    Thank you for the response. I found a solution to this particular problem by using "configure run after" settings. I could still use some help in understanding the update a row function. I have been trying to get it working for a while but no luck.

     

    What I would like is to determine what cell should be updated in my excel doc based on answers to Survey123 survey questions.

     

    The first question would determine which row:

    RHamm_0-1661273707621.png

     

    The second question would determine the column:

    RHamm_1-1661273730130.png

     

    And the data to be entered into the cell would be determined by answering a date question:

    RHamm_2-1661273778517.png

     

    For reference, here's how my excel doc is set up:

    RHamm_3-1661273891795.png

     

    Thanks again for any 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard