Get your taxes done using TurboTax

So make sure to add the reinvested dividends into your cost.  A reinvested dividend is really 2 transactions, a dividend and a buy more shares.