Ok here my attempt.
Formula in column H, just the bought ones.
Formula in column K, is subtracting the sold stocks (quantity and total price). So for example for this stock:
| | | | |
NSE BHEL 29 Aug 2024 | 50 | BUY | 287 | 14350 |
NSE BHEL 29 Aug 2024 | 25 | SELL | 287.8 | 7195 |
|
---|
You would have a net amount of 25 (50-25) and a net of total of 7155 (14350 - 7195). Would that be correct?
Book1.xlsx |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K | L |
---|
1 | Particular | Qty | Buy/Sell | Price | total | | | Particular | Avg price | | Particular | Avg price |
---|
2 | NSE BAJFINANCE 29 Aug 2024 | 5 | BUY | 6536.35 | 32681.75 | | | NSE BAJFINANCE 29 Aug 2024 | 6536.35 | | NSE BAJFINANCE 29 Aug 2024 | 6536.35 |
---|
3 | NSE BANKNIFTY 28 Aug 2024 | 1 | BUY | 49899.9 | 49899.9 | | | NSE BANKNIFTY 28 Aug 2024 | 49899.9 | | NSE BANKNIFTY 28 Aug 2024 | 49899.9 |
---|
4 | NSE BHEL 29 Aug 2024 | 50 | BUY | 287 | 14350 | | | NSE BHEL 29 Aug 2024 | 287 | | NSE BHEL 29 Aug 2024 | 286.2 |
---|
5 | NSE BHEL 29 Aug 2024 | 25 | SELL | 287.8 | 7195 | | | NSE GUJGASLTD 29 Aug 2024 | 648.33333 | | NSE GUJGASLTD 29 Aug 2024 | 648.3333 |
---|
6 | NSE GUJGASLTD 29 Aug 2024 | 5 | BUY | 643.5 | 3217.5 | | | NSE HDFCBANK 29 Aug 2024 | 1610.65 | | NSE HDFCBANK 29 Aug 2024 | 1610.65 |
---|
7 | NSE GUJGASLTD 29 Aug 2024 | 25 | BUY | 649.3 | 16232.5 | | | NSE HEROMOTOCO 29 Aug 2024 | 5187.7 | | NSE HEROMOTOCO 29 Aug 2024 | 5187.7 |
---|
8 | NSE HDFCBANK 29 Aug 2024 | 11 | BUY | 1610.65 | 17717.15 | | | NSE M&M 29 Aug 2024 | 2651.6 | | NSE M&M 29 Aug 2024 | 2651.883 |
---|
9 | NSE HEROMOTOCO 29 Aug 2024 | 1 | BUY | 5187.7 | 5187.7 | | | NSE PFC 29 Aug 2024 | 475.725 | | NSE PFC 29 Aug 2024 | 475.725 |
---|
10 | NSE M&M 29 Aug 2024 | 4 | BUY | 2651.6 | 10606.4 | | | NSE SAIL 29 Aug 2024 | 135.77 | | NSE SAIL 29 Aug 2024 | 135.77 |
---|
11 | NSE M&M 29 Aug 2024 | 1 | SELL | 2650.75 | 2650.75 | | | NSE SBIN 29 Aug 2024 | 800.76667 | | NSE SBIN 29 Aug 2024 | 800.7667 |
---|
12 | NSE PFC 29 Aug 2024 | 5 | BUY | 475.5 | 2377.5 | | | NSE TITAN 29 Aug 2024 | 3347.7 | | NSE TITAN 29 Aug 2024 | 3347.7 |
---|
13 | NSE PFC 29 Aug 2024 | 1 | BUY | 476.85 | 476.85 | | | | | | | |
---|
14 | NSE SAIL 29 Aug 2024 | 25 | BUY | 135.7 | 3392.5 | | | | | | | |
---|
15 | NSE SAIL 29 Aug 2024 | 25 | BUY | 135.84 | 3396 | | | | | | | |
---|
16 | NSE SBIN 29 Aug 2024 | 25 | BUY | 800.3 | 20007.5 | | | | | | | |
---|
17 | NSE SBIN 29 Aug 2024 | 50 | BUY | 801 | 40050 | | | | | | | |
---|
18 | NSE TITAN 29 Aug 2024 | 11 | BUY | 3347.7 | 36824.7 | | | | | | | |
---|
|
---|