+ Reply to Thread
Results 1 to 2 of 2

Need formula to count cells below

  1. #1
    Registered User
    Join Date
    03-23-2004
    Posts
    23

    Need formula to count cells below

    Column E on my spreadsheet contains a series of values TRUE and FALSE in no particular order (they are the results of a formula, the details of which I won't bore anybody with.) I need a formula in column F that checks if the corresponding cell in column E contains "TRUE" and if so, it counts the number of "TRUE's" below it before the next occurrence "FALSE."

  2. #2
    Forum Contributor
    Join Date
    01-11-2004
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    388
    Hi!

    You could do this with a VBA routine.

    If you are not working dynamically but have a static situation, you could probably get what you want by using Data > Subtotals operating on the changes in the column with True and False and counting the number in each section. (And contrary to all the usual advice on subtotals, DO NOT SORT before you do it !!!)

    Alf

+ 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