cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lingenit
New Member

Merging 2 Excel files to one by leveraging a common column in each (key column)

Hi,

I have 2 separate Excel files and within each of the 2 files, each has a data table. I am trying to develop a flow that combines the two tables by leveraging a column that both tables have in common (key column). I am trying to merge these two tables horizontally, so essentially adding the columns from the first table onto the end of the second table, by matching them with the column they have in common (almost like a vlookup function). 

Any help would be greatly appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
v-JessicaG-msft
Community Support
Community Support

Hi @lingenit ,

 

Do you want to merge the data in Table 2 into Table 1 based on the common key columns?

 

You could add the columns that need to be updated to Table 1 in advance and use the "Update a row" action to update Table 1 by comparing the values of the common columns. I have test for your reference, please try the following workaround:

 

vJessicaGmsft_0-1639393343670.png

vJessicaGmsft_1-1639393382924.png

vJessicaGmsft_2-1639393422796.png

Best Regards,

Jessica Gu

View solution in original post

2 REPLIES 2
v-JessicaG-msft
Community Support
Community Support

Hi @lingenit ,

 

Do you want to merge the data in Table 2 into Table 1 based on the common key columns?

 

You could add the columns that need to be updated to Table 1 in advance and use the "Update a row" action to update Table 1 by comparing the values of the common columns. I have test for your reference, please try the following workaround:

 

vJessicaGmsft_0-1639393343670.png

vJessicaGmsft_1-1639393382924.png

vJessicaGmsft_2-1639393422796.png

Best Regards,

Jessica Gu

gauravtewari233
Regular Visitor

In my case doing the same thing, but its timing out.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,374)