+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    11-11-2008
    Location
    Syracuse NY
    MS-Off Ver
    2007
    Posts
    90

    Offset Match question

    In the attached workbook, the following formula appears in column B of the "dropdown" tab. I want to basically do a two criteria lookup, using the values in column A and the value of cell B1, which is a dropdown based on a dynamic range consisting of the company names on the Discounts tab.(starting with cell E1, extending rightward) To make this easier for testing purposes, I'm curretly using cell E1 instead of B1, which is just text.

    It seems like this ought to work, but somehow it doesn't:

    =OFFSET(Discounts!$B$1,(MATCH($E$1,Discounts!$C$1:$AA$1,0)),(MATCH(A5,Discounts!$B$2:$B$200,0)),1,1)
    Attached Files Attached Files
    Last edited by jrussell; 08-07-2009 at 12:41 PM.

  2. #2
    Forum Guru Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007
    Posts
    3,441

    Re: Offset Match question

    See attached.

    Two example methods are used in the WB, each depending on named ranges.

    =VLOOKUP(A5,Data.Table,MATCH($B$1,Data.Header,0),FALSE)

    =-INDEX(Data.Table,MATCH(A5,AA_Codes,0),MATCH($B$1,Data.Header,0))


    Note: The named range Data.Header kept getting corrupted for some reason. You may have to fix this if you have problems.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-11-2008
    Location
    Syracuse NY
    MS-Off Ver
    2007
    Posts
    90

    Re: Offset Match question

    Hey, not one but two ways to do it. These both look like they should work, thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0