1

I thought it is going to be quick to what I plan to do but it is getting me no where.

I have a huge excel file with various tabs (i.e worksheets).

enter image description here

The main worksheet (the first tab) is named Inventory. I got a modified version of Inventory worksheet which has lot of changes. So I copied this as 'NewInventory' into the excel file.

I have lot of formulas with lookups pointing to Inventory but I need all of them to reference now to NewInventory.

I can't rename Inventory as InventoryOLD as the references gets changed. Is there a way I can have all lookup formuals (there are plenty in sheets such as Sh2, Sh3, Sh4 etc) to look at NewInventory instead of Inventory in some simple steps.

Here is an example formula

=VLOOKUP(A2, 'Inventory'!$R$2:$R164104, 1, FALSE)

I don't want to change for one cell and then drag it all the way down and repeat for other cells across various worksheets.

Please suggest.

1 Answer 1

3

Head into Replace (+H), expand

Enter "Inventory" in the "Find What" field. Enter "NewInventory" in the "Replace with" field. Change "Within" option to "Workbook".

Click "Find All". Nothing's changes yet, however you can browse down there and see if that nailed everything. If it did .. Replace All.

Viola . done. I've used this to exactly what you've done in the past, works like a charm. Good luck!

1
  • Warning - this won't update references within charts.
    – Jack
    May 26, 2021 at 8:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.