+ Reply to Thread
Results 1 to 3 of 3

Array Creation Build-out of all non-repeating 4,845 4 / 20 digit combination ?

  1. #1
    Registered User
    Join Date
    01-15-2021
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel
    Posts
    5

    Array Creation Build-out of all non-repeating 4,845 4 / 20 digit combination ?

    I have a inquiry of what i would like to perform using macros via excel. I want to create a self-generating data output of all the non-repeating permutations of a 20 object items ( i.e. digits ) ( example 1,42,46,47,) the sample of 4 digit numbers was gathered from the 20 object data set . { ,3,12,17,28,36,44,56,23,34,14,2,1,42,46,48,47,65,77,79,80 }

    I try the comb in formula in excel yet i keep getting a value## error .

    I ran across something to do with having to use VBA due to complex computations being as a such a high range of calculations ?

    Please help me out if any way you can it would be most greatly appreciated !

    - CrownstarT

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Array Creation Build-out of all non-repeating 4,845 4 / 20 digit combination ?

    Do you mean permutations or combinations? The following will generate the 116280 combinations and each will have 24 permutations. Put your numbers vertically in column A and run this macro.

    Please Login or Register  to view this content.
    Open up the VBA editor by hitting ALT F11

    Insert a new module by hitting Insert - Module

    Paste the macro into the empty sheet

    Hit ALT F11 to get back to the worksheet.

    Run the macro by going to tools-macro in Excel 2003 or the view ribbon in Excel 2007/2010/2013.
    Martin

  3. #3
    Registered User
    Join Date
    01-15-2021
    Location
    Las Vegas, NV
    MS-Off Ver
    Excel
    Posts
    5

    Re: Array Creation Build-out of all non-repeating 4,845 4 / 20 digit combination ?

    Thank you it works yet I was kind of needing it to have All combinations in array yet without Repeats ?

+ 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. 6 digit number combination
    By dorabajji in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-15-2020, 06:30 AM
  2. Use Excel to build 7 digit number combinations
    By Parka in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-01-2019, 06:45 PM
  3. [SOLVED] How to represent repeating values with a single digit
    By max333 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-06-2018, 09:02 AM
  4. Replies: 5
    Last Post: 05-20-2016, 02:54 PM
  5. 5 digit number combination sing 0-9
    By jamo31 in forum Excel General
    Replies: 36
    Last Post: 01-29-2016, 02:01 AM
  6. Permuation of 3 digit combination of 5 numbers
    By trose4540 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-31-2011, 11:52 AM
  7. 5 Digit Combination/Permutation??
    By TJD in forum Excel General
    Replies: 4
    Last Post: 07-07-2008, 01:07 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