web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help using Flow to upd...
Power Automate
Answered

Help using Flow to update row in Excel

(0) ShareShare
ReportReport
Posted on by 51

Hi,

 

I have set up flow with Excel to send an email when the 'Status' of a cell is set to "Open".

 

I have also set up a column called 'Receipt' to automatically update with the text "Email Sent" as soon as an email is sent for that particular row. This is to avoid resending an email for the same row repeatedly.

 

The problem for me is when I'm using the "update a row" action, it only seems to update the first row with the text "Email Sent" and not any subsequent rows. I am not sure how to fix this, can someone please help?

 

See flow, link below:
https://imgur.com/a/05IUInV

 

Thanks in advance!

 

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    on at

    Hi @mowgli512,

     

    I afraid that your flow run failed because you fill in the string "Email Sent" in the "Key Value" field in the "Update a row" action, however, the "Receipt" column values are not always "Email Sent".

     

    Please enter the "Receipt" dynamic content of the "List rows present in a table" action in the "Key Value" field.

    Capture.PNG

     

     

    Best regards,

    Alice

  • mowgli512 Profile Picture
    51 on at

    Hi Alice,

     

    Just tried it, but it seems to only update "Email Sent" in the first row. When the check is running on the second row for instance, the first row cell gets updated instead of the second row cell.

     

    https://imgur.com/a/TehzWzi

  • v-yuazh-msft Profile Picture
    on at

    Hi @mowgli512,

     

    The Key Column couldn't be modified.

     

    If you would modify the "Receipt" column, you could update the Key Column to "Status" and modify the Key Value to "Status" dynamic content on your side:

    Capture.PNG 

     

    Please let me know if your problem could be solved.

     

    Best regards,

    Alice

  • mowgli512 Profile Picture
    51 on at

    Tried this now, but "Email Sent" is only getting updated in the first row and not for any subsequent rows.

  • v-yuazh-msft Profile Picture
    on at

    Hi @mowgli512,

     

    It works on my side.

    Please share the screenshot of the configuration of your flow.

     

    Best regards,

    Alice

  • mowgli512 Profile Picture
    51 on at

    There you go.

     

    flow.jpg

  • v-yuazh-msft Profile Picture
    on at

    Hi @mowgli512,

     

    Your flow looks with no problem,

     

    Please check from the run history of your flow to see if every row has run in to the If no branch of your Condition2.

    Also Please take a try to remove all condition to check if it works.

     

     

    Best regards,

    Alice

  • mowgli512 Profile Picture
    51 on at

    I have checked the flow history and it shows successful – reason being it updates the cell in row 1 instead of row 2.

    I have even tried removing one condition and I still have the same issue.

     

    How can I get 'update row' to update a cell in the current row instead of the first row?

     

    See flow history for row2 below:

    Screenshot 2019-01-07 at 2.22.57 PM.png

  • Verified answer
    mowgli512 Profile Picture
    51 on at

    OK, I got it!

     

    The problem was the "Key Value" was same for all the rows and so it was only updating the first row. I now changed the Key Column to "#" which contains unique serial numbers and Key Value to dynamic '#' and it works.

  • Community Power Platform Member Profile Picture
    on at

    Hi mowgli512

    U can share how stayed your flow ?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard