+ Reply to Thread
Results 1 to 3 of 3

Using OFFSET with multi-criteria VLOOKUP with INDIRECT

  1. #1
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Using OFFSET with multi-criteria VLOOKUP with INDIRECT

    Here's my (working) formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This looks up the criteria in FX1 & FX2 on the current sheet and the corresponding sheet name in column A, and then returns the value in the correct cell from that correct sheet... let's say, for example, this returns "54" from cell NorthDistrict!BA35... I now also need the value from the cell 2 rows below, from NorthDistrict!BA37)... I'm assuming an OFFSET will work, but where do I put it in this complex, array of a formula?

    P.S. - I can't use the VLOOKUP/CHOOSE because my criteria in cells FX1 and FX2 which would correspond to BA37 are the same in the cells corresponding to BA35 - just a weird way my system converts the data from SQL to Excel Comma Delimited...

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Using OFFSET with multi-criteria VLOOKUP with INDIRECT

    That formula looks the same as

    {=INDEX(INDIRECT($A3&"!BA15:BA45"),MATCH(TRUE,IF(INDIRECT($A3&"!AX15:AX45")=FX$1,INDIRECT($A3&"!AY15:AY45")=FX$2),0))}

    Which should be more efficient than your method, and easier to adjust for your new requirement. Changing the range of the first INDIRECT to $A3&"!BA17:BA47") will return the entry 2 rows below.

  3. #3
    Forum Contributor
    Join Date
    04-14-2013
    Location
    Ky
    MS-Off Ver
    Excel 2013
    Posts
    344

    Re: Using OFFSET with multi-criteria VLOOKUP with INDIRECT

    Like a charm! It'll take me a bit to dissect this and understand what all is happening here, but the fact is it works! Thanks and cheers!

+ 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. Multi Tier - Match & Vlookup or INDEX or INDIRECT function help needed
    By yogananda.muthaiah in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-26-2016, 12:32 AM
  2. VLOOKUP with variable table array using INDIRECT and OFFSET
    By jbrizbee21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2015, 01:29 PM
  3. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  4. Multi Criteria Vlookup
    By Dendrinos2 in forum Excel General
    Replies: 2
    Last Post: 11-03-2011, 01:45 AM
  5. VLookup multi criteria.
    By noodles1984 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-05-2010, 05:53 PM
  6. How do I do multi VLOOKUP's based on certain criteria per cell?
    By bj in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  7. [SOLVED] How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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