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 / Update specific last r...
Power Automate
Answered

Update specific last row in excel

(0) ShareShare
ReportReport
Posted on by 44

I have a flow that list the rows present in a table and filters the rows if it has the same name as the inputted name. I need to check if the last of this filtered array has the column 'Issue Date' as blank, if it is, then update the row and place the new issue date on the blank cell.

starchrys_0-1714451998919.pngstarchrys_1-1714452024690.png

The flow works up until the part of updating the row as I do not know what value to put in the key value.

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

    Hi @starchrys ,

     

    The key column should be the id column you defined. This column is unique and required.

    If your excel does not have this column, please create a new column for your excel table. Because if you want to update a record, you need to provide the identifier of the record.

     

    Best Regards,

    Wearsky

  • starchrys Profile Picture
    44 on at

    Hey @v-xiaochen-msft,
    Thanks for the reply. I am confused how would I write the formula for the id column I defined?

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @starchrys ,

     

    It's up to you, it can be a number like 1, 2, 3, 4, 5... it can also be a guid.

    Note that if you define an excel function for a column, it may behave strangely in flow. I suggest you enter the ID value manually instead of using formula/function.

     

    Best Regards,

    Wearsky

  • starchrys Profile Picture
    44 on at

    @v-xiaochen-msft
    My flow works if I enter the key value as the inputted name in powerapps like so:

    starchrys_0-1714452934104.png

    But it updates the first row in the table that has this same name, how would I update the last row in the table that has this name?

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @starchrys ,

     

    It's impossible.

    When there are multiple records in excel that satisfy a certain column equal to a certain value, it always updates the first record that meets the condition.

    So creating an ID column in excel is an important thing.

     

    Best Regards,

    Wearsky

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
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard