+ Reply to Thread
Results 1 to 12 of 12

Result X, when a group of 1 2 3 4 in red exists.

  1. #1
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    515

    Lightbulb Result X, when a group of 1 2 3 4 in red exists.

    Hello all,

    I hope I explain this properly.
    In col H, I am wanting to get a macro or function that results X, to find the following criteria.

    In col G there are numbers only from 1 to 16, there will be numbers up to 24.
    The numbers in col G, <=4 are all in red

    I am wanting to find the minimum number of 3 red numbers grouped per each individual race.
    A group as I will refer it as can also have a gap, but one gap only between any of the four numbers 1 2 3 4..

    I have resulted this sheet in col H, all the races that should if I have explained myself properly all the criteria above.

    Im sure that I have missed something or have not taken into accout something completely over my head.
    Meaning not asking correct question, but please let me know if im missing something.

    The races not marked with X, should have the numbers 1 2 3 4 in red quite spaced apart.

    Happy to reply to any questions.
    Thanks.
    Attached Files Attached Files
    I am grateful for all answers to my questions .
    Also i give a reputation even if not answered .

  2. #2
    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
    30,892

    Re: Result X, when a group of 1 2 3 4 in red exists.

    Delete delete
    Last edited by JohnTopley; 04-04-2025 at 03:22 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    515

    Re: Result X, when a group of 1 2 3 4 in red exists.

    John, My ID rows 15 to 19 there are the 4 red numbers separated by what I call a gap, in that gap is the number 6.

    Caulfield race 4 my ID rows 29 to 32 there are two numbers then a 6 with the number 4.
    So, in both cases there are two red numbers separated by a number >=5, this is seen as a block of three.
    When there are 3 or 4 red numbers in a block these are of course very easy to see, it's the ones as mentioned above where I get the eye strain, if you know what I mean.
    Thanks.

  4. #4
    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
    30,892

    Re: Result X, when a group of 1 2 3 4 in red exists.

    Please Login or Register  to view this content.

    Macro tested on sheet "TEST"
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    515

    Re: Result X, when a group of 1 2 3 4 in red exists.

    Good progress.
    In this v2 sheet, I have entered in col S where I see errors or not resulting x. Just filter xxx.

    I can see that your macro is finding the blocks of three red numbers and also a block of two, gap or number >=5, then another red number.

    Just need it to result col S xxx errors of course. Macro quick button also added.

    Thanks.
    Attached Files Attached Files

  6. #6
    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
    30,892

    Re: Result X, when a group of 1 2 3 4 in red exists.

    See attached in sheet TEST
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    515

    Re: Result X, when a group of 1 2 3 4 in red exists.

    I make it there should be 252 x rows when X is filtered in my 1st post.
    Your first macro counted 94 times.
    Your latest sheet counts 44 x.

    What would a macro look like if we only looking for blocks of red numbers>=3, so it would find either a block of three or four numbers only.
    Thanks.

  8. #8
    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
    30,892

    Re: Result X, when a group of 1 2 3 4 in red exists.

    Latest sheet has 94 (column H of TEST) so I have no idea how you get 44.

    252 x rows when X is filtered in my 1st post.
    but these included your "errors".

    I suspect all this analysis is of little value anyway in that it does not significantly increase the chances of winning!
    Last edited by JohnTopley; 04-06-2025 at 07:44 AM.

  9. #9
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    515

    Re: Result X, when a group of 1 2 3 4 in red exists.

    Ok, thanks John, I do hear what you're saying.
    My reasoning is based on what calculations I have worked in a race, and over 630,00 rows in an excel sheet, with nearly 59,000 wins as evidence. Which is probably
    nearly 99.9% accurate, as I have spent the last 23 years making sure it was.
    So, what can happen with my quite accurate stats is that my calculations can produce basically a clump of red numbers, that are quite grouped together and quite frequent.
    So that is what I'm trying to produce.
    All of my posts are out there, because they are sort of technical, they are always now based around my same cols. Mostly 90%. I know now to concentrate on the significant areas, this is one.
    I don't want to drop this, because you have produced extremely accurate results before.
    Thanks.

  10. #10
    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
    30,892

    Re: Result X, when a group of 1 2 3 4 in red exists.

    ...so where does this leave the results produced... are they correct?

  11. #11
    Forum Contributor
    Join Date
    12-12-2017
    Location
    New Zealand
    MS-Off Ver
    MS 365
    Posts
    515

    Re: Result X, when a group of 1 2 3 4 in red exists.

    Thanks John, let me come back to you with this and I will come up with a good scenario for you which I will improve again in my questioning and doubting in what I am asking. Thank you.

  12. #12
    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
    30,892

    Re: Result X, when a group of 1 2 3 4 in red exists.

    On standby!

+ 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: 5
    Last Post: 02-15-2018, 02:05 PM
  2. [SOLVED] Select silimir result and group it
    By mazan2010 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-19-2016, 09:53 AM
  3. Replies: 3
    Last Post: 09-25-2015, 11:34 AM
  4. Vlookup where more than one result exists
    By elmuziko in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-06-2013, 10:29 AM
  5. Replies: 1
    Last Post: 05-16-2009, 02:29 AM
  6. Replies: 11
    Last Post: 05-06-2009, 06:08 AM
  7. result based on pivot date group
    By salk31 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-10-2009, 10:43 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