If you have a spreadsheet containing the stocks ... you can use this formula to get your job done. Read: How to count Nonblank Cells in Excel. When he is not writing about Microsoft Windows ...