+ Reply to Thread
Results 1 to 2 of 2

I Need Help with Counting Consecutive Cells

Hybrid View

  1. #1
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,909

    Re: I Need Help with Counting Consecutive Cells

    See attached.

    Formula in Column B records count of blanks between values.

    Put in B2

    =IF($A1<>"",IF(COUNTA($A2:$A1000),MATCH(TRUE,$A2:$A1000<>"",0)-1,""),0)

    Enter with Ctrl+Shift+Enter

    Copy down as required

    Formula in D1 extracts counts > 1 and puts them in the row,

    in D1

    =IFERROR(INDEX($B$1:$B$16,SMALL(IF($B$1:$B$16>1,ROW($B$1:$B$16)-ROW($B$1)+1,""),COLUMNS($A$1:A1))),"")

    Enter with Ctrl+Shift+Enter


    Drag formula across row as required
    Attached Files Attached Files

+ 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. [SOLVED] counting consecutive cells
    By josh101287 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-21-2015, 06:04 AM
  2. Replies: 6
    Last Post: 02-13-2015, 08:47 AM
  3. [SOLVED] Counting consecutive cells in a row
    By her.rockstar in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-04-2013, 12:44 PM
  4. Counting of consecutive cells
    By wolis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2012, 10:40 AM
  5. Counting consecutive cells
    By KMU in forum Excel General
    Replies: 3
    Last Post: 05-11-2010, 08:16 PM
  6. [SOLVED] Counting Consecutive Cells
    By SteveC in forum Excel General
    Replies: 18
    Last Post: 06-21-2006, 01:46 PM
  7. Counting consecutive blank cells
    By KevinE in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2005, 09:40 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