I am an amateur coder and could use some help from those of you who have more experience. I have a subscription to office 365 but prefer to use my old standalone Excel 2003. I am looking to create a macro to test each set of N unique pairs from 2N items, where the pair order does not matter and each item is used once and only once in each set of pairs. I have used several different AI systems to generate the algorithm to find all such pairs, but the results of each search, when included in my macro, resulted in errors that I was not able to correct. If anyone has developed a working algorithm to solve this I would appreciate receiving a copy. Thank you.
Examples for N=3 6 Items=ABCDEF
set1 AB|CD|EF
set2 AB|CE|DF
set3 AB|CF|DE
…