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 / Subject: Copying colum...
Power Automate
Answered

Subject: Copying column values from one Excel file to another using Power Automate (cloud version)

(0) ShareShare
ReportReport
Posted on by 24

Good morning everyone, I am a beginner with very little knowledge of coding, so I'm sure my question might seem quite simple to many. Here's the issue: I have two files, each with one sheet: File1 (Sheet A) and File2 (Sheet B). Both sheets have a table (Table1 for File1, Table2 for File2) with the following columns: Name, Age, Gender. The Gender column in Table2 (File2, Sheet B) has not been filled out. The goal is to copy the data from the "Gender" column in Table1 to Table2 (from green column to yellow one.
My idea was to use the "List rows in a table" function, acquire the data from Sheet A and with an "Update a row" + "Apply to each" starting from cell C1, update Sheet B with the "Gender" data from Sheet A, but it doesn't work. I understand that perhaps, I need to initialize a variable and use an array for the storage of the data from the "gender" column, but I am not sure how to proceed. I don't even know if this is correct for such a simple operation, and I am unsure about how to do it. Could you explain to me step by step what I need to do?

Sheet_A.png
Sheet_B.png
Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,483 Super User 2026 Season 1 on at

    Hi @manfranz ,

     

    Welcome to the Community 🙂

     

    Your logic is totally correct: you must list all rows from Table 1, use an apply to each in order to access these records individually, and inside the loop, add an 'Update row' action referring the Table 2 (in this article, there are some instructions about how to update data in Excel from Power Automate). 

     

    You won't need a variable for this process: inside the 'Update row', you can directly refer to the 'Gender' column of the looped table, by using the dynamic contents (in this article, there are some instructions about how to work with dynamic contents). 

     

    Also, feel free to share an image of your flow design, so we can see exactly how did you build and help you to solve any potential errors in this process 🙂

  • manfranz Profile Picture
    24 on at

    Thank you, @rzaneti ! You have been incredibly kind and clear! I will read the materials from your blog that you pointed out to me, try again, and let you know. If I continue to encounter errors, I will try writing again. Thank you once again

  • manfranz Profile Picture
    24 on at

    It works now! Thanks again @rzaneti !

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard