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 / Drag copy Excel formulas
Power Automate
Answered

Drag copy Excel formulas

(0) ShareShare
ReportReport
Posted on by 2

In Excel, using Power Automate Desktop, how do I drag-copy a formula from one cell (or a range of cells) to multiple cells? 

 

The built-in "Paste cells to Excel worksheet" action only pastes to one cell.  I would like to paste the same formula to a range of cells at once, which is what I do by dragging if I don't use Power Automate.  

 

Thanks.

 
 
  • fraenK Profile Picture
    2,125 on at

    Do you mean to all cells in a column? This is done automatically by Excel in a defined table.

    Otherwise you could loop through multiple cells to add formulas or write a table variable with https://docs.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/excel#writetoexcel

  • gkarbaschi Profile Picture
    2 on at

    Hello,

     

    Have you found a way to drag-copy? I use loops but it is much more time consuming.

     

    Thank you,

    Gelareh

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

    Activate cell in Excel Worksheet

    Send Keys {Control}(c)

    Select cells in Excel worksheet

    Send Keys {Control}(v)

  • VJR Profile Picture
    7,635 on at

    Hi @NewPower 

     

    The solution from MichaelAnnis is perfect in this situation.

     

    This is a must-have feature in PAD for Excel.

    Therefore I have submitted an idea around the same. 

    PAD: Paste into multiple cells and Drag Formula - Power Platform Community (microsoft.com)

    Please cast your vote for faster execution of this idea.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This worked perfectly, thanks!

  • LucianoGomesBR Profile Picture
    on at

    Yes, it works perfectly.
    Thanks, Michael.


    LucianoGomesBR_0-1660869313790.png

     

  • mcnemare1 Profile Picture
    214 on at

    Hey @MichaelAnnis , I tried to use the method you recommended. But every time I end up with the values / formula not committing.

     

    If I end the flow and press [Enter] on my keyboard, then all the formulas fill in for the rows witching this column. 

     

    Am I missing something?

     

    flowflow

     

    It doesnt commit.JPG

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    The text I used below is 100% exactly what you need. You are sending Control (Hold) + the sequence open bracket - Shift + c - close bracket and then release Control.  This isn’t what you want. 

    so, just use {Control}(c) and same thing for {Control}(v). Make sure they are lower case, otherwise it will be pressing shift. 

    good luck. 

  • mcnemare1 Profile Picture
    214 on at

    This worked really well. 

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 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard