Results 1 to 9 of 9

count the number of consecutive values >=2

Threaded View

jomuir count the number of... 06-14-2011, 10:25 AM
Blake 7 Re: count the number of... 06-14-2011, 10:30 AM
daddylonglegs Re: count the number of... 06-14-2011, 10:43 AM
jomuir Re: count the number of... 06-14-2011, 10:59 AM
Colin Legg Re: count the number of... 06-14-2011, 11:10 AM
jomuir Re: count the number of... 06-14-2011, 11:16 AM
alecsis13 Re: count the number of... 03-20-2013, 08:10 AM
rancona Re: count the number of... 03-03-2017, 05:04 AM
deciog Re: count the number of... 03-03-2017, 12:59 PM
  1. #1
    Registered User
    Join Date
    06-14-2011
    Location
    Scotland
    MS-Off Ver
    Excel 2019 & MS365
    Posts
    15

    count the number of consecutive values >=2

    I would like to count the number of consecutive values >=2 in a row.

    Eg:-
    1 2 3 2 3 2 2 2 2 1 1 1 3 3 2 2 1 1

    The returned value would be 8, because the 2nd to the 9th figure are all greater or equal to 2

    OR

    1 2 3 1 2 1 3 2 1 3 2 3 4 3 1 2 3 1

    The returned value would be 5, because the 10th to the 14th figure are all greater or equal to 2
    Last edited by jomuir; 06-14-2011 at 11:20 AM.

Thread Information

Users Browsing this Thread

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

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