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 Apps / Update cell value in E...
Power Apps
Answered

Update cell value in Excel

(0) ShareShare
ReportReport
Posted on by 65

How would I update the same cell of an excel table every time a button is pressed.

 

I have a template built in excel (as a table).  

I was trying to use update a row in flow but it looks like this requires a key value so I wouldn't be able to overwrite each time from what I understand. 

 

Cell value header: Work Order

Cell Value: 

 

Button is pressed and cell value updates to work order selected on powerapps.  New work order is selected and cell value changes to new work order without creating new row. 

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

    HI @mattthew ,

    Could you please share a bit more about the data structure of your Excel table?

    How do you select the Work Order within your app? How do you list your Excel table records in your app? Using Gallery?

     

    I suppose that you use a Gallery to list all Excel table records within your app, is it true?

    If you use a Gallery to list all Excel table records within your app, and want to update the work order value based on the selected item in your Gallery, I have made a test on my side, please take a try with the following workaround:

    Add a Gallery control (Gallery1) within your app, set the Items property to your Excel table. Set the OnSelect property of the Button to following:

    Patch(
     'YourExcelTable',
     Gallery1.Selected,
     {
     Work_x0020_Order: "New Cell Value"
     }
    )

    More details about Patch function, please check the following article:

    Patch function

     

    Best regards,

  • Verified answer
    mattthew Profile Picture
    65 on at

    Thanks @v-xida-msft but what I ended up doing is building a flow that updates that row in excel based on a unique key value.  This seemed to do the trick.  Appreciate your response. 

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard