Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula Help!


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

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Formula Help!

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.

--
Regards,
Tom Ogilvy

"Michael168" wrote in message
...

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.


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"