+ Reply to Thread
Results 1 to 4 of 4

Non repeating combinations in Excel

  1. #1
    Registered User
    Join Date
    09-01-2013
    Location
    Sao Paulo, Brazil
    MS-Off Ver
    Excel 2007
    Posts
    5

    Non repeating combinations in Excel

    Guys,

    is there any way to obtain non repeating combinations in Excel?

    Ex: I have 15 numbers in cells A2 to O2 (with A2=1, B2=2, ... O2=15).

    Iīm trying to make Excel write to cells A3 to O3 non repeating combinations.
    Order doesnīt matter.

    However, the number of cells populated do matter.
    So, for example, I would like to obtain in A3 to O3
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    1 2 3 4 5 6 7 8 9 10 11 12 13 14
    1 2 3 4 5 6 7 8 9 10 11 12 13 15
    1 2 3 4 5 6 7 8 9 10 12 13 14 15
    and so on.


    The idea is that every time Excel writes A3 to O3 the new combination I would have another macro using this values, so:

    (if Iīm correct)

    1) It would need to be a loop

    or

    2) I would need to have all combinations pasted in cells (the first combination in A3:O3, the second combination in A4:O4, and so on).

    Thanks for the help!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Non repeating combinations in Excel

    Please take a few minutes to read the forum rules about cross-posting.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-01-2013
    Location
    Sao Paulo, Brazil
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Non repeating combinations in Excel

    I didnīt know that.

    In order to comply with the forum rules, here is the link for the other post.

    http://www.mrexcel.com/forum/excel-q...ml#post3575205
    Last edited by alancardoso; 09-14-2013 at 11:53 AM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Non repeating combinations in Excel

    Thank you.

+ 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. how to generate combinations in excel
    By harleydats in forum Excel General
    Replies: 5
    Last Post: 03-07-2015, 06:29 AM
  2. Excel Combinations
    By mariolspeter in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-23-2013, 03:29 AM
  3. Finding possible combinations & listing the wanted combinations
    By Zoke in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 07-16-2012, 03:41 PM
  4. creating a repeating formula that doesn't show repeating values
    By cybershot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-09-2010, 06:12 PM
  5. Generate Combinations in Excel
    By newbie1234 in forum Excel General
    Replies: 3
    Last Post: 01-16-2009, 02:37 PM

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