It appears Quicken is not using the actual cost of short term sales (of dividends reinvested) when a long-term holding was sold last year. It is also not an average cost shown in the basis, as the value is not proportional to the number of shares. I had a similar problem in 2022 on another long term holding and was able to find a work-around with your help. In this case, is there a way to force Quick to report the sale on an actual lot-by-lot match to the original cost? Alternatively, if there is a way to export the lot information into Excel from the account overview report, I could perform the calculations manually. Many of the lots are too old to show a basis in my broker's 1099B.