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 / SharePoint Excel Update
Power Automate
Unanswered

SharePoint Excel Update

(0) ShareShare
ReportReport
Posted on by 18

Hello Everyone,

 

I have a Tracker Excel in SharePoint which is used by PAD Bot as well as another bot.

 

Once the transaction is completed I have to add that transaction details into that Tracker without overriding. Example: Do not update/Override, instead I have to write in next row. Because there might be the chance if the second bot update some value before I do it so once after I updates, those values again become empty.

 

Kindly suggest some ideas in power Automate Desktop.

 

Thanks.

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @SandhiyaDurga 

     

    In this scenario, my recommendation would be to create a new worksheet with the same columns. Additionally, include a new column titled "TransactionStatus" as follows:

    Deenuji_0-1709562613960.png

     

     

    Deenuji_1-1709562648123.png

    You can add a row into the table, indicating success or failure based on your business condition.

    Deenuji_2-1709562735419.png

     

    Result:

    Deenuji_3-1709562806509.png

     

    Alternatively, if you prefer to update the transaction status in the same Excel sheet, you can still add a row into the table. Use your worksheet as a table and include all current row details as column values. Then, append something like "Success" in the suffix area.

    This way, you won't disrupt the existing columns, even if they are accessible by different bots.

     
    Please let me know if this make sense to you and let me know in case of any queries.
     
    ------------------------------------------------------------------------------------------------------------
    If I've resolved your query, please consider accepting it as the solution and giving it a thumbs up to help others find answers faster.
     
     

     

  • SandhiyaDurga Profile Picture
    18 on at

    Hi @Deenuji ,

     

    If they add any new column means will it come reflect?

  • SandhiyaDurga Profile Picture
    18 on at

    Hi,

     

    But I'm unable to give variable values in File path and Table Name.

     

    Thanks.

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @SandhiyaDurga 

    Typically, this shouldn't pose any problems. Even if other teams or bots add columns or make changes to the existing tracker, it shouldn't impact the suggested flow's functionality.

     

    Here's a simplified approach: You could include minimal details such as ticket number and status like below. While iterating through your tracker details, update the transaction details in another sheet. 

     

    Deenuji_0-1709613588804.png

     

     

    If this seems confusing, consider creating an additional Excel sheet in the same/other location and follow the same instructions as previously provided. This way, your flow only reads data from Excel A and updates the status in Excel B, which is not accessible to another bot.

     

    I hope this clarifies things. If not, please let me know, and I'll address any further questions.

     

    --------------------------------------------------------------------------------------------------------------------

    If I've resolved your query, please consider accepting it as the solution and giving it a thumbs up to help others find answers faster.

     

     

  • SandhiyaDurga Profile Picture
    18 on at

    Hi,

     

    Got it Thanks, but when I try to pass variable value in filepath and Table Name field, it's showing column names to update values.

     

    Thanks

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @SandhiyaDurga 

    Yeah that's correct only. In the example below, I've listed all the rows from our tracker table(table 1) on the first line.

     

    Then, within a foreach loop, I iterate through the tracker datatable to carry out the business processes.

     

    Subsequently, I added action called "Add a row into table", configuring my transaction status table (table2) to correctly list out column names such as "invoice number"  and "Transaction status."

     

    I extract the invoice number from the tracker table and update it with either "success" or "failed" based on the business logic.

    Deenuji_0-1709614727174.png

     

    --------------------------------------------------------------------------------------------------------------------------

    If I've resolved your query, please consider accepting it as the solution and giving it a thumbs up to help others find answers faster.

     

     

  • SandhiyaDurga Profile Picture
    18 on at

    Hi @Deenuji 

     

    Sorry to ask you again, if i want add new row I should give only exact path instead of variable.

     

    Can you please explain step by step, it will be helpful for me.

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @SandhiyaDurga 

     

    @SandhiyaDurga,

    Unfortunately, we don't have the option to pass Excel Location/Document Library and other parameters as variable value;  You can refer to the screenshot below,  indicating that we can select values from dropdowns but we go with passing variables I am ending up with error only as not sure how it exactly works.

    Deenuji_0-1709616531294.png

     

    Regarding step by step details, Could you please share screenshot of your current flow so that I can guide you appropriately. 

     

     

  • SandhiyaDurga Profile Picture
    18 on at

    Hi @Deenuji ,

     

    Actually I need to work on different excel sheets for different transactions, so I cannot choose from dropdown value.

     

    My scenario is I need to add values in the excel in SharePoint where few columns updated by my bot and few columns updated by another end. I don't want other column values to disturbed because of my add values into row.

     

    As of now I'm doing in local folder and updating the Excel in SharePoint using "Update file" SharePoint action.

     

    If I get a better solution that will be helpful.

     

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @SandhiyaDurga 
    Power Automate Desktop flows necessary for your task? Are you performing actions within your VM or desktop application? If there's no interaction with desktop applications, why not consider automating using Power Automate cloud?

     

    If feasible, could you please share a screenshot of what you've accomplished so far in your flow? This would help us understand the process better.

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard