Stock Maintence

S

Sudipta Sen

I want to maintain a SHARE stock report in excel sheet. eg.
A B C D E
F
NAME DT. PURCHASE DT. SALE
BALANCE
ADITYA BIRLA 3/5/09 20
20
TATA STEEL 2/6/09 25
25
HINDALCO 24/7/09 15
15
ADITYA 25/7 10
10
HINDALCO 14/8/09 5
20
ADITYA 15/8/09 5
10

When I will entry a share name with purchase or sale details, automatically
Balance will reflect in the F / Balance Coluum after plus or minus from the
previous balance of the particular data / name I entry.

Ehich formula I will put in F cloumn, so I will get the right balance
against particulat entry.
 
S

Sam Wilson

Put this in F2 and copy down.

=SUMIF(A$1:A2,A2,C$1:C2)-SUMIF(A$1:A2,A2,E$1:E2)

Sam
 
S

Shane Devenshire

Hi,

I'm not sure I follow your sample data, but the general idea would be in F2
enter
=C2-E2+F1
and copy it down. You may need to reverse the signs depending on your
system of debit and credits, in which case the formula would be
=E2-C2+F1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top