+ Reply to Thread
Results 1 to 33 of 33

detect the smallest with the highest number in each sector, forming two pairs

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

    detect the smallest with the highest number in each sector, forming two pairs

    detect the smallest with the highest number in each sector, forming two pairs
    https://www.excelforum.com/attachmen...1&d=1586555398
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Hi jorel,

    What changes in your problem? Do you get to color the boxes? Does the columns of data change? I just don't understand the problem yet. I need more explaination.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello MARVINP ok, thanks for viewing the post,
    * we have a lottery 01 to 25 (lotofacil)
    * where 15 numbers are drawn, the draws
    * are registered in the list on the left,
    it was divided into two sectors one yellow the other green
    * the macro will see in each draw line,
    * the smallest and largest number in each sector will then have two pairs
    * what is the purpose of this? = is to have the smallest and largest number in each sector, to then complete the 15 numbers within the limits of the smallest and largest numbers

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    How are the sectors determined? Is it always the 1st number yellow then the 8th number green for low and the 10th and 15th for yellow and green for high numbers?

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    no, see, the yellow sector was divided into two lines and two columns, there were 9 numbers left in the green, a draw has 15 on average, but it varies we have 9 in yellow and 6 in green, look at the edges in the matrix and in the draw, they show in the 1st draw the numbers
    * smaller 02 ......... larger 16 and so in the other sector13 .... 25 let's assume that in the sector seeing the largest number was 23 would be 13 ... 23,
    * then you set up the two pairs in the list on the side
    if I know the two pairs then I will put the rest of the numbers within the limits of each sector

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Hi jorel,

    Give me 4 rows with 15 numbers and show me the result that you want. I'm still clueless on what process you use to get your outcome. It still looks like you want in yellow (1st number, 10th number) and for green (8th number, 15th number).

    I don't get the other stuff in the middle.

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    ok hello=https://www.excelforum.com/attachment.php?attachmentid=671838&stc=1&d=1586562040
    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 the smallest with the highest number in each sector, forming two pairs

    helo
    setor 1 setor 2
    01 13
    02 14
    03 15
    04 18
    05 19
    06 20
    07 23
    08 24
    09 25
    10
    11
    12
    16
    17
    21
    22

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    you can put in two lists
    * the yellow sector and the green sector,
    and compare each row of 15 numbers
    * which is the smallest and largest number in each list
    * forming two pairs of smaller and larger, easy

  10. #10
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Hi jorel,

    I've put my answer in your workbook (attached). Tell me why it isn't correct.
    ver a maior emenor dezena por jorel.xlsx

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello MAVIMP we have an error the numbers 11 and 12 are from the yellow sector, it is not part of the green it cannot start
    * the green double, because 11 and 12 are in yellow

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    02 12 10 24
    02 19 12 25 error 10,11,12 setor yellow
    01 12 10 25
    03 14 11 23
    01 18 14 25

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    helo
    setor 1 setor 2
    01 13
    02 14
    03 15
    04 18
    05 19
    06 20
    07 23
    08 24
    09 25
    10
    11
    12
    16
    17
    21
    22

  14. #14
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Sorry jorel,
    I'm passing this off to someone who might understand the question better than I do. I have no idea how you get your "sectors" and hope someone else will understand it.

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    sectors, are the division of two groups,
    group A (YELLOW) and groupB (GREEN) because the number 12 is in green ??

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello,MarvinP the error is because you chose the same column to assemble the pairs, that's why it's wrong
    * you have to choose the smallest and the largest number
    * corresponds in each sector within the line of each draw

  17. #17
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Hi jorel,

    Rows go from left to right. Columns go up and down. I saw this problem as giving 15 numbers in the same ROW. I asked how you got those colors and I never did understand it. You have yellow and green cells but I don't know how you determined them. It may seem obvious to you but I just don't see how the sectors are selected. I gave you my first answer with a pretty easy down a COLUMN and you said I was wrong.

    I put this question out to everyone and it hasn't been solved or even been replied to from anyone else. Can you explain what you are trying to achieve again?

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello MARVINP thanks for the effort, when you understand it will be clearer and easier,
    let's take it easy inside the 5x5 matrix, we have
    * there are two groups represented by two colors, yellow and green, in yellow we have 16 numbers
    and in green the remaining 9 numbers, when a draw passes through the matrix, it will always leave the smallest and largest number in each sector - there are 4 numbers after the other 11 numbers are completed, but I need to define, the two doubles,
    then within the doubles limits I will complete
    * the 15 numbers, in your example you put in the same column as the example is wrong, you have
    * look inside each color the 1st and last number of each color

  19. #19
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Hi jorel,

    I see in your example spreadsheet in the Q-U Columns 5x5 square; you have the numbers 19 and 20 missing. Is that by mistake?

    01 02 03 04 05
    06 07 08 09 10
    11 12 13 14 15
    16 17 16 17 18
    21 22 23 24 25

    Here are the numbers in that rectangle and you have 16 and 17 twice and no 19 or 20. Did you mean to do that?
    Last edited by MarvinP; 04-11-2020 at 09:04 PM.

  20. #20
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Possibly...
    Please Login or Register  to view this content.
    Last edited by dangelor; 04-11-2020 at 11:37 PM.

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello,MARvinp yes sorry, there is a mistake,
    * the correct is 18 19, you are right,
    * I hadn't seen this repetition error, bah
    * the corret is 18 19

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    corret
    01 02 03 04 05
    06 07 08 09 10
    11 12 13 14 15
    16 17 18 19 20
    21 22 23 24 25

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello,[COLOR="#FF0000"]Dan[/COLOR]gelor, very good work, it is working correctly, when you win a prize you will be rewarded thanks for the hard work

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello, dangelor, ok thank you!!

  25. #25
    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,830

    Re: detect the smallest with the highest number in each sector, forming two pairs

    when you win a prize you will be rewarded thanks for the hard work
    IF you win a prize ... And if you do, it will be pure luck.

    Please mark the thread as solved.
    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.

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    hello ALI, think positive, these statistics in excel alone agree
    * with you, but when it crosses with other statistics it changes, look at the corona, he alone
    * it's nothing, but when it penetrates or crosses with another in this case the cell, then it almost ends up with the world,
    * for some it's over, what I mean is that
    * statistics and crossed patterns, everything happens,
    this data serves to have a panoramic view of the central range of the gauss curve, of course for several
    * events or sweepstakes, if it's just for one event
    * there luck enters the 80/20 now for several draws
    * will 20/80, when i win will i be rewarded?
    * thanks ALI

  27. #27
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Glad to help!

  28. #28
    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,830

    Re: detect the smallest with the highest number in each sector, forming two pairs

    these statistics in excel alone agree
    What statistics? You can 'prove' anything with statistics.

    You are sadly deluded. No lottery draw is influenced in any way by any previous lottery draw - it's absolutely the luck of the draw every time, and nothing else, that will determine which numbers are drawn. However, if you want to generate these rows of numbers for fun, or as an academic exercise, there's no harm in that, it just won't help you win a lottery and you should stop believing it will. I'll bet I've won more on the lottery with my weekly lucky dip numbers than you have with your carefully crafted ones.

    Have fun!

  29. #29
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Hi jorel,

    So I've got about a hour of work on your problem and you gave me the matrix wrong?
    I'm not working on your problems again!
    I am glad someone ignored your matrix and gave you a VBA answer. Hope you lotto goes well but I won't be playing.

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    ok,ALI but think of a filter where patterns happened in a certain number of previous draws, then excel can generally match the patterns that most often happen, in the central range of the gauss curve, that is, it will be different games but with the same patterns of greater frequency
    * one hour the patterns will repeat

  31. #31
    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,830

    Re: detect the smallest with the highest number in each sector, forming two pairs

    Jorel - you can find patterns in any random series of numbers if you look hard enough. No sequence is any more likely to repeat than any other, so looking for these patterns is a complete waste of time. But as I said, if you want to do it just out of curiosity, that's your prerogative.

  32. #32
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: detect the smallest with the highest number in each sector, forming two pairs

    If the patters repeat then the randomness of your random number generator aren't very good. Here are some tests to give your lotto.
    https://www.drdobbs.com/testing-rand...tors/184403185
    https://ezinearticles.com/?How-To-An...tem&id=8662808

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

    Re: detect the smallest with the highest number in each sector, forming two pairs

    ok MARVINP,very good article, the great difficulty in lotteries is to find a reference point, or a base, we can then using the drawings already passed
    * to filter, see patterns, and repetition counts etc, to set up up to 80% of the bet line = example in a 49/6 lottery the set of 4 numbers, the other two can give a maximum prize, the important thing are secondary prizes frequently

+ 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] help in excel, detect the largest and smallest digit of pick3 zero is the smallest digit *
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-13-2020, 06:14 AM
  2. detect the corresponding sector numbers from 06 to 20 on each draw line
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-03-2019, 08:23 AM
  3. detect in each sector its corresponding number.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-26-2019, 02:24 PM
  4. [SOLVED] detect in each sector the corresponding numbers and add the quantity.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-07-2019, 02:54 AM
  5. detect in pairs only those with 2 numbers and zero.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2019, 11:11 AM
  6. please, detect in the 100 pairs, the pairs of the 16 patterns,
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2019, 06:07 AM
  7. Sort Largest to Smallest For Column Pairs
    By bluestarcloudx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2012, 08:19 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