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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Comparing specific col...
Power Automate
Unanswered

Comparing specific columns on two excel sheets

(0) ShareShare
ReportReport
Posted on by 11

I have two excel spreadsheets with a ton of data. I have no problem comparing spreadsheets when searching for overlapping data when there is only one column but when there's many columns, how do I make it so that power automate can have a flow that can compare two columns with certain headers. 

 

For example: Given one spreadsheet with a list of different fruits (watermelon, apple, pineapple) and a spreadsheet with a list of different pizza toppings (pepperoni, cheese, pineapple) how do I compare the values in the pineapple section and determine which values in the pineapple sections are not matching.

 

Thanks!

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    I'm not sure I understand your example. 

    So you're saying...

     

    Fruit.xlsx

    COLUMN1

    - Watermelon

    - Apple

    - Pineapple

     

    Pizza.xlsx

    COLUMN1

    - Pepperoni

    - Cheese

    - Pineapple

     

    Or are you saying it's more like

     

    Pizza.xlsx

    PEPPERONI | CHEESE | PINEAPPLE

    Yes | No | Yes

    Yes | Yes | No

     

    ?

     

    And then, how are you looking to compare the Pineapples if the latter? How many there are? Is there a key in the rows that associate the two files? Definitely need more info here to be able to help.

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Is one of these files is a sort of a target file that needs to be verified/updated after comparing the two files, or so you need to apply the same to both files somehow?

    Can you perhaps provide sample files and describe the expected output?

     

    If one of the files is a sort of a master/target file that you want updated, and the other is a data file that simply needs to be checked, you could read the data from the two files, then build a For each loop for the rows of the first file and use Find or replace in data table on the second file to find matching rows.

         -------------------------------------------------------------------------

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

     

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard