+ Reply to Thread
Results 1 to 4 of 4

Index match formula to match related data

Hybrid View

  1. #1
    Registered User
    Join Date
    10-10-2009
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    58

    Post Index match formula to match related data

    Hi,
    Please write a formula as per below details.

    From the data table A3:G18 we need to fill the formula from L4:S28. There is no duplicate data in the range C4:G18 by each date.

    Logical condition for L4 cell is if the cell K4 is matched in the range of C4:G18 and L3 cell is matched with A4:A18 then I need to find the related data from the column B4:B18 (Manager).

    Thank u.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,655

    Re: Index match formula to match related data

    Try in L4:

    =IF(MAX(IF($C$4:$G$18=$K4,IF($A$4:$E$18=L$3,ROW($B$4:$F$18))))=0,"",INDEX($B:$B,MAX(IF($C$4:$G$18=$K4,IF($A$4:$E$18=L$3,ROW($B$4:$F$18))))))
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Drag down and accross
    Quang PT

  3. #3
    Registered User
    Join Date
    10-10-2009
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    58

    Re: Index match formula to match related data

    Hi,
    Thanks for your response.
    I copied the formula but it is working for the first column (D4:D18) only. It is not working for the data E14:E18.
    Thank u.

  4. #4
    Registered User
    Join Date
    10-10-2009
    Location
    UAE
    MS-Off Ver
    Excel 2016
    Posts
    58

    Re: Index match formula to match related data

    Dear Bebo,
    Thanks for your formula.
    I have corrected the data range and now it is working for all the data.
    Corrected Formula is
    =IF(MAX(IF($C$4:$G$18=$K4,IF($A$4:$A$18=L$3,ROW($B$4:$B$18))))=0,"",INDEX($B:$B,MAX(IF($C$4:$G$18=$K4,IF($A$4:$A$18=L$3,ROW($B$4:$B$18))))))
    Thank u so much.

+ 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] Index , Match with 3 Criteria to return a quanity value for related invoice number
    By PMH2384 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-12-2017, 05:57 PM
  2. Replies: 4
    Last Post: 04-14-2017, 07:47 PM
  3. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  4. Related to Match & Index function
    By jagadish.trm in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-16-2014, 06:52 PM
  5. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  6. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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