Hi,
I need some help with Excel to calculate ROI for this situation:
[TABLE="width: 500"]
<tbody>[TR]
[TD]date
[/TD]
[TD]quantity
[/TD]
[TD]price bought
[/TD]
[TD]quantity
[/TD]
[TD]price sold
[/TD]
[TD]ROI
[/TD]
[/TR]
[TR]
[TD]2015-09-05
[/TD]
[TD]4,000
[/TD]
[TD] 3.16
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2015-11-05
[/TD]
[TD]1,500
[/TD]
[TD]3.56
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2016-07-08
[/TD]
[TD][/TD]
[TD][/TD]
[TD]2,000
[/TD]
[TD]4.13
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2016-11-10
[/TD]
[TD][/TD]
[TD][/TD]
[TD]2,000
[/TD]
[TD]4.51
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2017-01-05
[/TD]
[TD][/TD]
[TD][/TD]
[TD]1,000
[/TD]
[TD]4.12
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm looking to calculate the ROI of individual transactions, time sensitive. So I want the ROI of the first 2,000 stocks sold at 4.13 to be calculated using the 4,000 quantity bought at 3.16. The second tranche of 2,000 sold should also be based (deducted) from the same original 4,000 bought on 2015-09-05. However, the ROI for the tranche of 1,000 sold at 4.12 should be deducted from the second pool of purchases (1,500 on 2015-11-05) at 3.56. And so on and so forth. What formula would allow me to correctly calculate the ROI for each transaction by pegging the shares sold to the right pool of shares bought? Basically, I don't want rolling ROI (XIRR) because it will not give me the ROI per individual transactions.
Thanks a million for your help!!
[TABLE="class: yklcuq-19 cUmOil"]
<thead>[TR="class: yklcuq-20 dqbluc"]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[/TR]
</thead><tbody>[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
</tbody>[/TABLE]
I need some help with Excel to calculate ROI for this situation:
[TABLE="width: 500"]
<tbody>[TR]
[TD]date
[/TD]
[TD]quantity
[/TD]
[TD]price bought
[/TD]
[TD]quantity
[/TD]
[TD]price sold
[/TD]
[TD]ROI
[/TD]
[/TR]
[TR]
[TD]2015-09-05
[/TD]
[TD]4,000
[/TD]
[TD] 3.16
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2015-11-05
[/TD]
[TD]1,500
[/TD]
[TD]3.56
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2016-07-08
[/TD]
[TD][/TD]
[TD][/TD]
[TD]2,000
[/TD]
[TD]4.13
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2016-11-10
[/TD]
[TD][/TD]
[TD][/TD]
[TD]2,000
[/TD]
[TD]4.51
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2017-01-05
[/TD]
[TD][/TD]
[TD][/TD]
[TD]1,000
[/TD]
[TD]4.12
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm looking to calculate the ROI of individual transactions, time sensitive. So I want the ROI of the first 2,000 stocks sold at 4.13 to be calculated using the 4,000 quantity bought at 3.16. The second tranche of 2,000 sold should also be based (deducted) from the same original 4,000 bought on 2015-09-05. However, the ROI for the tranche of 1,000 sold at 4.12 should be deducted from the second pool of purchases (1,500 on 2015-11-05) at 3.56. And so on and so forth. What formula would allow me to correctly calculate the ROI for each transaction by pegging the shares sold to the right pool of shares bought? Basically, I don't want rolling ROI (XIRR) because it will not give me the ROI per individual transactions.
Thanks a million for your help!!
[TABLE="class: yklcuq-19 cUmOil"]
<thead>[TR="class: yklcuq-20 dqbluc"]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[TH="class: yklcuq-25 jpUfLs"][/TH]
[/TR]
</thead><tbody>[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
[TR="class: yklcuq-20 dqbluc"]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[TD="class: yklcuq-21 guVwEK"][/TD]
[/TR]
</tbody>[/TABLE]