Thread: Stock Maintence
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Wilson Sam Wilson is offline
external usenet poster
 
Posts: 523
Default Stock Maintence


Put this in F2 and copy down.

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

Sam

"Sudipta Sen" wrote:

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.