I have two Excel files:
- The first file contains 25,000 rows
- The second file contains 250 rows
I need to compare these two files and extract the rows from the first file that are not present in the second file, then store the result in a new Excel file.
Although I can achieve this using the "For Each" and "If" activities, this method results in high time complexity. Additionally, if an error occurs midway, it becomes difficult to troubleshoot and handle.
Is there an alternative approach to achieve this efficiently, similar to how we use LINQ queries in UiPath, that reduces time complexity and simplifies the process?
Here i will give sample example:
Excel File 1:
| ID |
Name |
| 1 |
Alice |
| 2 |
Bob |
| 3 |
Charlie |
| 4 |
David |
| 5 |
Eve |
Excel File 2:
| ID |
Name |
| 1 |
Alice |
| 3 |
Charlie |
| 5 |
Eve |