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 / How to Power Automate ...
Power Automate
Unanswered

How to Power Automate replace formulas with values in Sharepoint excel file?

(1) ShareShare
ReportReport
Posted on by 82

Hi everyone

 

I have a document library in Sharepoint which contains excel workbooks (with one spreadsheet/tab each)

 

When a new workbook is added I need to automate the process of replacing any formulas with values?

 

Thanks for the help in advance 🙂

 

 

 

Categories:
  • sandeepstw Profile Picture
    312 Moderator on at

    Hi There,

     

    Create a trigger 'When a file is created in a folder' SharePoint connector in Power Automate.

    Use action 'List rows present in a table' Excel business and setup location of file in share Point.

    Apply 'Apply to each' control and use 'value' from the 'List rows present in a table' action for its input.

    Add the 'Delete row' action inside 'Apply to each', referencing the ID from the 'List rows present in a table' step.

    Add the 'Add a row into a table' action still within 'Apply to each', specifying the same table as before, but with the cells' values instead of the formulas.

     

    Save and test. 

     

     

    Please give kudos and mark as solution if it helps.  

      

    Thanks, 

    Sandeep Mishra 

     

     

  • MichaelF1 Profile Picture
    82 on at

    Hi @sandeepstw , thanks for you reply!

    I'm getting stuck when I try to "setup location of file in share Point". Do I have to specify an individual file? I want the latest just added to be selected; can I do this? Or all of the files would work just as well. Also, I can't select a table in the next step. I've taken a screen shot: 

    MichaelF1_0-1691392933044.png

    Thanks again 🙂

     

    Michael

     

  • sandeepstw Profile Picture
    312 Moderator on at

    yes, you need to select file 

     

  • MichaelF1 Profile Picture
    82 on at

    @sandeepstw which file do I need to select? I either need to select the most recent one, or the whole folder. I don't know how to select either of these options?

  • sandeepstw Profile Picture
    312 Moderator on at

    Hi,

     

    Use in 'when file is created' action reference folder there in which you want to update files and then use 'get file' action to get the file from previous action and use that in next actions to update file . 

  • rickFL Profile Picture
    30 on at

    I tried this, but I can't get it to work. This is what I have. Can someone support? It says that there are Null values, but there are none.

     

    Flow:

     

    rickFL_0-1720826991632.pngrickFL_2-1720827032254.png

    rickFL_3-1720827060340.png

    Error:

    rickFL_6-1720827271272.png

     

    Table:

    rickFL_7-1720827315743.png

     

    Screenshot_20240713_030440_Power Automate.jpg
    Screenshot_20240713_030452_Power Automate.jpg
    Screenshot_20240713_030507_Power Automate.jpg

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 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard