Hi everyone,
I have an Excel sheet with user details, containing around 1500 rows. Every week, I run a query against SQL, which returns about 30 rows of modified data. My goal is to update the existing rows in Excel based on the data from SQL.
Here’s my current setup:
- I update every column in Excel, except for the "Include" column, which should remain unchanged.
- To update the rows, I check whether each SQL row matches the corresponding Excel row by comparing on the "ID_ProvetUserID" column.
However, this process is incredibly slow because it ends up checking 1500 x 30 = 45,000 cases. Does anyone have suggestions for a more efficient way to handle this? My column ID_ProvetUser_ID is unique.