+ Reply to Thread
Results 1 to 3 of 3

Indirect Function

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    India
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    28

    Indirect Function

    Hi,

    I have two workbook, test1 (master file) and the other one is test_10_05_2014 with 100 some of them being updated daily. The last portion of the file "test_10_05_2014" is the date and we have different file on daily basis.

    using Indirect function in vlookup should give corresponding value for the particular name. Formula used is giving error,

    [VLOOKUP(A2,Indirect(" ' "&E1&" ' !$A$2:$X$1000),6,FALSE)]

    please help.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,606

    Re: Indirect Function

    Your look up formula starts with a capital letter, but your sheet names don't. This might be the issue. Also check that the spaces between the inverted commas are not causing a mis-match.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,252

    Re: Indirect Function

    You need to look at the format for referencing another workbook/ sheet in a formula. You seem to be missing square brackets, file extension, etc. Check what you end up with in cell E1.

    ="Test_"&TEXT(D1,"dd\_mm\_yy")&"Sheet1!" >>>> Test_11_05_14Sheet1!


    I think the workbook might also need to be open for VLOOKUP to work but not 100% sure. Just saying in case it looks like the format is OK but you get an error (possibly a different one). References to closed workbooks would require the full path, as opposed to just the workbook name.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. [SOLVED] Combining Text Function with Indirect Function
    By ninmjj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-31-2013, 10:34 AM
  2. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  3. [SOLVED] INdirect function in VBA
    By MaddyG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2012, 06:30 PM
  4. [SOLVED] Using ROW function inside of both an Indirect and Index function returns #VALUE
    By xandermacleod in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-11-2012, 06:22 PM
  5. MATCH function within INDIRECT function not working
    By mgerada in forum Excel General
    Replies: 2
    Last Post: 09-04-2011, 08:37 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