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 / Excel Formula Syntax f...
Power Automate
Suggested Answer

Excel Formula Syntax for Variable

(1) ShareShare
ReportReport
Posted on by 206
HI,
I need to use this formula as a PAD variable, or other best practice, to enter a value into an excel cell to populate some data.
 
=INDEX(A:A, ROW()-1)
 
While this works perfectly in Excel, and pressing CTRL-Enter in excel, populates the formulas in the entire column, and all is good,
unfortunately, PAD appears not to like it.  "Parameter 'Value': Unexpected characters. The formula contains 'Colon' where 'ParenClose' is expected."
 
Does anyone have any suggestions?
 
 
I have the same question (2)
  • Suggested answer
    Deenuji_Loganathan_ Profile Picture
    6,255 Moderator on at
    Hi  ,
     
    I recommend saving the formula in a text file rather than using a variable. You can then read the content from the text file and place it in the clipboard using PAD clipboard actions. After that, use the paste cell function to insert the clipboard value into the Excel worksheet. This approach should work effectively.
     
    Thanks,
    Deenu
  • Suggested answer
    eetuRobo Profile Picture
    4,524 Super User 2026 Season 1 on at
    That's because you have Power Fx enabled in your flow. Either create a new flow without Power Fx enabled:
    And then you can set variable like you have tried:



    But if you want to use Power Fx then you need to wrap the Excel function inside power fx Text function so that it interprets the =INDEX not as a Power Fx function but as text.
    Equal sign is like telling PAD Power fx enabled flow that next is going to be a power fx function or a variable.

    ​​​​​​​Like so:

    =Text("=INDEX(A:A, ROW()-1)")

  • Suggested answer
    AK88 Profile Picture
    453 on at
    Hi,
     
    1. Create another flow without enabling Power Fx.
    2. You can directly use a excel formulas in to write to excel without chosing other actions

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 921

#2
Valantis Profile Picture

Valantis 801

#3
Haque Profile Picture

Haque 588

Last 30 days Overall leaderboard