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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Quickest way to merge ...
Power Automate
Unanswered

Quickest way to merge large amounts of data from Excel in a flow

(0) ShareShare
ReportReport
Posted on by 222

Hi.

 

I am attempting to merge 2 Excel files with a large amount of data, and I'm struggling to find an efficient way to merge them automatically using a flow (Preferably using PAD), so I'm hoping someone here has a good idea on how I can speed up the process.

 

The data amount is pretty big, File A contains 35.152 rows of data, and File B contains 10.373 rows.

What I'm trying to achieve is merge data for each row from File B Column 6 if File A Column 1 = File B Column 1.

 

I can easily reiterate through the data using a loop and read through each row of File A, compare with File B and then populate File A if match. But this takes approximately 1 minute pr. 100 rows, resulting in a very long runtime. Its mostly the write process that takes time, since the whole compare process is sped up considerably by using the "Find and replace"-action.

 

So is there a more efficient way to automate a task like this? Essentially, what we need is a VLOOKUP type process.

 

Any tips is very welcome!

Categories:
I have the same question (0)
  • takolota1 Profile Picture
    4,974 Moderator on at
    Re: Quickest way to merge large amounts of data from Excel in a flow

    @Gematria 

     

    If you still need a solution like this or if you have any similar scenarios, you can check the new excel batch action templates here:

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Create-Update-and-Upsert/td-p/1624706

     

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Delete/td-p/1634375

  • Community Power Platform Member Profile Picture
    on at
    Re: Quickest way to merge large amounts of data from Excel in a flow

    Look into PowerQuery.

    Source file 1 

    Source file 2 

     

    Create a new excel file, 

    pull in data from Source file 1 and Source file 2

    You can create merged sheet.  using Keys and SQL Join method.. 
     Perform ETL while pulling in data. 

    Once the logic is good,  Create parameter so you can change up the source file easily 


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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard