+ Reply to Thread
Results 1 to 20 of 20

separate the endings and then detect the 4 patterns, and add the amounts of the last digit

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

    separate the endings and then detect the 4 patterns, and add the amounts of the last digit

    separate the endings and then detect the 4 patterns, and add the amounts of the last digit or ending from 0 to 9
    https://www.excelforum.com/attachmen...1&d=1730540089
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    46,964

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    This, copied as required across, and copied down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    46,964

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    If you need VBA, just use it to drop the formula wherever necessary and convert to values.

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello=2 3 5 6 9 0 1 3 4 6 8 0 3 4 5 2 1 2 5 2 1 3 1 3 4 2 0 1 3
    1 4 5 6 7 9 ...
    0 5 5 6 5 18 1 3 4 6 8 0 3 4 5 2 1 3 6 2 1 3 2 1 3 0 2 1 3
    -1 6 5 6 3 27 ...
    -2 7 5 6 1 36 1 3 4 6 8 0 3 4 5 1 2 2 5 1 1 2 2 2 4 2 0 2 4
    -3 8 5 6 -1 45 ...
    -4 9 5 6 -3 54 1 3 4 6 8 0 3 4 5 1 2 2 5 1 2 3 2 1 3 2 1 1 4
    -5 10 5 6 -5 63 ...
    -6 11 5 6 -7 72 1 3 4 6 8 0 3 4 5 2 0 2 4 1 0 1 2 2 4 3 1 2 6
    -7 12 5 6 -9 81 ...
    -8 13 5 6 -11 90 1 3 4 6 8 0 3 4 5 2 3 1 6 2 1 3 1 1 2 1 1 2 4
    -9 14 5 6 -13 99 ...
    -10 15 5 6 -15 108 1 3 4 6 8 0 3 4 5 1 0 1 2 2 1 3 1 3 4 2 2 2 6
    -11 16 5 6 -17 117 ...
    -12 17 5 6 -19 126 1 3 4 6 8 0 3 4 5 1 2 2 5 2 2 4 2 1 3 2 0 1 3

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    Hello,TMS! we have a problem. The formula is taking doubles, like 36, 45, etc. It can't be done because it's just one last digit. There are errors in the formula. Can you fix it?

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello TMS! the error is here = There where there are 36, 45 there is no formula.
    The formulas are only between AJ and AV
    The input numbers have to be 15 endings with only one digit

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    46,964

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    Not sure I understand.

    Here's the sample file, partially updated (too much data/too many rows).
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2410
    Posts
    185

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    Two digit number text -> last 1 digit number -> sum by pattern
    There is no need Q:AE, you can convert directly, no matter how many digit.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello,tms and rhis!!,thanks for seeing the post now it is correct,perfect congratulations,thanks you

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    46,964

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    You're welcome.



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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon (Next to Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    Hello, TMS and Rhis, is it possible to count the suits (value of the 4 sums together) how many times each suit has been drawn, the objective is to see which suits are late,
    in the list in green are all the possible suits
    it was only possible to put the list after doing the 1st part of the suits
    https://www.excelforum.com/attachmen...1&d=1730622024
    Attached Files Attached Files

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    46,964

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    No idea how you have come up with that, other than it is the SUMs of the previous blocks.

    You're not giving enough in the way of expected results or the calculation methods.

  13. #13
    Registered User
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2410
    Posts
    185

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    I couldn't catch anything in green numbers.
    Please explain your calculation method.

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello tms amd rhis,ok I'll explain, in the green list, it's the combination of each of the 4 sums are all the suits or set of sums, in a group in the referred position are all the possible suits 98% of them from this list the macro will see example 5343 has already been drawn x times, the objective is to see which suits are drawn the most, and see their delays, you have to make the entire list of draws (it's already ready) when I go to put new draws the macro will do it automatically

  15. #15
    Registered User
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2410
    Posts
    185

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    I didn't understand you explain.
    If you want RED cell numbers directly,
    you can use this formula, reference data should be above.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    스크린샷 2024-11-04 134321.png
    Attached Files Attached Files

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello,RHIS! almost there, the green list are all the possible suits in red, the macro has to see which red suits are drawn most often, example = red suit = 5343 has already been drawn 120 times (it's just an example) another example red suit 4533 has already been drawn x times, the green list is the combination of all suits

  17. #17
    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
    29,968

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    in BC5

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    copydown
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  18. #18
    Registered User
    Join Date
    11-01-2024
    Location
    Korea
    MS-Off Ver
    M365 64bit v2410
    Posts
    185

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    Please remind, I speak KOREAN not ENGLISH...
    I cannot understand your explain, make it simple,
    do you want to get green colored numbers or any other numbers?

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello RHIS!green numbers is the list of the total of the suits, or group of the sum ok, in the reds the macro will see the number of draws that occurred in each formation of the red suits

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

    Re: separate the endings and then detect the 4 patterns, and add the amounts of the last d

    hello john, rhis tms !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. [SOLVED] separate the last digit and detect the 4 patterns
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-15-2024, 12:01 PM
  2. [SOLVED] detect the 4 patterns and add the amounts in each pattern
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2022, 09:49 AM
  3. separate the last digit, and detect in the 7 patterns.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2020, 10:39 AM
  4. [SOLVED] separate the last digit, and detect in the 4 patterns the sum of each
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-16-2020, 08:49 AM
  5. [SOLVED] separate the last digit into 5 cracks, * and detect the 8 possible patterns
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-17-2020, 09:28 AM
  6. [SOLVED] separate the last digit into threes, then detect one of the 6 largest patterns.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-27-2019, 09:54 AM
  7. [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

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