+ Reply to Thread
Results 1 to 4 of 4

Start count over after blank cell

  1. #1
    Registered User
    Join Date
    10-02-2008
    Location
    Capital District, New York
    Posts
    1

    Question Start count over after blank cell

    Hello, All

    I'm new, this is my first post here. Hope someone can help.

    Is there a way to use the COUNTA function in cell A1, that will return the total number of cells containing text in the rest of row one, BUT, will start the count over after a blank cell.

    EXAMPLE: A2, A3, A4 all have text added on a daily basis. The value returned via COUNTA in A1 = 3 (after the third day). However, A5 is blank, then A6 gets text on the 5th day, and now I need the returned value in A1 via the COUNTA function to = 1, because we started over after a blank cell.

    Is this possible? Alternatively, is there an easier way to accomplish same?

    Thanks in advance.

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848
    If you don't mind using a UDF you can use the following function.

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848
    If you change your methodology and use a dash "-" to separate the days, you can use:
    Please Login or Register  to view this content.
    Made match range consistent
    Last edited by mdbct; 10-02-2008 at 11:26 PM. Reason: Made MATCH ranges consistent

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    Try this

    Please Login or Register  to view this content.
    Press ctrl + shift + enter after modification because it's an array formula
    I need your support to add reputations if my solution works.


+ 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. How can I make a cell blank if another cell is blank?
    By cheesysocks in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2008, 11:50 AM
  2. Conditional Format- Blank cell with formula problem
    By Trappy in forum Excel General
    Replies: 4
    Last Post: 08-20-2007, 09:51 AM
  3. Counting data in non blank cells and exclude certain data from the count
    By JohnG73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-04-2007, 04:08 PM
  4. Replies: 4
    Last Post: 07-18-2007, 05:39 PM
  5. "sum" returns spooky hidden decimal figures
    By joshstyx in forum Excel General
    Replies: 9
    Last Post: 12-01-2006, 08:01 AM

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