Wild Card filename references in formulas

spb

Board Regular
Joined
Sep 29, 2006
Messages
51
Is there a way to wild card file name references in formulas to make it easier to duplicate formulas between like categories. I have data from several regions. I have the regions copy their data to a central file share with the following filename format, NE Data.xls, SE Data.xls, etc. I have formulas that refer to these files but when I update the formulas I have to update each file name ref individually as I copy the updated formulas across the region fields they are placed in. Can you wild card the beginning of the file name so when I update one set of formulas I can just copy them in each set of related region fileds and be done with it? The data is identified within each file as with a field that the formula looks at.
I think this may slow formula updates down since now the formulas will be looking at 10 files and not just one. Would it screw up my links?
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,402
No, you can't have wildcard characters in filenames in links. It will not be looking at 10 files, it will just fail.

If you copy a set of formulae with a particular embedded filename, and want the copy to have a different embedded filename, just select the copied cells and do an Edit/replace for the filename. It sound like you'd only have do that 9 times to set the whole thing up.
 

spb

Board Regular
Joined
Sep 29, 2006
Messages
51
Thanks Glenn. That's what I've been doing but I'm always looking to make things even simpler. I appreciate the insight.
Steve
 

Watch MrExcel Video

Forum statistics

Threads
1,113,793
Messages
5,544,315
Members
410,602
Latest member
lidovi
Top