cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TheHun99
New Member

Google Sheets - Insert new row - formula entered as text

Hi,

 

I built a very simple flow, basically at a scheduled time a new row is inserted into a specific Google Sheet. The 2 columns are date and quantity and I simply entered 2 formulas: = TODAY() and =RANDBETWEEN(1000, 10000). The same flow works perfectly when updating an Excel file on Onedrive, however, in the Google Sheet I can see the formulas instead of their result as they are entered as '=TODAY() and '=RANDBETWEEN(1000, 10000).

 

Is there any way to overcome this?

Thank you!!

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @TheHun99 ,

 

Could you please share a screenshot of the flow?

Do you want to save the today's date and a rand value between 1000 and 10000?

Please take a try to create the flow as below:

1.png

The rand value:

rand(1000,10000)

The date:

formatDateTime(utcNow(),'yyyy-MM-dd')

 

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-alzhan-msft
Community Support
Community Support

Hi @TheHun99 ,

 

Could you please share a screenshot of the flow?

Do you want to save the today's date and a rand value between 1000 and 10000?

Please take a try to create the flow as below:

1.png

The rand value:

rand(1000,10000)

The date:

formatDateTime(utcNow(),'yyyy-MM-dd')

 

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Thanks Alice!! Yeah, I simply tried entering =TODAY() and =RANDBETWEEN(1000, 10000) instead of the flow-native expressions and that was clearly the issue.

 

I'd love to set "Accept Solution" but so far tried in Chrome and the new Edge and I get an error message that authentication failed. I'm logged in, JavaScript is allowed - no idea but I will try later.

Thank you again!!!!

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Users online (44,892)