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 Automate - Building Flows
Answered

Compare 2 Excel Sheets (big database)

(0) ShareShare
ReportReport
Posted on by 155

Hello everyone,

 

I built my flow orientated on this linked flow from this forum:
https://powerusers.microsoft.com/t5/Building-Flows/Compare-2-Excel-Spreadsheets/m-p/487909

Unfortunately, this flow is too slow for running my big sheet with 900 rows.

 

So here is what I wanted to build:

I have two excel sheets with each about 900 rows and 3 necessary columns. I want the flow to compare the sheets and check every row to see if it has changed to the older one.

 

Sheet old:

CustomerIDCustomerNameLevel

1

MicrosoftBasic
2Google

Standard

3MetaPremium
4TwitterPremium

 

Sheet new:

 

CustomerIDCustomerNameLevel

1

MicrosoftBasic
2Google

Standard

3MetaStandard
4TwitterBasic

 

I hope you understand my problem and can help me, solve this.

 

Thanks in advance!

I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at
    Re: Compare 2 Excel Sheets (big database)

    Hi @jonbu ,

     

    Could you please tell me what kind of results do you want to achieve?

     

    • If you just want to know if these two tables are the same, then this is easy to achieve.
    • If you want to know which records in the two tables are different, then this is still done by creating a loop.

     

    Best Regards,

    Bof

  • jonbu Profile Picture
    155 on at
    Re: Compare 2 Excel Sheets (big database)

    Hi @v-bofeng-msft,
    Thanks for your answer.

    I'd like to have the second opinion. My goal is to compare two sheets and give out the differences - preferred as a mail, but this will be easier than building a performing flow, I Think.

  • Verified answer
    jonbu Profile Picture
    155 on at
    Re: Compare 2 Excel Sheets (big database)

    I solved it by myself. 
    The fault was the wrong connection to "apply to each". The right way was to connect "apply to each 2" to "filter array" instead of connecting it again to "lists rows present in a table".

    jonbu_0-1662015235447.png

     

    The flow runs now for about 30 minutes, but both excel sheets have about 900 entries to compare.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard