+ Reply to Thread
Results 1 to 3 of 3

Index Match for Different Groups of Data

  1. #1
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Index Match for Different Groups of Data

    Hello,

    With a simple Index Match-formula I managed to retrieve values based on a name and date.

    However the column I am applying the formula on has several months and several names on it. At this point I need to update the formula at the start of another month in column B with the corresponding name.

    I know this sounds really vague so I added the file as an attachment.

    As you will see in the attachment, the first month for John Brown works fine. But how do I let the formula know that when to adjust the name condition, in this case into Nathan Yellow.

    I like to use one formula that can be copied down from top to bottom.
    Note that it's not always a full month.
    Attached Files Attached Files
    Last edited by Jonathan78; 03-02-2011 at 07:01 AM.

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Index Match for Different Groups of Data

    Hi,

    I've changed the reference of the second MATCH

    in D5:

    =IF(B5="Dummy","",INDEX($I$4:$K$73,MATCH(B5,$H$4:$H$73,0),MATCH(LOOKUP(2,1/($B$4:B5="Dummy"),$C$4:C5),$I$3:$K$3,0)))
    Hope it's a little help

    Regards
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-19-2009
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2010
    Posts
    585

    Re: Index Match for Different Groups of Data

    Thank you Canapone!
    it works perfect

+ 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