Dynamic file reference in formula without using INDIRECT

Mac2012

New Member
Joined
Nov 12, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Let me start by saying that I'm aware of the existence of INDIRECT, but it won't work for me because I have 24 exterior spreadsheets that I'm searching and I don't want to have to open each of them to update data (it defeats the point).

My spreadsheet tracks maintenance requirements of vehicles via excel reports exported from a commercial system. Currently the each tab searches a specified file and essentially creates a copy of the report and uses the data to do calculations, which I use to put together easy to read reports (the commercial software doesn't put things out in an easy to read format). Basically each cell has =if(C:\...\...\...\\[Data file 123.xlsx]Data file Excel Export'!A1="","",C:\...\...\...\\[Data file 123.xlsx]Data file Excel Export'!A1). I know this is a bit clunky but I can't use VBA because of our companies computer administrator has everything locked down.

The problem I have is that when I get rid of one vehicle (the 123 portion of the file reference) and replace it with another, all these links are broken. Several people use this tool that I built and I'm constantly having to fix the links when they break. I would like to have a dynamic list of files in a tab (maybe a named list or something) that is used as the file path portion of the formula. That way it doesn't matter what the file is called, the first tab just looks at the first file on the list and so on.

Is this even possible? I look forward to your extremely creative solutions!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,214,412
Messages
6,119,365
Members
448,888
Latest member
Arle8907

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