+ Reply to Thread
Results 1 to 2 of 2

Variable file names in a Vlookup

  1. #1
    Registered User
    Join Date
    03-12-2004
    Posts
    65

    Variable file names in a Vlookup

    Here is one no one seems to be able to answer and I don't think it is possible.

    I am creating a table which consists of Vlookups. Each line of the table links to a different file. Here is a rough idea of the table.

    A B C D
    1 Jan Feb Mar
    2 Firm AA
    3 Firm BB
    4 Firm CC



    The file name of each line is "Firm AA Revenue.xls" and the next one "Firm BB Revenue.xls", etc

    What I would like to be able to do is a vlookup like this:

    =Vlookup(B$1,$A2&" Revenue.xls'!$A$1:$B$10",2,False)

    (I hope you get the gist)

    Anyway, this won't work, so does anyone know a way to do it?

    Thanks

    Simon

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,060

    Re: Variable file names in a Vlookup

    Try this,

    Please Login or Register  to view this content.
    HTH,
    windknife

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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