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 / [Seeking for help] How...
Power Automate
Answered

[Seeking for help] How to simplify the flow of copy and paste from 1 excel worksheet to another excel worksheet?

(0) ShareShare
ReportReport
Posted on by 3

Hi i am doing an automation of copying different data from one excel worksheet to another excel worksheet,i create more than 200 steps in this flow, because i need to copy eg. A1, A2 ,A3, A5, A7 cells to the new worksheet A1, B1, C1, D1, E1, F1 and then i copy C1, C2, C3, C5, C7 cells to A2,B2,C2,D2,E2,F2, and .....from column ACEGIK to ABCDEF then close and save this excel. How can I simplify this process? because I can imagine in the future once i insert one column to the excel, it is so difficult to update in that 200 steps........

Annotation 2023-07-14 100610.png
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Instead of using the Copy cells from Excel worksheet and Paste cells to Excel worksheet actions, use Read from Excel worksheet and Write to Excel worksheet. The Read from Excel worksheet allows reading a range. You can read the entire sheet at once into a data table variable. This means you will not need to switch back and forth between your sheets to copy values.

     

    I can see that writing would likely still need to be done separately for each column, as you seem to be transposing your table there by writing a specific column into each row in the new sheet. But it would likely also be possible to build this dynamically, where you retrieve a certain column of your data table into a list by using the Retrieve data table column into list action and then use a loop on that to write it's values into a row in the new sheet.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution.
    If you like my response, please give it a Thumbs Up.

    If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/

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
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard