+ Reply to Thread
Results 1 to 3 of 3

Vlookup from other excel files wherein names of excel files are updated based on date

  1. #1
    Registered User
    Join Date
    09-22-2013
    Location
    Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Vlookup from other excel files wherein names of excel files are updated based on date

    Hello excel experts,
    I am working on an excel sheet that does some price calculation for me. I am using Vlookup function to automatically read the required inputs for my calculations from a few other excel files. This is going well for most files, except for one that I need to download from the web, and the name of this file is changing every week based on the week number and year; The name of the tabs in that excel file however remain unchanged.
    The name of the excel file that I need to read from is: "Input 2016_WeekX.xlsb", wherein X (and also year number) is updated every week. The name of the tabs that I need to look into remain as "Product of interest". Because of the change on file's name, when I download the file into my calculations folder, my calculation sheet cannot be automatically updated, and I have to relink manually the required cells to the new excel file every week.

    I thought that I could fix this by writing a formula like:

    VLOOKUP("Myproduct";'["Input "&YEAR(TODAY())&"_Week"&WEEKNUM(TODAY())&".xlsb"]Product of interest'!$C$260:$S$456; MATCH("Mylocation";'["Input "&YEAR(TODAY())&"_Week"&WEEKNUM(TODAY())&".xlsb"]Product of interest'!$C$260:$S$260;0); FALSE).

    However this does not work. I was wondering if there is a smart way for doing this to avoid manually linking every week the required cells? I appreciate it if someone can help me out. Thank you.
    Last edited by mamasi; 09-05-2016 at 02:46 AM.

  2. #2
    Registered User
    Join Date
    09-22-2013
    Location
    Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Vlookup from other excel files wherein names of excel files are updated based on date

    Last edited by mamasi; 09-12-2016 at 04:14 AM.

  3. #3
    Registered User
    Join Date
    09-22-2013
    Location
    Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    3

    Question Re: Vlookup from other excel files wherein names of excel files are updated based on date

    Last edited by mamasi; 09-12-2016 at 04:14 AM.

+ 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: 2
    Last Post: 07-05-2016, 03:49 PM
  2. PPT pages as separate files with files names from Excel
    By Amarjeet Singh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2015, 05:42 AM
  3. Excel vba to tel adobe combine two pdf files based on a spcified list of files
    By Abbadon486 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2014, 12:04 PM
  4. [SOLVED] How to Split Excel Spreadsheets into new .xls files based on their cell names?
    By Ardiko in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-02-2013, 02:22 PM
  5. Replies: 0
    Last Post: 11-27-2012, 01:43 PM
  6. Combining two excel files into one with updated info.
    By irishluck09 in forum Excel General
    Replies: 1
    Last Post: 10-16-2012, 05:22 PM
  7. Sum of stats in two seperate excel files updated weekly
    By miamiking75 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-22-2008, 09:57 AM

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