Should be simple?

Wotsie

New Member
Joined
Aug 29, 2019
Messages
2
Hi,

I have multiple (hundreds) of archived spreadsheets consisting of the same mix of tabs and content format (only the data is different). I want to add an extra tab (lets call it 'Tracker') to pull bits of data from the various tabs into one easy to copy n paste column. Simple. :)
What I then need to do is copy the same Tracker into all of the other spreadsheets....But, obviously when I paste this to another sheet, it tries to reference the original spreadsheet rather than just pull from the same tabs in the open sheet. It feels like this should be simple but I'm failing miserably...can you help? :confused:
I realise there may be some kind of Xlookup thing I can do to pull from all the sheets independently, but that's not what's required in this case.

Thanks in advance.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
.
Search for COPY VALUES NOT FORMULAS.
 
Upvote 0
As I understand it you have a Tracker sheet in one workbook. There are formulas on that sheet. You want to copy Tracker to other workbooks and have those formulas point to the new workbook, rather than to the previous one.

One way to do that would be to use INDIRECT throughout all of your formulas.

Instead of =Sheet1!A1 + Sheet2!B2
use =INDIRECT("Sheet1!A1")+INDIRECT("Sheet2!B2")

If you are copying with VBA rather than manualy, you can copy the formulas from the original tracker to the new tracker with code like. (this approach does not require the use of INDIRECT)


Code:
Dim originalTracker as Worksheet, newSheet as Worksheet
'...
' code to make new sheet

With originalTracker
    newSheet.Range(.UsedRange.Address).FormulaR1C1 = .usedRange.FormulaR1C1
End With
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top