+ Reply to Thread
Results 1 to 20 of 20

detect each corresponding number of the draw line.

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

    detect each corresponding number of the draw line.

    detect each corresponding number
    of the draw line
    goal = is to locate each number within the group
    * 01 to 25 of the yellow band
    https://www.excelforum.com/attachmen...1&d=1563900688
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: detect each corresponding number of the draw line.

    let me see if i can understand what it is that you want done. looking at this now.

  3. #3
    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,780

    Re: detect each corresponding number of the draw line.

    I gave you a formula solution for an almost identical problem quite some time ago. Search your PC for the workbook I provided for you then (it probably has AliGW in its title) and adapt the formula to suit this scenario.
    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.

  4. #4
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: detect each corresponding number of the draw line.

    so question on your workbook. in cell AI5, you have an x, but the data in row 5 does not match that. was this a mistake or intended?

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

    Re: detect each corresponding number of the draw line.

    ok sorry DMC it was a mistake
    you must delete the markup
    * at number 19 because it's not in the draw line,
    the yellow line has been placed in the order
    * vertical i already have in horizontal order
    01 02 03 04 05
    * this work is vertically = 01 06 11 16
    21
    my goal is to cross cracks in the Cartezian
    * you have to detect every number
    * correspondingly, there was an error at number 19

  6. #6
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: detect each corresponding number of the draw line.

    so i have the code to put the "x" in the correct spot. just need the count at the end and i will post.

  7. #7
    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,780

    Re: detect each corresponding number of the draw line.

    Attached is the solution I offered you almost a year ago. See if you can adapt the formula in Q6 to work for the new scenario.
    Attached Files Attached Files

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

    Re: detect each corresponding number of the draw line.

    thanks ALI but the macro
    * no good, another macro has to be done

  9. #9
    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,780

    Re: detect each corresponding number of the draw line.

    In Q5 copied across to AO5 and then down:

    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","")

    In AP5 copied down:

    =COUNTIF(Q5:AO5,"x")

    You don't have to have a macro for something simple like this.

    I am looking forward to my share of your winnings.

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

    Re: detect each corresponding number of the draw line.

    hello,ALI
    error=
    01 06 11 16 21 02 07 12 17 22 03 08 13 18 23 04 09 14 19 24 05 10 15 20 25 sum
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 15
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 16
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 17
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 18
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 19
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 20
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 21
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 22
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 23
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 24
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 25
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 26
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 27
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 28
    =IF(COUNTIF($A5:$O5,Q$4)=1,"x","") x x x x x x x x x x x x x x 29

  11. #11
    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,780

    Re: detect each corresponding number of the draw line.

    You haven't done it correctly.

    Excel 2016 (Windows) 32 bit
    Q
    R
    S
    T
    U
    V
    W
    X
    Y
    Z
    AA
    AB
    AC
    AD
    AE
    AF
    AG
    AH
    AI
    AJ
    AK
    AL
    AM
    AN
    AO
    AP
    4
    01
    06
    11
    16
    21
    02
    07
    12
    17
    22
    03
    08
    13
    18
    23
    04
    09
    14
    19
    24
    05
    10
    15
    20
    25
    sum
    5
    x x x x x x x x x x x x x x x
    15
    6
    x x x x x x x x x x x x x x x
    15
    7
    x x x x x x x x x x x x x x x
    15
    8
    x x x x x x x x x x x x x x x
    15
    9
    x x x x x x x x x x x x x x x
    15
    10
    x x x x x x x x x x x x x x x
    15
    11
    x x x x x x x x x x x x x x x
    15
    12
    x x x x x x x x x x x x x x x
    15
    13
    x x x x x x x x x x x x x x x
    15
    14
    x x x x x x x x x x x x x x x
    15
    15
    x x x x x x x x x x x x x x x
    15
    16
    x x x x x x x x x x x x x x x
    15
    17
    x x x x x x x x x x x x x x x
    15
    18
    x x x x x x x x x x x x x x x
    15
    19
    x x x x x x x x x x x x x x x
    15
    20
    x x x x x x x x x x x x x x x
    15
    21
    x x x x x x x x x x x x x x x
    15
    22
    x x x x x x x x x x x x x x x
    15
    23
    x x x x x x x x x x x x x x x
    15
    24
    x x x x x x x x x x x x x x x
    15
    25
    x x x x x x x x x x x x x x x
    15
    26
    x x x x x x x x x x x x x x x
    15
    27
    x x x x x x x x x x x x x x x
    15
    28
    x x x x x x x x x x x x x x x
    15
    29
    x x x x x x x x x x x x x x x
    15
    Sheet: Planilha1
    Attached Files Attached Files

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

    Re: detect each corresponding number of the draw line.

    ok that's ok congratulations my windows is 64 bit my excel 2016
    thank you!!! ALIGW, ok

  13. #13
    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,780

    Re: detect each corresponding number of the draw line.

    Then update your user profile, please. And mark this thread as solved.

  14. #14
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: detect each corresponding number of the draw line.

    i know this thread is solved, but took awhile to get my solution working. with some help from stackoverflow, this now works. interestingly enough, all the sums are 15.

    Please Login or Register  to view this content.

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

    Re: detect each corresponding number of the draw line.

    hello, DMC, thanks for completing the macro, it's working fine, it's always nice to have two different opinions
    of course the sum always has to be 15 because my
    * lottery (one of them) is 25/15 ie the draw is 15 numbers, must be 15 markings (x)
    * goal = is full and empty crack sequences
    * by columns and so you can see patterns,
    * When will winning any prize be rewarded? thanks DMC

  16. #16
    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,780

    Re: detect each corresponding number of the draw line.

    * When will winning any prize be rewarded?
    If it is, it won't be because of any of this stuff you've been getting us to do for you for the past five years - it will be down to luck alone. So, in reality, all of this is a complete waste of everybody's time!

  17. #17
    Valued Forum Contributor dmcgov's Avatar
    Join Date
    11-11-2015
    Location
    Florida, USA
    MS-Off Ver
    Office 365 Business
    Posts
    1,518

    Re: detect each corresponding number of the draw line.

    great, if you need any more help, let me know.

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

    Re: detect each corresponding number of the draw line.

    ALIGW, thank you!! THINK POSITIVE
    everything is 80/20.
    if you have focus is 80 and not 20

  19. #19
    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,780

    Re: detect each corresponding number of the draw line.

    Fact: you have no control over the balls that come out of the machine when the lottery is drawn.

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

    Re: detect each corresponding number of the draw line.

    "There is no such thing as luck, the divine Jew, etc. just adequate or inadequate preparation for dealing with a statistical universe."
    of course i agree that a starting point is missing
    * or base or a reference for not circling, but math can help a little with smaller prizes and the big prize comes from the ride, we haven't learned enough yet
    * to go mathematically to some extent, I agree that 100% control will never have, but prizes
    * small.

+ 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. Replies: 1
    Last Post: 07-06-2019, 08:54 AM
  2. in each draw line * detect the two empty quadruples
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2019, 08:12 AM
  3. Replies: 4
    Last Post: 03-18-2019, 02:34 PM
  4. [SOLVED] locate in the 25 letters the corresponding number in the draw line of the 20 numbers.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-08-2019, 01:17 PM
  5. [SOLVED] Calculate the number of digits in each draw line. And the frequency per position
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-03-2018, 10:27 PM
  6. Replies: 2
    Last Post: 10-09-2017, 11:26 PM
  7. [SOLVED] VBA to detect change in order number, then add a value to each 1st line of that order
    By Marijke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2013, 09:19 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