+ Reply to Thread
Results 1 to 7 of 7

Current and maximum Streak based on single row

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Current and maximum Streak based on single row

    Screenshot attached, I would like AG and AH to show streaks based on Y or N. Example for the screenshot: AG (CURRENT) should = 4, AH (BEST) should = 4

    Thank you for any help!
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Current and maximum Streak based on single row

    The macro is setup for the first sheet
    the YNNNY string is on the 3rd row

    Output is a few lines below

    Please Login or Register  to view this content.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Current and maximum Streak based on single row

    If you would like a formula approach array enter this in AG2. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and array enter this in AH2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    O
    P
    Q
    R
    S
    T
    U
    V
    W
    X
    Y
    Z
    AA
    AB
    AC
    AD
    AE
    AF
    AG
    AH
    1
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    Current
    Best
    2
    Daily language learning
    N
    Y
    N
    Y
    Y
    N
    N
    Y
    Y
    Y
    Y
    4
    4
    3
    Dave

  4. #4
    Registered User
    Join Date
    08-29-2013
    Location
    Canada
    MS-Off Ver
    Excel 2016
    Posts
    67

    Re: Current and maximum Streak based on single row

    Thank you!!

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Current and maximum Streak based on single row

    You are welcome. Thank you for the feedback, rep and marking this thread Solved.

  6. #6
    Registered User
    Join Date
    03-27-2018
    Location
    Manchester, England
    MS-Off Ver
    2016
    Posts
    76

    Re: Current and maximum Streak based on single row

    Hi, apologies as I realize this isn't my original post, however my problem is the same but the suggested formula is producing '#NA' for current and '0' for the longest.
    Ive attached an example workbook. The issue is on ELO! and to the far right of that sheet.
    Oh and I did use ctrl, shift + enter.

    Any help is appreciated.

    Matt
    Attached Files Attached Files

  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
    79,369

    Re: Current and maximum Streak based on single row

    I am sorry, Matt.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    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.

+ 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. Longest streak and current streak if data are placed in two columns
    By Lehoi in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-06-2016, 01:29 AM
  2. Calculating win streak and maximum win streaks
    By rockp3nguin in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-14-2016, 11:34 AM
  3. Calculating win streak and maximum win streaks
    By rockp3nguin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-13-2016, 04:16 PM
  4. Current Streak for sports teams
    By bluedabba in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-18-2015, 07:45 AM
  5. [SOLVED] current streak
    By rumihasj in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-07-2014, 01:45 PM
  6. Last X games, Max Win and Loss streak, current streak with Excel formulas
    By Biogeek1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-12-2013, 11:00 AM
  7. CURRENT Win/Loss Streak
    By lil_ern63 in forum Excel General
    Replies: 14
    Last Post: 10-19-2011, 06:54 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