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 / Entering formula in Ex...
Power Automate
Answered

Entering formula in Excel Formatting Rule

(0) ShareShare
ReportReport
Posted on by 7

Hello,

I'm using Power Automate Desktop to reset formatting and validation rule setup in a shared excel file located in MS Teams because when people copying & paste it will break those rules. I have very limited VBA knowledge and find Power Automate is more user friendly. 

I encountered problem that Excel will automatically add the table range in the formula (data is set as table in the worksheet). Even when I stored the formula as variable it will keep on adding the table range in front of it.

niken_0-1642609301644.png

Thank you

  • niken Profile Picture
    7 on at

    I recreated another PAD with data not set as a table and change the formula to avoid using <">, but it still adds range of cells in front of the formula. Should I move this to "Found Bug"?

    niken_0-1642651491558.png

     

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    No.  That is there automatically, instead do this:


    mouse click on text field

    send keys {Control}(a){Delete}
    then send keys for your formula

     

    that should clear out the other stuff before pasting your formula in there. 

    good luck!

  • niken Profile Picture
    7 on at

    works like a charm..thank you so much MichaleAnnis

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard