Warren Keogh
New Member
Hi
I am pulling tables of data from an external source into excel. Lets say the first source is company A. I have vlookups etc pulling data from this table.
If I pull the same table from Company B it breaks my formulas because the table name changes.
I can't fix or change the table names as I will not be able to refresh from the data source.
See sample attached. At present I just a simple formula to pull the data from the table for (example "=B5" )to pull the data in to a cell so I can link it to a formula in another sheet. I just run a very basic macro to recreate these formulas when I change the data source from Company A to B, otherwise I get '#REF error.
Is there a more elegant solution?
WK
I am pulling tables of data from an external source into excel. Lets say the first source is company A. I have vlookups etc pulling data from this table.
If I pull the same table from Company B it breaks my formulas because the table name changes.
I can't fix or change the table names as I will not be able to refresh from the data source.
See sample attached. At present I just a simple formula to pull the data from the table for (example "=B5" )to pull the data in to a cell so I can link it to a formula in another sheet. I just run a very basic macro to recreate these formulas when I change the data source from Company A to B, otherwise I get '#REF error.
Is there a more elegant solution?
WK