web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Subject: Copying colum...
Power Automate
Unanswered

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?

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard