Forum

Notifications
Clear all

Extract Profit or Loss amounts from Stock Trades

5 Posts
3 Users
0 Reactions
98 Views
(@jrhaden)
Posts: 3
Active Member
Topic starter
 

All my stock trades are in one table with headers and organized by date, ticker, stocks bought or sold and the matching price/trade. I would like to group the trades by ticker, date, sum when a stock was sold (or parts of the position) to analyze whether I made a profit or loss on the trades so far.

E.g.

ABC Co. (Ticker)

5/17/21 BUY 100 23.50$ 2350$

6/22/21 SELL 50 21.50$ 1375$

Trade outcome -200$

Any help pointing me in the right direction (Pivot, Formulas) is welcome

Cheers

Joachim

 
Posted : 24/08/2022 9:14 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Joachim,

If your data is in a tabular layout then you can use a PivotTable to easily summarise the data, but based on the layout above, I suspect it isn't. 

Perhaps you can upload a sample file so we can see what you're working with. Alternatively, you might get some ideas from this Personal Stock Portfolio Dashboard.

Mynda

 
Posted : 25/08/2022 6:01 am
(@jrhaden)
Posts: 3
Active Member
Topic starter
 

Hi Mynda,

I have attached a file as an example of what I'd like to achieve in the "results" tab.

I started out by using your examples from the personal stock portfolio dashboard.

 

Thanks

Joachim

 
Posted : 25/08/2022 8:10 pm
Alan Sidman
(@alansidman)
Posts: 222
Member Moderator
 

maybe attached

 
Posted : 26/08/2022 1:17 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Joachim,

Alan and I had the same idea. My PivotTable also has subtotals.

Mynda

 
Posted : 26/08/2022 5:49 am
Share: