Get your taxes done using TurboTax

Thank you so much  - final question I hope.

If I converted my 2 family to 2 condos and sold the one I'm in and moved to the rental and lived their for at least 2 years and then sold it for $500,000.  How might it affect the depreciation and capital gains.  Would I need to pay taxes when I converted it to a condo?