+ Reply to Thread
Results 1 to 2 of 2

Count Until Next Value Occurs

  1. #1
    Registered User
    Join Date
    09-11-2007
    Posts
    21

    Count Until Next Value Occurs

    Let's try this again. I am re-posting because my original post title was not correct. I am trying to count the number of cells below the current cell until it reaches a specific value. Please see the attached for specific details and examples of what I'm trying to do. I'm not sure which function to use or how to go about this but the attachment explains the scenario. I searched online and cannot seem to find something similar enough to use in my situation.

    Thank you in advance for your HELP.


    Randy
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Count Until Next Value Occurs

    If you don't mind using a macro to do this, I attached a workbook with a macro that should help you.
    Like specified in the worksheet, you must select a specific cell in order for the macro to work properly. I did this because you can start the process wherever you want in your table as long as the active cell is one on the day column.
    Regards
    Attached Files Attached Files
    Last edited by p24leclerc; 01-27-2013 at 10:53 PM.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

+ Reply to Thread

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