Hi all,
I've got a table on sheet 2 with three columns that is acting as a matrix
Column 1 contains area codes, column 2 contains a product number, and product 3 contains an alternative product number.
Using this table, I need to change information on sheet1. sheet1.Column 1 contains the area code (as on table), column 2 contains product number. I need to completely swap column 2's values to the corresponding alternative product number on the table.
There is a caveat to this - the product numbers (neither type) are NOT unique, so any matching must be done on an area code AND product code basis (which does make it unique).
I have tried to use a scripting dictionary to do this (I know how to swap a list of employee ID's to employee names for example) but I don't understand it well enough to get it to work with three columns total (as it would need two keys?)
Thanks
I've got a table on sheet 2 with three columns that is acting as a matrix
Column 1 contains area codes, column 2 contains a product number, and product 3 contains an alternative product number.
Using this table, I need to change information on sheet1. sheet1.Column 1 contains the area code (as on table), column 2 contains product number. I need to completely swap column 2's values to the corresponding alternative product number on the table.
There is a caveat to this - the product numbers (neither type) are NOT unique, so any matching must be done on an area code AND product code basis (which does make it unique).
I have tried to use a scripting dictionary to do this (I know how to swap a list of employee ID's to employee names for example) but I don't understand it well enough to get it to work with three columns total (as it would need two keys?)
Thanks