+ Reply to Thread
Results 1 to 17 of 17

detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

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

    detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers. objective is to identify sequences of 2,3,4,5,6,7,8,9. without interruption between the numbers in the two sectors
    ex 01 02 06 07 09 .....
    01 06 11 16 15 20 25 .... etc
    https://www.excelforum.com/attachmen...1&d=1609703576
    Attached Files Attached Files

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    Seems your data is already sorted, you can try this formula:
    Please Login or Register  to view this content.
    Put in maybe cell P6, and copy down. Anything that is not giving an error = uninterrupted sequences of 2,3,4,5,6,7,8,9
    多么想要告诉你 我好喜欢你

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    in the indicated place the formula is not working

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,159

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    Indicated place?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    hello,aligw , cell p6

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,159

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    Define "not working".

  7. #7
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,012

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    Can you explain the blue section? Those numbers aren't in any sequence I can fathom. Also, why doesn't Y6 have an X in it?
    Everyone who confuses correlation and causation ends up dead.

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    hello rorya, thanks for viewing the post ok come on =
    look at the matrix of that lottery
    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
    this is the lottery matrix being treated,
    in blue is the vertical sequence, ok
    look in the 1st vertical position é = 01 06 11 16 21
    in yellow it is the horizontal sequence and in blue it is in the vertical carteziano type, 15 numbers are drawn in
    25 of the matrix, I need the sequences of 2,3,4,5,6,7,8,9 ... horizontally (yellow) and vertically in blue, to later assemble the carteziano

  9. #9
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,012

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    I'm sure that makes sense to you, but it doesn't to me, so I'll leave it for others who enjoy this kind of lottery work.

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    but in the blue sector the macro will see in the draw the uninterrupted sequence as in the yellow and mark
    with x or other shape, it can be colors

  11. #11
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,278

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    @jorel,

    If you see that others do not understand your "oral/verbal explanation in writing", include an adequate example in the 'xls' file and maybe additionally graphic in the image.
    This what you showed in the file does not "carry" any specific information about how the macro should act on this data.
    In the 'zip' file there is an image of what I tried to understand (like others) from your description.
    Question marks mean what I (and others ?) don't understand, e.g.:
    Where will the numbers to be searched ?
    Where will the search numbers be marked ?
    Where to look for them ?
    Etc.
    Attached Files Attached Files

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    hello PORUCHA, thanks for viewing the post, well we have the horizontal strings from 01 to 25
    and the vertical sequences, that is, two sectors, the macro or formula, will detect uninterrupted sequences of 2,3,4,5,6,7,8,9 numbers in a row,
    objective is to find horizontal and vertical sequences

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    I MILIZ ,believe that it is missing, something only with this formula does not search. See if you can get the complete formula

  14. #14
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,278

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    ... one more time ...

    Should it look like the image below ?

    1. We enter some numbers in the yellow field and the macro should search for this string in rows in the range of cells "$A$6:$O$2101" ?

    2. We enter some numbers in the blue field and the macro should search for this string in columns in the range of cells "$A$6:$O$2101" ?
    Attached Files Attached Files

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    yes, PORUCHA, it is correct, but in the blue sector, and not in the list of draws to look for from the uninterrupted strings, it must be in both sectors

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.

    hello, PORUCHA . OK,question 1, and 2, your thinking is correct, you can do it as explained in the image, ok, yes for 1 and 2

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

    Re: detect uninterrupted sequences of 2,3,4,5,6,7,8,9 ... numbers.


+ 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] detect each corresponding number and highlight a color the sequences 2,3,4,5,6,7 .....
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2020, 05:06 PM
  2. detect within the 8 trios in sequences the sequences in the red color
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2019, 04:34 PM
  3. Count length of sequences of negative numbers
    By cad1llac in forum Excel General
    Replies: 15
    Last Post: 08-06-2015, 01:45 PM
  4. Sequences of positive and negative numbers in array
    By papayagirl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2013, 08:42 PM
  5. Search for a string different sequences same numbers in array
    By ricklou in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-19-2012, 10:18 AM
  6. Counting sequences in a long series of numbers
    By Natim9 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-11-2008, 05:20 PM
  7. Add sequences of positive then negative numbers
    By judoist in forum Excel General
    Replies: 6
    Last Post: 11-26-2005, 01:51 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