Please tell me how to distribute the data on the sheets. So, there is an excel file with the extracted data (Consolidated.xlsx) and an excel file into which you need to copy the data (Sample1.xlsx).
The algorithm is something like this:
- Read the “№” column in the excel file (Consolidated.xlsx).
- Compare the value in the “№” column with the name of the excel sheet of the Sample1.xlsx file. The sheet name of the excel file contains several sheet numbers, if one of them matches, then copy the data into it.
When copying, you must first copy the previous rows (by the newest attribute in the “Date” column) and paste the value from the “Sum” column of the excel file Consolidated.xlsx.
I would be grateful for any hint, thanks!
Consolidated.xlsx (8.6 KB) Sample1.xlsx (9.8 KB)