Example chart

Stock
Amount Invested ($)
Original Share Price ($)
No. of Shares
New Share Price ($)
Value of Shares ($)
A
10000
100
100

$102

10,200

B
10000
400
25

$404

10,050