title: Sum or Count until?
body: <p>I'm trying to make my Compliance Worksheet more efficient.  I have a list of controls in sections (and sub-sections), and I use a value as a placeholder to count the number of controls per section (or sub-section), as well as exceptions per section.  I use the value "1" if there is a valid control, and sum up these values per section or sub-section.</p>
  
  <p>I often have to add rows to the bottom of a section, and this throws my sum-formula off, requiring manual updating to these formulas.</p>
  
  <p>I would LIKE to utilize a formula to either "sum-until" or "count-until" the next section.  I've attached an example.</p>
  
  <p>Is there a way to Sum (or Count) until the next formula or non-"1"-value?  Would it just be easier to put an "end" value at the bottom of each of these sections, and count until "end"?  This wouldn't be an ideal way to perform such a function (as there will be a good number of unnecessary "ends" between sections), but if there's not a better way, perhaps I'll explore that avenue.</p>
  
  <p><img src="https://i.stack.imgur.com/7pRlT.jpg" alt="Link to screenshot"></p>