+ Reply to Thread
Results 1 to 7 of 7

INDEX/MATCH - looking up data in an externally closed file that name changes weekly

  1. #1
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    Howdy Gang;

    I'm working on a file where I'm trying to do an INDEX/MATCH into a file that is closed and the file name changes weekly (on Mondays)...

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    this works perfectly for the 01-26-2015.

    but this file is generated every Monday. Now, I already have a cell the sets the date in that cell to the monday of the week, no matter what day you are running this...

    how do I change 01-26-2015 in the formula to the cell that contains the "Monday Date" IE: cell S5...

    I'm probably overdoing everything I was trying and there is a real simple technique...

    thanks in advance....
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    You would normally use INDIRECT() to include a (changing) file name into a reference, but INDIRWECT() requires the file to be open.

    Take a look at using the MoreFunc add-in for this
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    Hi Ford;

    thanks for the input...I did try INDIRECT but of course it only works on open files....I even tried a VBA solution using the .FormulaArray object but that object can only handle 255 characters...we think we have a totally different VBA solution that connects to the DB where the data is stored versus getting it from the file.

    Anyway, thanks for taking a look....yes, I did look at the add-in but I would prefer not to go that direction....

    on a side note: I twied the INDIRWECT() function, but it I kept getting a Baba Walters error....

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    sowwy, I was hunting wabbits at da time, was being vewy vewy kwiet lol

    Have you looked at the Morefunc option as well?

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    thanks, I needed the laugh....Elmer Fudd singing Wagner was a classic....

    I did, but there might be some API issue associated with it....I think we (I forgot to mention, I'm just helping somebody else) are going with an alternate technique....Not my choice actually.

    I'm going to look into the MoreFunc add-in for other stuff though...

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    OK, good luck

  7. #7
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: INDEX/MATCH - looking up data in an externally closed file that name changes weekly

    thanks Ford

+ 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: 5
    Last Post: 10-08-2014, 07:36 PM
  2. [SOLVED] Index Match Match for weekly range
    By onemoremile in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2014, 04:46 PM
  3. [SOLVED] Index / Match / Sum formula to show weekly figures
    By interested in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 01-15-2014, 09:15 AM
  4. [SOLVED] Index / Match / sum formula to show weekly figures
    By interested in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-30-2013, 05:44 AM
  5. [SOLVED] Index Match to closed workbook - not dynamic?
    By brad999 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-01-2013, 08:19 AM

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