Formula Help!

M

Michael168

Column A1:A7 contains "A" to "G"
Column C1:C7 contains "A" to "G"
Using the combin formula combin(14,2)=91

How to produce all the combinations in columns E row by row?

e.g. in E1=A,A
E2=A,B until E91=G,G

Can someone advise the formula.

Thank you for helping
 
T

Tom Ogilvy

there are not 91 combinations. There are 7 x 7 = 49 combinations.

In E1 put

=OFFSET($A$1,TRUNC((ROW()-1)/7),0)& ", " & OFFSET($C$1,MOD(ROW()-1,7),0)

then drag fill down.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top