+ Reply to Thread
Results 1 to 4 of 4

using the value of a cell within a cell reference.

  1. #1
    Registered User
    Join Date
    03-23-2007
    Posts
    17

    using the value of a cell within a cell reference.

    Hi everyone,

    Dont know if this is a stupid question but i just cant seem to get the right answer.

    How can you use the value of a cell with a cell value.

    For example, =VLOOKUP(B3,F14:G(F30),2)

    F30 has the value 23 in it (which will be changing frequently).

    So the actaully range will be when F30 = 23 is F14:G23.

    Any help would be appreciated.

    Regards
    Nick

  2. #2
    Registered User
    Join Date
    09-03-2003
    Location
    UK
    Posts
    95
    I can't think of a way to do this. Why do you need the range to be variable? Perhaps we can come up with a work around. That is of course unless there's someone out there who can come up with a solution?

  3. #3
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Range and Lookup

    Hi

    If you try the following it should work, or at least a variant of the idea.

    If you create a named range using the offset function, e.g. Range_offset
    Please Login or Register  to view this content.
    Then your formula would be
    Please Login or Register  to view this content.
    Hope that is of some use

    Regards

    Jeff

  4. #4
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi

    You can use indirect in your lookup function

    VLOOKUP(B3,F14:indirect("g"&F30),2)

    Ed

+ 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