mole999
Well-known Member
- Joined
- Oct 23, 2004
- Messages
- 10,524
- Office Version
- 2019
- 2016
- 2013
- Platform
- Windows
I pull data from an SQL backend, which has to be processed, I have no ability to update the stored data, apart from CASE / REPLACE TYPES.
I have an Excel Sheet with updated values, and data that is important but not collected in the SQL.
Basically I have two tables, I have one common value that looks like Y0777 (23,000) of them
I need to look at my updated table, and then check around 15 columns cell by cell (not necessarily ABCDE type order) to see if a value exists, and if it is empty or different I need to replace the value. before I can continue to process the main updated file.
Any thoughts on a VBA loop that will scan down one column (Sheet 1) , find the appropriate main ref (Sheet 2) compare to the columns until that loop finishes.
The combination will then be processed to determine a range of values for reports
I don't mind if it takes 20 minutes to run through
my other option is index match into a third table, but I'd like to avoid doing that
I have an Excel Sheet with updated values, and data that is important but not collected in the SQL.
Basically I have two tables, I have one common value that looks like Y0777 (23,000) of them
I need to look at my updated table, and then check around 15 columns cell by cell (not necessarily ABCDE type order) to see if a value exists, and if it is empty or different I need to replace the value. before I can continue to process the main updated file.
Any thoughts on a VBA loop that will scan down one column (Sheet 1) , find the appropriate main ref (Sheet 2) compare to the columns until that loop finishes.
The combination will then be processed to determine a range of values for reports
I don't mind if it takes 20 minutes to run through
my other option is index match into a third table, but I'd like to avoid doing that