Hello everyone,
I have two flows that are triggered together using a toggle:
- The first flow updates a row in an Excel file stored in SharePoint.
- The second flow creates a temporary copy of this Excel file in OneDrive, converts it to a PDF, and then saves the PDF in another SharePoint location.
The flows work, but sometimes they take a lot of time because I need to ensure that the Excel file is actually updated before copying it to OneDrive (second flow).
The issue seems to be that Excel in SharePoint does not calculate formulas immediately after the row is updated (first flow). To work around this, I use an Excel script to check if cell B51 is up to date or not within a "Do Until" loop. Without this check, my PDF would contain outdated data.
I have several questions:
- How can I optimize this flow? It takes too much time and is not reliable.
- How can I force the recalculation of the workbook in Excel (SharePoint)?
Below is my first flow (update a row in Excel SharePoint). Note: The condition is just another "Update Row" action with different data.

This is my second flow (convert the excel in pdf)
Here the "Do Until" to check the value of the B52 cell (the condition is an other check depending of the data.)
This is the convert part.
And this is the developped condition that you see above
Thank you a lot !
And Merry Christmas :)