Excel Challenge (Kevin Lehrbass): Get & Transform to List All Unique Pairs in a Class of 10 Students @OzduSoleilDATA
Excel Challenge (Kevin Lehrbass): Get & Transform to List All Unique Pairs in a Class of 10 Students  @OzduSoleilDATA
Uploaded October 2016 | Updated November 2026, 2 days ago
Once again, Kevin Lehrbass (MySpreadsheetLab) and I are taking on a common challenge and comparing each others' solutions.

Today's challenge: if you have 10 students in a class, and would like each student to work with a different student each week, how can you get a list of all of the unique pairs?

My favorite solution that Kevin created uses pivot tables and helper columns. Check out the details of Kevin's solutions here:
youtube.com/watch?v=vSMeQDmmCGA

Kevin's blogpost
myspreadsheetlab.com/video-00153-all-possible-pairs-from-list-of-names

I present 2 solutions:
1. A Matrix solution that pairs each student.
2. Get & Transform. This uses a cross-join aka Cartesian-join and it's beautiful! I also show how easy it is to get the unique pairs from 22 students.

This video takes you through a detailed approach to solving this problem in Excel.

ModelOff Global Training Camp - Toronto
gtc.modeloff.com/toronto


My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My blog: datascopic.net/blog-2-2
Excel Challenge (Kevin Lehrbass): Get & Transform to List All Unique Pairs in a Class of 10 StudentsWhere INDEX-MATCH Wins Over XLOOKUP and VLOOKUPThe Missing Donation Receipts: Using a Power Query Anti-Join against Multiple Records and CriteriaKen Puls ExcelGuru Challenge: Isolate Members and Memberships using Power Query Group-By and JoinsThe New & Improved RANDARRAY Dynamic Array FunctionCustom Function in Power Query to Merge 2 TablesExcels Get and Transform: Handling Leading Zeros and a Little M-CodeExcel Campus License Plate Challenge: The Down & Dirty EditionPower Query: Combine rows into a single cell with Text.CombineDynamic Array: Unstack Data with SEQUENCE ... just 2 stepsExcel Experts Live Challenge: Diarmuid Early vs. The Jumbled Course CompletionsExcel NETWORKDAYS part 3: calculating custom weekends with Power Query
Excel On Fire (Oz du Soleil) |

Excel Challenge (Kevin Lehrbass): Get & Transform to List All Unique Pairs in a Class of 10 Students

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER