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 / May 2006

Tip: Looking for answers? Try searching our database.

Sum all rows above

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert - 07 May 2006 12:22 GMT
I want to put into a cell the total of all numbers above that cell in that
column.  I want to do this without specifying specific rows.  In this way,
if a row were added above the total, it would be included in the total
correctly.

Robert
Ardus Petus - 07 May 2006 13:04 GMT
Hi Robert,

Try:
=SUM(OFFSET(A1,,,ROW()-1,1))

HTH
--
AP

>I want to put into a cell the total of all numbers above that cell in that
>column.  I want to do this without specifying specific rows.  In this way,
>if a row were added above the total, it would be included in the total
>correctly.
>
> Robert
davesexcel - 07 May 2006 13:15 GMT
=sum(indirect("r1c"&column()&":r"& (row()-1)&"c"&column(),false))

Signature

davesexcel

Ragdyer - 07 May 2006 18:14 GMT
Try this:

=SUM(INDIRECT("A1:A" & ROW()-1))

Signature

HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

> I want to put into a cell the total of all numbers above that cell in that
> column.  I want to do this without specifying specific rows.  In this way,
> if a row were added above the total, it would be included in the total
> correctly.
>
> Robert
Dave Peterson - 07 May 2006 18:43 GMT
One more.

If your formula is in A101:
=sum(a1:offset(a101,-1,0))

> I want to put into a cell the total of all numbers above that cell in that
> column.  I want to do this without specifying specific rows.  In this way,
> if a row were added above the total, it would be included in the total
> correctly.
>
> Robert

Signature

Dave Peterson

Robert - 08 May 2006 11:44 GMT
>I want to put into a cell the total of all numbers above that cell in that
>column.  I want to do this without specifying specific rows.  In this way,
>if a row were added above the total, it would be included in the total
>correctly.
>
> Robert
 
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.