Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2010, 06:16 PM
ktpalmer ktpalmer is offline Subtotaling Sequential 0's Windows 98/ME Subtotaling Sequential 0's Office 2007
Novice
Subtotaling Sequential 0's
 
Join Date: Jun 2010
Posts: 1
ktpalmer is on a distinguished road
Unhappy Subtotaling Sequential 0's

Hi everyone!



I need help for a formula to subtotal a set of zeros in the column next to it.
e.g. A1,A2,A3 all = 0, and A4 = 1, then in B3 will be the subtotal 3.
Have attached an example of what I need the spreadsheet to look like.

The formula is going into a spreadsheet that has over 8000 cells in a column, representing every 10 seconds of the day.

Is this possible?

Many thanks, Katie.
Attached Files
File Type: xls example.xls (14.5 KB, 12 views)
Reply With Quote
  #2  
Old 06-20-2010, 09:06 PM
ConneXionLost's Avatar
ConneXionLost ConneXionLost is offline Subtotaling Sequential 0's Windows XP Subtotaling Sequential 0's Office 2003
Simulacrum
 
Join Date: Jan 2010
Location: Victoria, Canada
Posts: 86
ConneXionLost is on a distinguished road
Default

Hi Katie,

Give this a try.

Cheers,
Attached Files
File Type: xls ZeroCount.xls (15.5 KB, 17 views)
Reply With Quote
  #3  
Old 06-23-2010, 06:54 AM
Cpat Cpat is offline Subtotaling Sequential 0's Mac OS X Subtotaling Sequential 0's Microsoft Office 2004 for Mac
Novice
 
Join Date: Jun 2010
Posts: 4
Cpat is on a distinguished road
Default Solved with 2 columns

I have a 2 column solution, the left column builds a running total and the right containing the sums of all the 0's.

The left column contains:
=IF(P6=0,IF(Q5>0,Q5+1,1),0)
for all rows.
the right column contains:
=IF(Q6>0,IF(Q7=0,Q6,""),"")
for all rows.
Then to get a total count in all the rows, sum the right column.
Give this a try
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 10:15 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft