Microsoft Excel, with its powerful spreadsheet ... select the asset category and enter the number of shares in your portfolio ...