+ Reply to Thread
Results 1 to 4 of 4

Count the number of corresponding matches, in another list linked through a code

  1. #1
    Registered User
    Join Date
    10-08-2021
    Location
    biel
    MS-Off Ver
    2019
    Posts
    38

    Count the number of corresponding matches, in another list linked through a code

    Hello together,
    I have two excel tables with large sets of information.
    Something like Name / Code, the Code can be the same for various Names. I would like to count for each name linked through the code how many more names there are with the same code.
    I hope I was somehoe able to explain what I am trying to do. The example is attached.
    BR
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,434

    Re: Count the number of corresponding matches, in another list linked through a code

    In C3 copied down:

    =COUNTIFS($C$12:$C$21,A3,$B$12:$B$21,B3)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-08-2021
    Location
    biel
    MS-Off Ver
    2019
    Posts
    38

    Re: Count the number of corresponding matches, in another list linked through a code

    Dear Ali,

    Thank you so much for your help!

    Further, how could idendify which one are corresponding (not just counting). In my example, that I receive the codes "EDFG, RFDD, JKKH, JJLK" for DHSJ.

    As always, greatly appreciate your help!
    "

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,141

    Re: Count the number of corresponding matches, in another list linked through a code

    D3, copied across & down:
    =IFERROR(INDEX($A:$A,AGGREGATE(15,6,ROW($B$12:$B$21)/($B$12:$B$21=$B3),COLUMNS($D3:D3))),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

+ 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. Replies: 4
    Last Post: 05-23-2022, 02:15 AM
  2. Move row number up that matches cell number (To do list)
    By carlandtina02 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-05-2021, 05:50 PM
  3. [SOLVED] Count how many rows contain a number of matches with another
    By Ichigo12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-19-2017, 03:49 PM
  4. Count only even numbers and list number in linked column
    By ricklou in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-02-2015, 06:04 AM
  5. [SOLVED] Count number of occurrences but if there are consecutive matches count them as one
    By michaljireht in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-26-2013, 08:26 PM
  6. Replies: 8
    Last Post: 06-26-2012, 10:49 AM
  7. Count if number matches critera
    By lazyme in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-29-2007, 04:52 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