Get your taxes done using TurboTax

The first two rows don't even need to be included.  So here is a sketch for you showing something purchased in 2023 and partially sold in 2024.  

 

DateFundCategoryDescriptionPriceAmountSharesTotal SharesTotal Value
05/19/2023GOOGBuyInvestment: GOOG$123.25$1232.5010.00010.000$1232.50
07/05/2024GOOGSellInvestment: GOOG$191.96$767.844.0006.00$1151.76

 

In this simple example, the gains are ($191.96 - $123.25) * 4.000 = $68.71 * 4.000 = $274.84.