+ Reply to Thread
Results 1 to 6 of 6

Displaying all number patterns

  1. #1
    Registered User
    Join Date
    06-16-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    138

    Displaying all number patterns

    Can someone help with this?

    I have numbers 1 in A1, 2 in A2, 3 in A3, 4 in A4 & 5 in A5.

    I want to be able to show every number pattern from 1 to 5 in the rest of the sheet.
    At a guess I would say there is maybe 10 to 20 different patterns.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    07-16-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Displaying all number patterns

    Hi

    If its Permutation nPr then 120 combinations, Combination nCr =1

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,578

    Re: Displaying all number patterns

    Can you use the same number more than once?
    i.e A1=1, A2=2, etc then 12123 is a possible permutation or can only use each once and must use all 5 (i.e. 1234 is not acceptable)?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    06-16-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    138

    Re: Displaying all number patterns

    As an example I would have 54321 in B1:B5, 12453 in C1:C5, 42315 in D1:D5 and so on.
    All numbers have to be different.

  5. #5
    Forum Contributor
    Join Date
    07-16-2015
    Location
    Aberdeen, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: Displaying all number patterns

    Hi

    Ive attached a sheet with the 120 permutations of 5 from 5 manually, if you required it generated by excel then i suspect
    it will require VBA which im not famoliar with.

    Hope this helps
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-16-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    138

    Re: Displaying all number patterns

    That's great Forestview.
    Much appreciated.

+ 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. Number Patterns
    By jsherwo in forum Excel General
    Replies: 2
    Last Post: 04-16-2019, 08:37 PM
  2. [SOLVED] please!!! locate the 18 patterns of the number quantities of the 3 letters.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-05-2018, 11:15 AM
  3. How to subtract in multiple number patterns
    By jeffmic in forum Excel General
    Replies: 10
    Last Post: 07-16-2017, 09:55 PM
  4. [SOLVED] Count the number patterns that occur within a rolling 12 month period
    By C J W in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-19-2017, 09:18 PM
  5. Macro For Advance Math Sequences In Finding Number Patterns or Missiing Numbers
    By Daddy007 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2016, 06:44 PM
  6. [SOLVED] Check multiple columns to see if they start with certain number patterns
    By Mixcels in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-05-2014, 11:41 AM
  7. Replies: 2
    Last Post: 03-21-2005, 11:06 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