ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Adding Consecutive Entries (https://www.excelbanter.com/excel-discussion-misc-queries/29065-adding-consecutive-entries.html)

FLKULCHAR

Adding Consecutive Entries
 
In column a, I have a list of numbers...

I wish to add the number of consecutive entries...then start over when there
is a blank (no entry) in my column A cell.

How is this done??

I believe it has something to do with the boolean -- test...(minus, minus).

Please advise,

FLKulchar

swatsp0p


This will generate a running total in column B, restarting after a blank
cell in Col. A

(your data should begin in row 2 with row blank)
Enter this in B2 and copy down the range of your data in A:

=IF(A1="",A2,IF(A2="","",B1+A2))

Does this work for you?

Bruce


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=376203



All times are GMT +1. The time now is 07:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com