+ Reply to Thread
Results 1 to 6 of 6

Find or lookup the 2nd 3th... "different" match in column

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Slovenia
    MS-Off Ver
    Excel 2010
    Posts
    72

    Find or lookup the 2nd 3th... "different" match in column

    Hi,

    Today i come with new question for all Excel super users

    I know that some one will have a answer for it.

    I was looking a lot for the formula on internet but know luck. Also i'm not a real professional in Excel.

    On sites i could find many article like : Getting the 2nd matching value.... this is ok, but what if the second match is the same like the first one, and mybe the 40th match will be diffrent? I want to show all matches that could be found with criteria but only one if all matches is the same.

    I hope that i was precisely described the problem.

    I also attached excel spreed sheet, where you could find exactly what i want.

    Really thank you for help!

    Klemen
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find or lookup the 2nd 3th... "different" match in column

    with a helpcolumn to add the values.

    with a helpcolumn to count.

    then sort the data on name.

    after that a filter on the value 1.

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

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

    Re: Find or lookup the 2nd 3th... "different" match in column

    In G3:

    Please Login or Register  to view this content.
    ...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. Press F2 on that cell and try again.

    Drag down to G5

    For banana starts from row 7: Copy G3 to G8, replace $2 to $7, then Ctrl-shift-enter, Drag down

    Similar to Kivi row 12
    Replace $2 to $12
    Quang PT

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Find or lookup the 2nd 3th... "different" match in column

    Based on bebo021999 formula:

    Put "Apple" ,"Banana","Kivi" in G2,H2,I2 (add more as required)

    Put this in G3 and Enter with Ctrl+Shift+Enter

    =IFERROR(INDEX($B$2:$B$13,MATCH(0,IF($A$2:$A$13=G$2,COUNTIF($G$2:G2,IF($A$2:$A$13=G$2,$B$2:$B$13,"")),""),0)),"")

    Copy across and down

    This avoids having to adjust ranges in each formula.
    Last edited by JohnTopley; 11-01-2015 at 04:12 PM.

  5. #5
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,292

    Re: Find or lookup the 2nd 3th... "different" match in column

    I propose such a method.
    Attached Files Attached Files

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find or lookup the 2nd 3th... "different" match in column

    Another array-entered formula. It is a bit longer than the others. It's only redeeming feature is that it can be started in row 1.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Confirmed with Ctrl + Shift + Enter.
    Dave

+ 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. Find a word "screenshot" and print value "yes" in adjacent Column
    By prat123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-21-2015, 03:04 PM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. [SOLVED] Multiple criteria lookup - First match :exact" and second match "Closest"
    By mweichorn in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2013, 12:14 PM
  4. Replies: 3
    Last Post: 04-14-2013, 11:53 PM
  5. Replies: 0
    Last Post: 07-09-2009, 04:07 PM
  6. Replies: 2
    Last Post: 07-17-2006, 06:55 PM
  7. Replies: 2
    Last Post: 07-02-2006, 05:50 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