+ Reply to Thread
Results 1 to 5 of 5

Search Function

  1. #1
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Search Function

    Kindly refer to attachment.

    I am understand that vlookup only able to capture most upper column.

    My question is how to search out "(ALM)" from the list for selected relationship.

    I able get the formula for relationship father & mother cause only have 1 father and 1 mother. Thus vlookup formula is work out.

    For sibling case, vlookup formula is error cause have more than 1 sibling.

    I would like to capture the sibling name whose have "(ALM)"

    Thank you.
    Attached Files Attached Files
    Last edited by Shermaine2010; 08-31-2011 at 10:47 PM.

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

    Re: Search Function

    Hi, a possible approach in the file attached using INDEX MATCH in C15

    =IF(ISERROR(INDEX($E$4:$E$8,MATCH(A15&B15&"*(ALM)*",INDEX($C$4:$C$8&$D$4:$D$8&$E$4:$E$8,0),))),"",INDEX($E$4:$E$8,MATCH(A15&B15&"*(ALM)*",INDEX($C$4:$C$8&$D$4:$D$8&$E$4:$E$8,0),)))
    There are for sure better solutions.

    Hope it helps
    Attached Files Attached Files
    Last edited by canapone; 08-31-2011 at 04:01 AM.

  3. #3
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Search Function

    Get it. Thankss

  4. #4
    Forum Contributor
    Join Date
    05-09-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Search Function

    New Question is if there have 2 name appear (ALM), i would like to capture most latest date's (ALM) name.

    What formula should be apply? Please advice?
    Attached Files Attached Files

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

    Re: Search Function

    Hi,

    if dates of column F are in ascending order, a solution could be (in C15 and below):

    =IF(ISERROR(LOOKUP(2;1/(($C$4:$C$8=A15)*($D$4:$D$8=B15)*ISNUMBER(FIND("(ALM)";$E$4:$E$8)));$E$4:$E$8));"";LOOKUP(2;1/(($C$4:$C$8=A15)*($D$4:$D$8=B15)*ISNUMBER(FIND("(ALM)";$E$4:$E$8)));$E$4:$E$8))

    Hope it helps

    Regards
    Attached Files Attached Files
    Last edited by canapone; 08-31-2011 at 11:10 PM. Reason: Poor grammar

+ 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