+ Reply to Thread
Results 1 to 13 of 13

see duplicates in rows and columns in the text

  1. #1
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    see duplicates in rows and columns in the text

    I want to do the following, but have no clue as to how I should name it! So my title is probably way off!
    I have 54 people that play in groups of three. The next week I have 57 people, some the same, some new, that again play in groups of three. I want to make a table (transpose, macro, pivot??) so I can see if person A has already played with person Z, and if so, how many times. And that for all players. If it were only two rounds, I could do this manually, but this already amounts to 7 rounds and more are coming. I already have many duplicate sets of players...
    Is this at all possible?

  2. #2
    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,063

    Re: see duplicates in rows and columns in the text

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    Re: see duplicates in rows and columns in the text

    Here is an example. I have 14 (A-M) players spread out over 3 days. Not always the same players. They play in 3 to a flight. I would like to make a table that shows how many times, if any, any given player has played with any other player.
    Attached Files Attached Files

  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,063

    Re: see duplicates in rows and columns in the text

    The yellow banner asked for some manually calculated results. They are not there. I do not know what you want. Please amend.

  5. #5
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    Re: see duplicates in rows and columns in the text

    I hope this helps.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,569

    Re: see duplicates in rows and columns in the text

    This proposal restructures the data, as modeled in columns Q:S, and employs two helper columns (T:U), which may be moved and/or hidden for aesthetic purposes.
    The helper columns are populated using: =INDEX($R$5:$R$31,AGGREGATE(15,6,(ROW($R$5:$R$31)-ROW($R$4))/($Q$5:$Q$31=$Q5)/($S$5:$S$31=$S5)/($R$5:$R$31<>$R5),1))
    The range C17:O29 is populated using: =SUM(COUNTIFS($R$5:$R$31,$B17,$T$5:$T$31,C$16),COUNTIFS($R$5:$R$31,$B17,$U$5:$U$31,C$16))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    Re: see duplicates in rows and columns in the text

    Thank you! But this doesn't help me to see at a glance that player A has played with B and C twice and F and D once. and not at all with the others. That's what I want to see. and that doesn't show in your table. Hope you can find a way...

  8. #8
    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,063

    Re: see duplicates in rows and columns in the text

    Please indicate SPECIFIC cells where Jete's soltion does NOT give you the correct result.

  9. #9
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    Re: see duplicates in rows and columns in the text

    I'm sorry, but this is as specific as it gets. All cells give a result that I do not require. I have a given: table A. I want to translate this table so it shows me table B. So column R should show player A to M. Row 5 should also show A to M. Exactly like table B. That shows me the counts I need.
    Attached Files Attached Files

  10. #10
    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,063

    Re: see duplicates in rows and columns in the text

    One last shot. Look at any of the cells in Table B, in the attachment to Jete's reply at Post 6. Show me just ONE that gives you the wrong result.

  11. #11
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    Re: see duplicates in rows and columns in the text

    Ok, I put the name table B to the right of my table, should have been to the left. My mistake. I thought it would be clear that I am comparing my tables, because that is what I want to see.
    None of the results in Jete's post show a number. I need numbers. I have only talked about how may times players play with each other: player A has played with B and C twice and F and D once, just as in my table B. Numbers, values is waht I need.

  12. #12
    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,063

    Re: see duplicates in rows and columns in the text

    One of us is being dense. It's probably me. It usually is. Close all copies of your file. Open ONLY the attached file. It is Jete's file, with a pile of cells that I formatted yellow. They all contain Jete's formulae (they were ALWAYS there). Give me the cell ref. of any of those cells which are giving the wrong answer in the format: "E18 should read XXx not YYY".
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    12-11-2020
    Location
    Heemstede, Holland
    MS-Off Ver
    For Mac 2011
    Posts
    7

    Re: see duplicates in rows and columns in the text

    Ahh, I saw a file that had a new table attached, namely the one to the right, done by Jete. I didn't look in my own table, namely table B, As I was under the impression that it was all about the table to the right. That does make a difference. There was no indication that my table had been altered. Ik will now study the file again. Thanks.

+ 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. VBA for finding duplicates in rows & columns
    By kieranm105 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2020, 11:28 AM
  2. [SOLVED] columns with duplicates to one column and rows help?
    By amelie19 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2018, 11:23 AM
  3. [SOLVED] How do I find duplicates rows and columns?
    By taylorsm in forum Excel General
    Replies: 4
    Last Post: 05-15-2018, 01:12 PM
  4. How to delete rows in two columns with duplicates?
    By sem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-01-2012, 04:46 AM
  5. Finding rows with duplicates in two columns
    By James McMurray in forum Excel General
    Replies: 3
    Last Post: 07-18-2008, 07:03 PM
  6. Replies: 1
    Last Post: 04-17-2008, 03:15 PM
  7. Rows to columns and delete duplicates
    By msick in forum Excel General
    Replies: 0
    Last Post: 04-19-2005, 09:53 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