+ Reply to Thread
Results 1 to 8 of 8

separate the last digit into threes, then detect one of the 6 largest patterns.

  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    separate the last digit into threes, then detect one of the 6 largest patterns.

    separate the last digit into threes, then
    detect one of the 6 largest patterns
    * minor and medium
    * where
    * largest is 3
    average = 2
    smaller = 1
    example 453 =
    the digit 5 in the 2nd position is the largest then it is 3
    3rd digit is smaller = 1 and 1st digit is average =
    2
    then 453 = 231
    https://www.excelforum.com/attachmen...1&d=1569184145
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    three patterns 123
    smaller = 1 132
    medium = 2 213
    greater = 3 231
    312
    321

  3. #3
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    smaller=1
    medium=2
    greater=3
    6 paterns in 100%
    123
    132
    213
    231
    312
    321

  4. #4
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    hello please!!!

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    I believe that the following will do what you want:
    1. The digits are separated using: =MOD(A10,10)
    2. The patterns are assigned using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,416

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    Quote Originally Posted by jorel View Post
    smaller=1
    medium=2
    greater=3
    6 paterns in 100%
    123
    132
    213
    231
    312
    321
    Question: What if there are ties?

    For example, what would be the pattern for these...

    225

    733

    666

  7. #7
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,175

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    hello JETE, excellent, great job, perfect, on the question, is few
    * times that happens in the formula would be the value of
    * False (O) but this event is 3% against 97%, so it was very good, thanks jete

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: separate the last digit into threes, then detect one of the 6 largest patterns.

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. detect the 4 patterns only **
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2019, 12:08 PM
  2. detect doubles, threes, quadruples * of the code 01 02 03 04 05 .
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2019, 10:41 AM
  3. [SOLVED] separate into 5 threes each draw line.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 08-27-2019, 05:48 PM
  4. Replies: 8
    Last Post: 08-04-2019, 10:07 AM
  5. [SOLVED] separate the 5 triplets and detect the 8 matching odd / even patterns.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2019, 05:27 PM
  6. [SOLVED] detect the 4 patterns * after separating the last digit
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-21-2019, 10:38 AM
  7. detect the 3 patterns, bigger smaller and equal with the colors.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-15-2019, 07:10 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