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 / Compare two Excel file...
Power Automate
Unanswered

Compare two Excel files. Update row when multiple columns match

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I am trying to compare two excel sheets and when Mutiple columns match add the owner and department to the first excel sheet. I have it partially working but I believe the problem is  'Key Column' and 'Key Value'. I don't have a unique Key Value. It's only unique when the 4 columns match. Not sure what to put there. So it's skipping when only one of the values match. Doing this through Automate rather than a Vlookup. Please Help.  Thank you in advance. 

 

Summary:

Add Department and Manager from Sheet 2 'DBOwner' to Sheet 1 'DBReport' when Database, ID, Server Instance, Environment Match.  (Output shown at bottom)

 

robayala1_0-1695942360443.png

 

Flow:

robayala1_3-1695941631747.png

 

 

Output:

robayala1_4-1695941976390.png

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at

    Hi,

     

    Its not skipping when only 1 matches, your condition states they all have to match or it won't do an update.

     

    So I am not sure what you mean?


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • RobA1 Profile Picture
    18 on at

    Thank you for responding. What I mean is when the

    'Database+ID+Server/Instance+Environment'  from Sheet 1 

     match

    'Database+ID+Server/Instance+Environment'  from Sheet 2 

     

    Then Add

    Department+Manager from Sheet2 to Sheet 1  

     

    In the example output you can see that it left a couple rows blank where I indicated the skipping.. It did not match. So I am assuming the issue to be with the 'Key Column and Key Value;. Not sure.

     

    Thank you. 

     

     

     

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard