Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Marcus1
 
Posts: n/a
Default How do i create a running total in Excel?

Hi
Can anyone help me:
I wish to create a very simple to use goods in/ out spreadsheet.

Each row will be a different part number.

Column A = Part Number
Column B = Amount of Goods In
Column C = Amount of goods out
Column D = Current Stock Held

What I want it to do is to add up the quantity each time goods arrive in one
cell (cumulatively)and then do the opposite when goods go out. Then subtract
Column c from Column B to give me a running total (Column D).

Anyone know the formula?



  #2   Report Post  
Jim Rech
 
Posts: n/a
Default

If I understand what you want... Excel formulas return results based on the
numbers actually in the spreadsheet. If all your purchases and sales are
entered in individual cells Excel can certainly do the math. But it cannot
do a running total of amounts in the cells and amounts that used to be in
those cells. You'd need a macro to do an 'accumulator'. (But for my money
it's better to have a complete history so you can recreate the current total
if needed).

--
Jim
"Marcus1" wrote in message
...
| Hi
| Can anyone help me:
| I wish to create a very simple to use goods in/ out spreadsheet.
|
| Each row will be a different part number.
|
| Column A = Part Number
| Column B = Amount of Goods In
| Column C = Amount of goods out
| Column D = Current Stock Held
|
| What I want it to do is to add up the quantity each time goods arrive in
one
| cell (cumulatively)and then do the opposite when goods go out. Then
subtract
| Column c from Column B to give me a running total (Column D).
|
| Anyone know the formula?
|
|
|


  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

It's possible through VBA (you have to write worksheets Change event for
this), but it will be wise to think about it again! When you accidently type
in some wrong number, then there is no way to restore right number without
summing all quantities from original documents. Better enter all
transactions into separate sheet, with columns Date, PartNumber, Type,
Amount (the column Type can have values "In" or "Out").

On other sheet you'll have another table, with columns PartNumber, InStore
, where for every PartNumber, the amount for current moment is calculated
through formula like
=SUMPRODUCT(--(TransactParts=A2),--(TransactType="In"),TransactAmount)-SUMPRODUCT(--(TransactParts=A2),--(TransactType="Out"),TransactAmount)

Such design also allows you to create various other reports, p.e. the list
of all incoming or outcoming goods for selected month or year. And it is
much simpler to designe too.


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



"Marcus1" wrote in message
...
Hi
Can anyone help me:
I wish to create a very simple to use goods in/ out spreadsheet.

Each row will be a different part number.

Column A = Part Number
Column B = Amount of Goods In
Column C = Amount of goods out
Column D = Current Stock Held

What I want it to do is to add up the quantity each time goods arrive in
one
cell (cumulatively)and then do the opposite when goods go out. Then
subtract
Column c from Column B to give me a running total (Column D).

Anyone know the formula?





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
Running total in Excel w/2 columns Anna / Ideal Excel Worksheet Functions 5 August 6th 05 02:25 AM
timesheet with running total of overtime kimmyrt Excel Worksheet Functions 2 January 26th 05 06:15 PM
Running Total of Random Number Mr H Excel Discussion (Misc queries) 4 January 19th 05 10:35 PM
Create a total based on multiple conditions is not giving correct. Jacob Excel Worksheet Functions 2 November 4th 04 04:07 AM


All times are GMT +1. The time now is 09:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"