+ Reply to Thread
Results 1 to 3 of 3

specify range for a vlookup

  1. #1
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473

    specify range for a vlookup

    Hi There,

    I have a VLOOKUP formula in my code but I need the ability for it to scan only part of the current row for the range..

    Example:

    vlookup("John",C1:IV1,3,false)

    This would look along row 1 and give me the lookup value from cell E1.

    But because I am running through each cell in column A I need it to be something like this..

    vlookup("John", current row starting at column C up to IV, 3, false)

    If someone understand that and can provide a solution I would be very grateful.

    Thanks

    John

  2. #2
    Forum Contributor
    Join Date
    10-17-2007
    Location
    Washington, DC
    Posts
    103
    you need to use the hlookup() function to return values from rows. The functionality and syntax are the same

  3. #3
    Forum Contributor
    Join Date
    10-17-2007
    Location
    Washington, DC
    Posts
    103
    maybe I am misunderstanding the question, post a sample please. If hlookup doesnt do it, offset will

+ 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