+ Reply to Thread
Results 1 to 2 of 2

Match the team numbers to pair the names

  1. #1
    Registered User
    Join Date
    11-09-2021
    Location
    New Zealand
    MS-Off Ver
    12
    Posts
    1

    Match the team numbers to pair the names

    Hi Guys,

    I am trying to pair the names based on their team numbers.

    Currently, I have used Rand() and Rank functions to generate "random team numbers". I need to look up on value in column "Team" and then match the same team numbers to generate paired names.

    e.g. Katie and John are both in Team 1, Becky and Park are also in the same Team 3 and so forth - Output in a new column should be something like "John - Isha" and "Katie- Becky"

    How do I do this? Please help out! Thank you.

    Value Rank Team Number Name

    0.56565 34 Team 1 Katie
    0.68768 43 Team3 Becky
    0.656744 22 Team1 John
    0.78787 17 Team8 Chris
    0.3242443 19 Team3 Park
    0.9986655 21 Team8 Kane

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,827

    Re: Match the team numbers to pair the names

    I don't know what version "12" is. If you have MS365, here is a solution (see attached). (Assumes the above values are in columns A-D

    In one column:
    =UNIQUE(C1:C6)

    Then in the column next to it:
    =TEXTJOIN(" - ",TRUE,FILTER($D$1:$D$6,$C$1:$C$6=F1))
    (copy down).
    Attached Files Attached Files

+ 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. [SOLVED] Find a pair of numbers from a list of x numbers whose sum equals a given number
    By clorodet20607 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-03-2022, 02:59 AM
  2. Help to pick two random names from a list to pair up please.
    By TrainerJ in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-04-2021, 06:13 AM
  3. Sum of pair numbers and impair numbers contained in several rows
    By MatthieuM in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2017, 09:45 AM
  4. pair tab names by dates with vba code
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-29-2015, 02:56 PM
  5. [SOLVED] Random pairs of numbers for team match-ups
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2014, 06:39 AM
  6. Replies: 11
    Last Post: 10-21-2012, 01:40 AM
  7. Randomly Pair Names in a list
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2006, 01:14 PM

Tags for this Thread

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