Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate running totals in an Excel sheet 1

Status
Not open for further replies.

barnard89

MIS
Mar 6, 2005
74
US
Hi

I have an excel sheet which has monthwise expenses

each month expense is in one separate row.
How do I calculate the running totals of those values
in the adjacent columns

Please suggest

thanks
 
You can do this pretty simply with formulae in Excel. It isn't really necessary to use VBA: =SUM($A$1:A5)

_________________
Bob Rashkin
 
how / why is this a VBA question ??

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
This doesn't require VBA.

Say your info is in column A, with the first row being header info. In cell B2, try this
[tab]=Sum($A$2:A2)
Now drag the formula down.

Lookup Absolute Reference in Excel's help file for more info.

[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top