Carl
Level 15

Deductions & credits

Then you do not qualify for any capital gains exceptions. If you sold the house at a gain, then that gain will be taxable income, regardless of what you used that gain for.