+ Reply to Thread
Results 1 to 4 of 4

named ranges in VLOOKUP

Hybrid View

  1. #1
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: named ranges in VLOOKUP

    INDIRECT won't work with Dynamic Named Ranges

    Martin yours works because your Named Ranges are not Dynamic
    (ie they are hardwired ranges)

    You may be able to make the range dynamic within the formula itself (ie not using DNR) but we'd need to see an example.

    Using Martin's file as an example... dispensing with Named Ranges (ie we assume they will be Dynamic and thus won't work), then you could try an approach such as:

    Sheet1!A1: =VLOOKUP(C11,INDIRECT("'"&E4&"'!A1:B"&MATCH(REPT("Z",255),INDIRECT("'"&E4&"'!B:B"))),2,0)
    Last edited by DonkeyOte; 04-30-2009 at 03:27 AM.

+ 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