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 / Copy the result of an ...
Power Automate
Unanswered

Copy the result of an online excel formula to SharePoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi. I have a flow in Power Automate that uses Excel Online to perform a date calculation. To execute that formula I use a script that is also part of the flow. It happens that when the script is executed, the value that remains in the cell is "#¿NOMBRE?" but it does not reflect the date it has calculated (cell E16). When I update the cell manually, the date value does appear (cell E15).

So when I want to copy to a SharePoint list the value calculated by the Excel formula, it does not bring me the value, it just remains empty, as seen below.

 

Imagen de fechas1.PNG
I appreciate if someone knows how to automatically refresh the excel formula, because in the script I included a line that does it, but it generates the same result. The part of the code is as follows:

 

selectedSheet.getRange("E11").autoFill();

 

Categories:
  • jedunn Profile Picture
    123 Microsoft Employee on at

    I believe the autoFill() method in your Office Script is missing a couple parameters, the destination range and the auto fill type. You can read more about it here --> Range autoFill member. Alternatively, try recording a few scripts with different autofill behaviors and look at the code generated to get a sense of these parameters.

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 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard