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 / Combined Multiple Exce...
Power Automate
Unanswered

Combined Multiple Excel Files into one File and Look for Duplicate values and remove them

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

Hi,

1 . I receive individual multiple excel files from one customer and I need to combined them into ONE BIG file and perform something like conditional formatting 'duplicate values' such as the invoice number, the date, the $amount and remove the duplicate from the file.  Please show the steps in PAD so I can see what you did.

 

2. I also receive one excel file form another customer.  This time the excel file contain 4 tabs.  The first tab is garbage and I need to delete it completely. The second tab contain good data.  But it contain Row 'A' is the invoice number, 'B' is the date, 'C' is the currency, and 'D' is the $amount.  I only need Row A, B, and D.  I need to delete Row C. The third and the fourth tabs are the same style with the second tab.  After I delete Row C on all three tabs, then I need to put them back into ONE BIG file and then perform something like conditional formatting 'Duplicate Values' on all the ROWS and delete the duplicate and finally save the file with a new name. Please show the steps in PAD so I can see what you did.

Thank you!

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @TTC 

     

    First scenario is fine

     

    For second one,  may i know what you meant by Row A , Row B are they columns A, B and C ?

     

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Hi Nived,

    I meant Column A, Column B, Column C, and Column D.  my mistake.

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @TTC 

     

    Got it, one question, does removing duplicates should be done once we add all data together into one file or only for new data ?

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Yes, the duplicates should be done once when we add all the data together.

    When I do it manually, I open each excel file, copy and paste the data into one big file and then delete the columns that I don't need that leave me with three columns. After that I perform the 'Conditional Formatting' to all the three columns. Column A = Invoice number, Column B= Date, and Column C= $Amount.  I used the 'Remove Duplicates' in the excel function to remove the dup between the invoice#, date, and amount.  Sometimes, I have to repeat the 'Remove Duplicates' again if the invoices# are the same, the amounts are the same, and the date ARE NOT the same.  Because I don't need duplicate invoices# and the amounts in the final report.

    Thank you!

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @TTC 

     

    Could you share one sample file to try around this ?

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Hello Nived,

    Of course, I can share some files with you.  I have 4 set of tiles and I will explain how I want them.

    1. Fine Name: APL Logistics ---> File contain 4 tabs. I delete the first, third and fourth tabs 'SOA Summary, Credits, Payment Information'.  Leave me tab 'SOA Detail'. I Delete all the columns leave 'Invoice No., Invoice Date, and Due Amount'. I repeat the same process on the other files and start copy and paste the column Invoice No, Invoice Date, Due Amount.  Now I combined all the files into ONE BIG File and then perform the 'Conditional Formatting' to remove the duplicate data.  As I mentioned, on my early post, sometimes I have to repeat the dup check twice.  On the final report, I need one unique invoice, once date, and one amount.
    2. File Name ARC ----> Each excel file is individual.  This time 'No Tab' involve. As you can see each is different.  File Name 'ARC Best' it has a table.  Usually, I have to copy the entire data and do paste special to remove the table tools.  Then I delete all the extra column and leave Pronumber, BOL Date, and Open Amount. File Name: ARC 2 ---> I delete the first row, then delete column 'C' and copy and paste the entire data into File Name ARC Best, and then combined all the files into ONE BIG file and then perform the Conditional Formatting to remove the dups.
    3. File Name: KingGate  ---> Delete the client logo, delete row 1 to 5, delete the second tabs 'order aging with KG comments', delete columns A, B,F,G, and H.  That leave me column D=Order ID, E=Bill Date, and I= Amt Open. Since this is table tools. I copy the entire date and paste to s new sheet, and then format the date as mm/dd/yyyy. I repeat the same process on all of them combined all the files into ONE BIG file and then perform Conditional Formatting to remove the duplicate value.  Remove all the dups.
    4. File Name: NP-HME-Yellow ----> Delete the first and the last tab 'TTC and RETL'.  SOMETIMES WE THE HAVE LAST TAB SOMETIMES WE DON'T. Each file need to be individual meaning on their own. BECAUSE THEY'RE BELONG TO A DIFFERENT COMPANY.    I need one file per each by itself. No conditional formatting on that one.

    **** ALSO. IF THERE'S A GRAND TOTAL OF EACH FILE AT THE BOTTOM, THOSE NEED TO BE DELETED.

    Note:  Sometimes the customer hidden columns.  If the invoice number or the date or the amounts columns has been hidden, I need Unhide them to make it visible.

     

     

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Next File: ARC

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Next File: KingsGate

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Last File: with 4 tabs

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Hi Nived,

    I place one file for you to test.  As I explained on my early post each files are different. The way, I explained them is how I do them manually.  Thanks an advance and see attached.

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard