Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2006

Tip: Looking for answers? Try searching our database.

Summing with Spaces

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mr. Barnes - 04 Nov 2006 22:19 GMT
Hi,

If I have a column of numers like this:

3
4
4

3
2
1

3
2

Each group of numbers represents a different day seperated by a space.
In the adjacent column I want to do a running total of each group so I
have a running subtotal for each day, so it would look like this:

3  3
4  7
4  11

3  3
2  5
1  6

3  3
2  5

The formula looks complicated.  Thanks for any help.
Niek Otten - 04 Nov 2006 22:33 GMT
Make sure the first line is empty
I assume that with "a space" you mean an empty row.
If your data is in Column A (starting in a2), put this formula in B2:

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

And copy down as far as you need
You can format the zeros to show as spaces if that is important.

Signature

Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hi,
|
[quoted text clipped - 27 lines]
|
| The formula looks complicated.  Thanks for any help.
Mr. Barnes - 05 Nov 2006 03:32 GMT
>Make sure the first line is empty
>I assume that with "a space" you mean an empty row.
[quoted text clipped - 36 lines]
>|
>| The formula looks complicated.  Thanks for any help.

Hey, thanks for that.  Would this work as well:

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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.