HOW TO COMPARE THESE EXCEL FILES?

Hello
I need help please help :slight_smile:
I want to compare an excel sheet with incoming orders and an excel sheet showing warehouse stocks with UiPath. What I need is to make calculations between order and stock by matching according to the code sections. To print the order and stock differences of the matched products on a new excel sheet. This is everything …
Please help me .

@Ertugrul_Dagci
Welcome to the forum

Have a look here

and have a look at the Join DataTable Activity

Hello Ertugrul, you can use join data table activity. After joining the data tables from the two sheets you can filter the redundant columns using “Filter Data Table” activity and add a new data column using “Add Data Column” activity for the stock and order differences.

@Ertugrul_Dagci

Welcome to the community

Join datatable activity will help in getting thw matched values between the two tables

Then use below in assign to get the difference,before that make sure to add the column to write the difference in

Dt.Columns("Difference").Expression = "[Order] - [Stock]"

Cheers

Hi @Ertugrul_Dagci
Input:


Refer the below workflow for better understanding:


Sequence3.xaml (10.0 KB)

Output:

Hope it helps!!
Regards

Thank you very much :slight_smile:

1 Like

If you find solution for your query please mark it as solution to close the loop.

Happy Automation

Regards

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.