Forum Discussion

D M's avatar
D M
Copper Contributor
May 01, 2018
Solved

Add values from same cell in corresponding worksheet in other closed workbooks?

We are using Excel to keep track of and schedule clinic procedures.  Each surgeon has a file/workbook and each month is a different worksheet (named by first day of each month).  Each day has a runni...
  • Matt Mickle's avatar
    May 10, 2018

    Typically you would use the INDIRECT() function to accomplish this however this function won't work if the workbook you want to pull data from is closed.  You're running into a software limitation for native functions.  The only other way to accomplish your task would probably be to write VBA code or use a third party add-in.

     

    I found a few online references on how you might go about this (see the bottom of the post) However, depending on the complexity of your issue, I would make a "catch all data worksheet" with formulas (full path formulas without variables) for all of the data you need pulling into your workbook.  Then just reference this sheet instead of using variables... or possible rework the current workbooks on the network drive to work better for your purposes.

     

    Here are the links I found:

    http://www.ashishmathur.com/extract-data-from-multiple-cells-of-closed-excel-files/

     

    https://stackoverflow.com/questions/21072781/use-file-path-from-a-predefined-cell-in-a-formula#comment31693600_21072823

     

    Hope this helps!

     

     

     

     

     

Resources