+ Reply to Thread
Results 1 to 10 of 10

All possibility combinations 7 numbers from 18 numbers

  1. #1
    Registered User
    Join Date
    08-28-2023
    Location
    Israel
    MS-Off Ver
    2019
    Posts
    9

    All possibility combinations 7 numbers from 18 numbers

    Hi all,
    I need help find all possibility combinations of 7 numbers from 18 knowing numbers?

    Thanks,
    Attached Images Attached Images

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,921

    Re: All possibility combinations 7 numbers from 18 numbers

    Which seven numbers???
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-28-2023
    Location
    Israel
    MS-Off Ver
    2019
    Posts
    9

    Re: All possibility combinations 7 numbers from 18 numbers

    Hi,
    The all combinations of 7 numbers from knowing 18 numbers, for example:
    36,38,40,42,44,46,48
    36,38,40,42,44,46,50
    36,38,40,42,44,46,52 .....

    Thanks,

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: All possibility combinations 7 numbers from 18 numbers

    See attached: Sheet2
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Registered User
    Join Date
    08-28-2023
    Location
    Israel
    MS-Off Ver
    2019
    Posts
    9

    Re: All possibility combinations 7 numbers from 18 numbers

    Thanks,
    Do you have formula for it, or you did it with micro?

    BR

  6. #6
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: All possibility combinations 7 numbers from 18 numbers

    the below will work on newer versions of excel. but presents results slightly differently as as has a column for each number


    https://www.get-digital-help.com/how...in-function/#5

  7. #7
    Registered User
    Join Date
    08-28-2023
    Location
    Israel
    MS-Off Ver
    2019
    Posts
    9

    Re: All possibility combinations 7 numbers from 18 numbers

    Wow, it's great, with explanation.
    Thanks a lot.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: All possibility combinations 7 numbers from 18 numbers

    Macro which will do Permuations or Combinations: parameters in Sheet1

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,435

    Re: All possibility combinations 7 numbers from 18 numbers

    Just for the fun:

    If you update to Excel 365 a solution with this formula is also possible:

    Please put the 18 numbers in A1:R1 and try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Response time to find all the 31,824 combinations is on my laptop about 3 seconds.
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    10-11-2021
    Location
    Netherlands
    MS-Off Ver
    365
    Posts
    1,386

    Re: All possibility combinations 7 numbers from 18 numbers

    Combinations in VBA (recursive) based on John's file. Output is in separated cells.

    Please Login or Register  to view this content.

+ 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. [SOLVED] To find all combinations of numbers from list of numbers that adds upto a specified number
    By Vivek2705 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-07-2019, 06:33 AM
  2. All possible combinations between 11 numbers
    By pandeirada in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-18-2016, 03:20 PM
  3. getting all possible set combinations of a set of numbers
    By juares castro in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-12-2015, 04:04 PM
  4. please help!!ALL COMBINATIONS REQUIRED FOR 5-DIGIT NUMBERs using numbers 0-9
    By natasha mirembe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2014, 01:43 PM
  5. [SOLVED] Different Combinations of 24 Numbers
    By danedw in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-20-2013, 07:03 AM
  6. Replies: 1
    Last Post: 04-15-2012, 09:23 AM
  7. [SOLVED] possibility of pasting numbers with negative sign placed after
    By Alain in forum Excel General
    Replies: 2
    Last Post: 08-10-2006, 02:55 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