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 / Build Update Excel row...
Power Automate
Unanswered

Build Update Excel row with conditions

(0) ShareShare
ReportReport
Posted on by 4

Hi community,

Could you please help to resolve my issue?

 

I'm trying to build the following flow.

- Answers from Microsoft Forms are sent to Excel Online.

- Based on some conditions it should update a row or add new row to my table.

 

The conditions are the following:

- If record doesn't exist - create new record;

- If record(s) exists and status is in (Done, Canceled, On Hold) - create new record;

- If record(s) exists and status is not in (Done, Canceled, On Hold) - update record.

 

For me challenge here is that there are several rows can be present in the Excel that need to be updated. 

 

Here is my flow:

Once I get an answer from my form I'm checking if the record for this user already exists in the table

SerhiiK__0-1647267709395.png

 

Return this as an array and add a condition to add new row or update a row:

SerhiiK__1-1647268208894.png

 

Issue is with "Yes" branch -> Update a row:

SerhiiK__2-1647268919147.png

I'm trying to find rows that match requestor names and updates only some of them that aren't done.

But now it updates only the first row.

 

Here is my table example:

SerhiiK__3-1647269359520.png

Based on the desired outcome:
Rows 1396, 1397, 1398 shouldn't be touched.

Rows 1399 and 1400 should be updated.

Categories:
I have the same question (0)
  • KvB1 Profile Picture
    1,596 on at

    Basically you need to be able to filter a row on 2 key columns, which isnt possible directly.

     

    You can either use a sharepoint list to store your rows rather than an excel list, which will give you many more options since every row will have a unique ID

     

    You can also create a new key column where by concatenating the other 2 columns, and use that to filter on

  • KvB1 Profile Picture
    1,596 on at

    Basically you need to be able to filter a row on 2 key columns, which isnt possible directly.

     

    You can either use a sharepoint list to store your rows rather than an excel list, which will give you many more options since every row will have a unique ID

     

    You can also create a new key column where by concatenating the other 2 columns, and use that to filter on

  • SerhiiK_ Profile Picture
    4 on at

    I need to have it in Excel since some data in the table is updated manually and as well used for reporting purpose, e.g. Pivot Tables.

     

    About concatenating:

    Ok, I can create concact column where I can store name+status. It can contains duplicate rows anyway, e.g. First1Last1New.
    Does it mean that in this case it wouldn't be possible again and I need to have some auto-generated ID, e.g,?

  • KvB1 Profile Picture
    1,596 on at

    I'm afraid I don't know, I try to avoid using excel when using automate, but I think its possible

  • SerhiiK_ Profile Picture
    4 on at

    If I'm using an unique timestamp, could you please help to update the flow in this case? How it should look like for multiple rows and complex condition (Name+Status) matching?

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard