+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP and OFFSET

  1. #1
    Registered User
    Join Date
    11-24-2016
    Location
    Switzerland
    MS-Off Ver
    2016
    Posts
    2

    VLOOKUP and OFFSET

    Hello,

    Here is what I am trying to achieve.

    When I copy the formula 2 cells to the left (from D to F), I then need the table array to move by 10 columns (from I:L to S:U).

    D5 =VLOOKUP($A5,I:L,4,0)
    F5 =VLOOKUP($A5,S:U,4,0)

    I guess I should use OFFSET but I don't know how.

    Thank you for your help.

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,503

    Re: VLOOKUP and OFFSET

    A sample workbook would be helpful, see instructions for uploading one at the top of the post.
    another thing, in F5 =VLOOKUP($A5,S:U,4,0) you are looking to match A5 in column S, the columns to follow are T, U and V - V would be the 4th column over which your formula shows but you only include columns through U which is 3 over so that formula will not work.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: VLOOKUP and OFFSET

    Another option might be to use INDEX/MATCH to ID the columns you need (hard to say without seeing a sample WB though)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: VLOOKUP and OFFSET

    A solution with OFFSET: Please try in D5 and copy to F5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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] Vlookup and offset
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2019, 06:28 AM
  2. [SOLVED] OFFSET with VLOOKUP
    By bigjdawg43 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-13-2017, 06:26 PM
  3. [SOLVED] Vlookup value Offset
    By Juolupuki in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-13-2017, 05:23 PM
  4. [SOLVED] VLookup offset
    By martix in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2017, 10:23 PM
  5. VLOOKUP with OFFSET
    By gtbaseball7 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-26-2015, 05:45 PM
  6. VLOOKUP and OFFSET
    By renita8781 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-07-2007, 09:40 AM
  7. Vlookup is not enough ... can OFFSET be used ?
    By Brian Ferris in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-31-2005, 11:05 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