Jan 05 2022 03:13 AM
Hi,
I have a master worksheet, in a workbook which contains my catalog items(all unquie values) and prices. Once a year these prices may change and I receive an update of the prices, which includes the catalog item value).
I have created an import of the sheet which includes only the items that have been updated in price. and once the master is updated that import sheet is then deleted.
What I am trying to do is work down this temp worksheet, and search the master catalog for the catalog number , then move 2 cells across on that row to replace the value with the update. I have tried a couple of ways and none seem to be working as expected. Is there any one that could help ?
Jan 05 2022 08:23 AM
@ailleantsian although you could create a macro to do this, what about just creating a new table that merges the values as needed (look for update and if none found then use orig value) and then copy and 'PASTE VALUES' back onto the original table. you can create this 'merge' table in a separate tab that you can keep for future use also. Attached is a sample of what I mean except I put all 3 tables on the same sheet for simplicity.
Jan 06 2022 02:18 PM
@mtarler Thankyou, unfortunately, the master sheet is a part of a wider workbook that works like a cost estimation tool. It needs to be done within the macro so it is ease of use and no risk of the users being able to impact the costs ( the catalog is hidden from users of the workbook)
I have created the VBA when the file is received, that it is able to be selected, create a temp worksheet to add the records, but because we don't receive a full catalog need to do like a Vlook up and replace value but only temp as the temp worksheet will be deleted at the end of the update.
Jan 07 2022 12:44 PM