ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Stock Maintence (https://www.excelbanter.com/excel-worksheet-functions/241885-stock-maintence.html)

Sudipta Sen[_2_]

Stock Maintence
 
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.

Sam Wilson

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.


Shane Devenshire[_2_]

Stock Maintence
 
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

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"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.



All times are GMT +1. The time now is 02:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com