I was divorced and sold our primary residence in 2015. The net gain is less than $500K/$250K each, but TT says I have taxable capital gains of $117K.

How do I take half of the net gain and stay under the $250,000 exemption?