Linking Workbooks

Copper Contributor

I have 200+ excel workbooks linked to one excel workbook, call it "Databook".  The method that I utilize for linkage is Index-Match.

 

I've set the links to Datebook such that the number of rows are far more than what Databook  currently contains, allowing for me to expand the number of rows with Databook without having to make any changes to the 200+ workbooks.  However, it's far more complex with regard to columns.  If I insert a column within Databook, each of the 200+ workbooks require maintenance to reestablish the accurate linkages. I tried "naming" a column, but the Index-Match function would not recognize the name.

 

I would like the ability to insert a column within Datebook, without having to open up all 200 files and reestablish the proper linkages.  Does anyone have a method that might work for me.

 

 

8 Replies

@MBrinkm600 

 

Ever since watching the linked YouTube video on Dynamic Array Functions (notably FILTER) I've used FILTER to do -- on a far less ambitious basis -- what you're doing, or at least what I understand you to be doing. I download a datasheet from my financial services provider and then bring ALL the data in to a single workbook with but a single FILTER formula. It dynamically fills all the rows and columns that are present in the data source.

 

You sound like a very savvy user, so I have no doubt you'll be able to adapt this IF it does fit your need, and if not, you'll recognize that too.

https://www.youtube.com/watch?v=9I9DtFOVPIg

 

@mathetes 

First of all, let me say how appreciate I am that you would take the time to respond.  I watched your video.  The filter function does appear to me to be a more efficient method than is than the Index-Match method that I am using.

 

However, your examples are all using the filter function within one workbook.  My struggle is that I'm using these functions between separate workbooks.  I have 200+ workbooks pulling data from 1 workbook.  Within that one workbook, I would like the ability to insert a column without corrupting all the linkages within the 200+ workbooks.  Does your video address that problem?  Or this there another method out there that could be of help to me?

@MBrinkm600 

 

I use more than one workbook to pull data from the single source; just not 200!

 

And it is possible to insert new columns and have FILTER accommodate that. It gets tricky, and how best to adapt would be a function of how frequently those changes are made. So why don't you describe a bit more completely here the bigger picture. 

  • Maybe start with explaining why there need to be 200 "subordinate" workbooks? The fact that there are 200  workbooks each dependent on that single source of data, yet independent of each other, is certainly a major complication. Why can't they be, perhaps, 200 separate worksheets within a single dependent workbook? [that, actually, is more descriptive of my situation: I have separate worksheets in the workbook that derives its data from the source workbook by means of FILTER]
  • And then add to that explanations of the frequency with which new columns get added; does the count of rows change too? How frequently, etc.
  • What's the nature of the data? Text? Numbers? Currency? Test results....

 

 

Happy to provide more context. The master workbook is a database of ingredient nutrient profiles. The 200+ workbooks are recipes. Each of those workbooks has 8 tabs already, so the idea of bringing them all into one workbook, with 1600 tabs or more seems daunting to me.

@MBrinkm600 

 

That's helpful. BUT, given that description, I wonder why it still is the case that you're adding columns to the master database. How many more nutrient profile attributes can there be after you've done the amount of work involved in getting to 1,600 recipes?! I can understand how it grew in the early stages, but surely by now the range of possible attributes for nutrient profiles of ingredients is pretty well established. Isn't it?

 

And if something new DOES get added, it would apply to a small subset of the recipes anyway, so could be incorporated in one or two of the subordinate workbooks.

 

Frankly, the other thing that occurs to me is that this whole process might be better approached as an Access database, or some comparable database manager. Excel is wonderful for what it does; your application is (I suspect) on the periphery of Excel's ideal applications. That it has worked thus far is wonderful.

 

The other possibility: do you use Power Query? I work solely in the Mac environment, which does not have access to Power Query--it's only in the Windows world. My understanding is that PowerQuery (in the hands of a master, at any rate) gives Excel a better collection of the powers of a relational database. If you're in Windows, if you keep your office software up-to-date, let us know. Some of the other regular contributors here may have some PowerQuery solutions for you,

I've always chosen excel over access because I'm good at excel, and excel has such breadth of flexibility. Poor excuses, I know. But I will look into your suggestions. Again, thank you for your attention.

@MBrinkm600 

 

Do you actually produce the recipes (i.e., the output) themselves in Excel? Given that a written recipe (aside from the list of ingredients) is mostly what I'd consider more suited to a word processor, I'm just curious....Again, I can see how Excel could be used, although it's almost a matter of "abuse" of Excel, and given Word's pretty impressive abilities at formatting.

Yes, there is math involved with the recipe procedures, so excel is best suited. An alternative would be linear programming software, but those platforms do not play well with other software's.