+ Reply to Thread
Results 1 to 29 of 29

Find/count consecutive entries in a row in excel

Hybrid View

  1. #1
    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,186

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

    Your range starts in column D (the FOURTH column). Therefore, in the section that returns the column of the array, you need to take away 3 so that it starts counting at 1 instead of 4 (i.e. D=1, E=2, etc.).

    Also why do I get negative results on some cells
    No idea. I haven't bothered trying to get my head around the exact nature of what it is you are trying to do, just the mechanics of the formula.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Last edited by AliGW; 10-04-2021 at 07:49 AM.
    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.

  2. #2
    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 negative numbers can be fixed if blanks are replaced with 0 and only if those blanks appear behind the last trigger value in any row. Blanks after it are ignored.

    Capture.PNG

    And that solves my problem 99% (the remaining 1% being able to keep blanks as it is), but its something I can manage. Thanks once again to everyone who spent time on this and helped me with this. Thanks to the moderator who helped remove all the clutters and kept this post clean.

    Have a nice day.

+ 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. 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
  2. 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
  3. [SOLVED] Count Consecutive & Non consecutive days per given logic
    By asimraza89 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-26-2019, 04:31 PM
  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