+ Reply to Thread
Results 1 to 2 of 2

Search by dynamic file name and pull data from specific cell into one master sheet

  1. #1
    Registered User
    Join Date
    12-30-2009
    Location
    Murrieta, California
    MS-Off Ver
    Excel 2003
    Posts
    2

    Search by dynamic file name and pull data from specific cell into one master sheet

    I have a user group of approx 100 people that is required to fill out time sheets weekly. The have to submit their timesheets in with a specific naming nominclature in a network folder. I want to have a master sheet pull from this folder and populate the calculated number of hrs from a specific cell in each sheet and have it updated weekly.

    I think I can use something like this to populate the Master sheet:

    =INDIRECT("'[\\Management Team\Field\TimeSheets\Time-Sheets-Central]"&B18&"-TS-"&$D$17&$E$2)

    Where as B18 = the persons name and $D$17 = the name of the week in the file name and $E$2 = Calculated hrs from the cell in the sheet.

    I can not get it to work. It comes up with various Reference errors. Any ideas?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Search by dynamic file name and pull data from specific cell into one master sheet

    You cannot use INDIRECT() to create a reference to another workbook unless that other workbook is open. That's a limitation of Excel's native INDIRECT().

    See this thread for an alternate idea:

    MoreFunc explanation
    http://www.excelforum.com/excel-gene...ndirect.html#2
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 07-11-2014, 04:19 PM
  2. Using a macro to pull specific data from multiple files into a master file
    By bocaj315 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-04-2013, 09:31 AM
  3. Pull data from specific cells on multiple worksheets onto one master sheet
    By WorkforceMedia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2013, 03:25 AM
  4. Replies: 4
    Last Post: 10-22-2012, 03:21 AM
  5. Pull data from a specific sheet that matches cell value on Input Sheet
    By vaciaravino in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2012, 08:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1