+ Reply to Thread
Results 1 to 7 of 7

Vlookup with offset on return

  1. #1
    Registered User
    Join Date
    11-17-2014
    Location
    Bristol
    MS-Off Ver
    10
    Posts
    2

    Post Vlookup with offset on return

    Hi,

    I'm trying to use a vlookup to return a value 1 row below the normal return cell and have tried numerous embedded offset formulas in both vlookup and index match but cannot get it to work.

    The problem is that a report that is generated is off kilter and to avoid going in to reformat the data I just wanted to write the offset in to the formula

    Capture.JPG

    For example I want the formula to look up the word White but return the value from the 6th row which is 18.

    From my searches online I haven't found any posts which solve this problem so I would really appreciate any help.

    Thanks

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup with offset on return

    Try

    =INDEX(B3:B7,MATCH("White",A2:A6,0))

    Notice the 1 row offset of the 2 ranges, that's intentional.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup with offset on return

    Use INDEX/MATCH then add 1 to the MATCH...

    =INDEX(B:B,MATCH("red",A:A,0)+1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,795

    Re: Vlookup with offset on return

    not sure - does this work for you
    =INDEX(B:B,(MATCH("White",A:A,0)+1))
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Registered User
    Join Date
    11-17-2014
    Location
    Bristol
    MS-Off Ver
    10
    Posts
    2

    Re: Vlookup with offset on return

    Thank you very much for your replies - All spot on and worked a treat

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup with offset on return

    You're welcome.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Vlookup with offset on return

    You're welcome. We appreciate the feedback!

+ 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. Replies: 3
    Last Post: 06-01-2014, 10:26 AM
  2. Using vlookup to return a value from a table with a vertical offset
    By benj4786 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-07-2014, 12:12 PM
  3. Offset return last value
    By matt4003 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2010, 02:55 AM
  4. Replies: 4
    Last Post: 08-11-2010, 02:14 PM
  5. return value thats offset
    By JAZZNAURA in forum Excel General
    Replies: 1
    Last Post: 07-07-2007, 09:57 AM

Tags for this Thread

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