+ Reply to Thread
Results 1 to 5 of 5

Vlookup Formula

  1. #1
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Vlookup Formula

    Hi,

    I have these formulas. Instead of writing each formula for each month, is it possible to change it, so it recognizes the name of the month on the left?

    Month Value
    Jan =VLOOKUP($B$2;[Jan2011.xlsx]Sheet1!$B:$C;2;0)
    Feb =VLOOKUP($B$2;[Feb2011.xlsx]Sheet1!$B:$C;2;0)
    Mar =VLOOKUP($B$2;[Mar2011.xlsx]Sheet1!$B:$C;2;0)
    Apr =VLOOKUP($B$2;[Apr2011.xlsx]Sheet1!$B:$C;2;0)

    Regards,
    Elio Fernandes

  2. #2
    Registered User
    Join Date
    12-28-2011
    Location
    India
    MS-Off Ver
    2003, 2007 and 2010
    Posts
    34

    Re: Vlookup Formula

    Hi,

    Yes it is very much possible, find attached an excel file which will give you an idea of how to use it. I have made this for one of my client.

    You have to name your data and call them in the vlookup using indirect function. In the attached file if you select each month data you can see the name in the namebox

    Regards,
    Hariharan R
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Re: Vlookup Formula

    Hi,

    As you can see the formulas I posted, refer to diferente files names. How can I do this with 'INDIRECT' function? Is there another way?

    Elio

  4. #4
    Registered User
    Join Date
    12-28-2009
    Location
    São Paulo, Brazil
    MS-Off Ver
    Excel 2010
    Posts
    71

    Re: Vlookup Formula

    Hi Elio.
    Try this.
    Note that INDIRECT function only works meanwhile the source file is open. After closed, as the first time that your sheet is recalculated the funtion will return an error.
    Please Login or Register  to view this content.
    Osvaldo

  5. #5
    Registered User
    Join Date
    01-01-2005
    MS-Off Ver
    2007
    Posts
    368

    Re: Vlookup Formula

    Osvaldo, obrigado!

    It is working. I saw in Internet that if I want to work with the lookup files closed, I have to have Morefunc.xll addin. Where can I find it? All the links that I found are 'dead'!.

    Elio Fernandes

+ 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