+ Reply to Thread
Results 1 to 4 of 4

Complicated Index/match formula

  1. #1
    Registered User
    Join Date
    06-20-2018
    Location
    LA, CA
    MS-Off Ver
    2016
    Posts
    5

    Complicated Index/match formula

    I need a formula to help me look up multiple entries in a spreadsheet when I search. Here is the scenario:
    I have a list of dates, names, and notes on job performance.

    I want to be able to select an employee's name from a drop down (can do that easily in data validation) and then have excel find the list of dates and incidents linked to that employee's entry. The sheet looks like this:

    Date Name Notes
    1/1/01 John Smith lkjasdlfkjadslkfj
    1/1/01 Steve Smith lkjsadlfkjasdklfj
    1/2/01 John Smith lkasjdlfkajsdlfkj

    I want the function to be able to return (below) if I enter John Smith into a cell like this ----->
    Employee name: Incident dates Notes
    John Smith 1/1/01 lkjasdlfkjadslkfj
    1/2/01 lkasjdlfkajsdlfkj

    I have come across something like this in Excel:

    =IF(ROWS($F$5:F5)<=COUNTIF($A$5:$A$15,$G$4),INDEX($B$5:$B$14,AGGREGATE(15,3,(($A$5:$A$14=$G$4)/($A$5:$A$14=$G$4)*ROW($A$5:$A$14))-ROW($A$4), ROWS($F$5:F5))),"")

    If that is the way to go I will work through it- but I am not an Excel guru and can't really follow that formula...

    HELP!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,695

    Re: Complicated Index/match formula

    It would help if you attached a sample Excel workbook.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Do not try to use the Paperclip icon, as it doesn't work on this forum.

    Your sample workbook should be representative of the range of data that you have, and should show clearly what results you are hoping to derive from the data.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    01-25-2019
    Location
    Florida
    MS-Off Ver
    Office 365
    Posts
    14

    Re: Complicated Index/match formula

    A simple filtering of the data (and or custom sort) should do that for you....

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,072

    Re: Complicated Index/match formula

    How about

    Excel 2013 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    John Smith
    01/01/2001
    test1
    2
    01/01/2001
    John Smith test1
    01/02/2001
    test3
    3
    01/01/2001
    Steve Smith test2
    4
    01/02/2001
    John Smith test3
    Sheet: Doc1

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

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

+ 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. Complicated lookup - Index Match
    By roddymc in forum Excel General
    Replies: 4
    Last Post: 11-19-2016, 05:57 AM
  2. [SOLVED] Complicated Index Match
    By willia97 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-14-2012, 07:44 PM
  3. probelm with complicated match index formula
    By dmorovitz in forum Excel General
    Replies: 1
    Last Post: 06-20-2007, 08:05 AM
  4. Complicated Index Match Offset function
    By Bob in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 PM
  5. Complicated Index Match Offset function
    By Bob in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  6. more complicated index() / match() function?
    By theillknight in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-15-2005, 07:15 PM
  7. Replies: 0
    Last Post: 02-03-2005, 02:06 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