https://docs.google.com/spreadsheets/d/1DEg4hOy-rJ632BBFZhmLKmJ1miVR2YHIgf7BQeiXp98/edit#gid=1321282994
A majority of credit goes to Rob Berger who created the investment tracking tool in the first place. Here's the link that shows his instructions:https://robberger.com/investment-tracking-spreadsheet/.
Please let me know your feedback.