Get your taxes done using TurboTax

@dudgeonja   The dividends probably stayed in the account and bought more shares for you.  Check your account statements.  Ask your broker or bank if the dividends are being reinvested or where they went.  If they buy more shares then when you sell the shares that is your cost so you won't pay tax on the cost again.  It's just like if they sent you a check for the Dividend and then you sent it right back to buy more shares.