Closed Thread
Results 1 to 5 of 5

Find/count consecutive entries in a row in excel.

  1. #1
    Registered User
    Join Date
    10-02-2021
    Location
    UAE
    MS-Off Ver
    2010, 2019, MS 365
    Posts
    17

    Find/count consecutive entries in a row in excel.

    Hi everyone,

    I had a rather intriguing excel question for the forum.

    My basic idea is to find the most number of days a person has been scoring lesser than 1 and of course it resets if he/she able to get 1 or above on a certain day. Therefore each value on a row is per day basis. (column means dates)

    I also want blanks to be considered as 0.

    Help me out, Please. <3

    real example: # 0.1 0.2 1 1.1 2 is the first row where '#' is blank, anything less than 1 should be counted and the first occurrence of 1 or above value resets the count and counter starts again from that spot onwards, while ignoring all before it.

    # # 1.1 2 --> gives 2
    0.1 # 0.2 2 --> gives 3
    ## 0.1 1.1 0.1 --> gives 1
    if no other choice then I can replace all blanks with '0' too coz the minimum score is 0.1 and maximum is 2.(possible values being 0.1, 0.2, 1, 1.1, 2)

    NOTE: I am currently using OneDrive sheets (Web version), so please check if your answer works there too.

    my first row is D4:AH4

    GeoffW28 had helped me on a previous post regarding the same topic but had to close that coz it changed from the initial description. His solution goes like this.

    Please Login or Register  to view this content.
    Put the formula in C8 and your numbers in row-8 starting at col-C.
    The above solution he suggested implies that I replace all blanks with '0' since the minimum value is 0.1, '0' has no other meaning. So his solution works perfectly for my scenario but only in MS Excel. I tried the solution on onedrive sheets and its not accepting the formula.

    So you guys can either work on the above solution to make it acceptable on onedrive or give me an alternative.

    Thank you so much if you made it this far and I really appreciate the time and effort anyone puts into this. Peace!!

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

    Re: Find/count consecutive entries in a row in excel.

    When you say OneDrive Sheets, what do you mean? OneDrive is storage - do you mean Google Sheets?
    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.

  3. #3
    Registered User
    Join Date
    10-02-2021
    Location
    UAE
    MS-Off Ver
    2010, 2019, MS 365
    Posts
    17

    Re: Find/count consecutive entries in a row in excel.

    The link goes like this

    onedrive.live....

    and it login using microsoft credentials. I just meant its a web version, maybe its the same as google sheets. I am not sure. XD
    Last edited by AliGW; 10-04-2021 at 03:20 AM. Reason: PLEASE don't quote unnecessarily!

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

    Re: Find/count consecutive entries in a row in excel.

    No, it's not. OneDrive is Microsoft cloud storage.

    and it login using microsoft credentials
    So the workbook you have saved there can be edited in any version of Excel: do you now have MS365 or are you still using Excel 2019? Maybe you have MS 365 Web Apps?

    You really need to understand what you are using, otherwise it causes confusion here. Based on your latest information, I am moving this back to the Excel section. Please make sure that you fully understand your own set-up, as you may be asked questions about it again in future!

    NOTE: I am currently using OneDrive sheets (Web version), so please check if your answer works there too.
    This is something YOU will need to do. Not all of your helpers will have exactly the same set-up as you. This is why it's vital you understand what you have.
    Last edited by AliGW; 10-04-2021 at 03:24 AM.

  5. #5
    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,460

    Re: Find/count consecutive entries in a row in excel.

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...-in-excel.html

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Find/count consecutive entries in a row in excel
    By reliableboy2 in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 10-04-2021, 08:35 AM
  2. Count consecutive > zero, ignore zero count consecutive > zero next cell
    By karl.smith in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-16-2020, 07:58 AM
  3. Find count of unique entries using vba
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 11-25-2019, 03:31 AM
  4. [SOLVED] Find last occurance of value in column and count entries below
    By terratushi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2019, 02:50 PM
  5. Replies: 1
    Last Post: 03-20-2015, 03:56 AM
  6. How to find the maximum count of consecutive occurances in an excel range
    By manojsinha2006 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-20-2015, 03:47 AM
  7. [SOLVED] Counting the number of entries in a column (but only once for consecutive entries)
    By 11416498 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-30-2014, 09:36 AM

Tags for this Thread

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