Results 1 to 4 of 4

Thread: Sequence flag
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Nov 2005
    Posts
    264
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Sequence flag

    I have no idea where to start on this one

    I have a row of columns that would contain days of a month e.g 31

    On a row I would like to flag a sequence of 15 in one cell and the next right being 9

    Ignoring all other combinations e.g 15 15. Or zero 15 or 9 15 - only to flag a 15 then next column 9. Not only flag but count these occasions if it happens a number of times in the month

    So typical sheet

    Row. 3. Columns b until af for the number of days 31 for certain month

    Each tab will be a different month

    Column A would be a persons name same row

  2. #2
    MrExcel MVP
    Join Date
    Aug 2010
    Location
    Rio de Janeiro BRAZIL
    Posts
    16,269
    Post Thanks / Like
    Mentioned
    19 Post(s)
    Tagged
    8 Thread(s)

    Default Re: Sequence flag

    Counting 15 followed by 9
    =SUMPRODUCT(--(B2:AE2=15),--(C2:AF2=9))

    M.

  3. #3
    Board Regular
    Join Date
    Nov 2005
    Posts
    264
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Sequence flag

    Of course I see my error now I used the sumproduct but used the wrong range !! Thankyou

  4. #4
    MrExcel MVP
    Join Date
    Aug 2010
    Location
    Rio de Janeiro BRAZIL
    Posts
    16,269
    Post Thanks / Like
    Mentioned
    19 Post(s)
    Tagged
    8 Thread(s)

    Default Re: Sequence flag

    You are welcome. Thanks for the feedback.

    M.

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •