Investors & landlords

Yes, you need to report it.

 

Yes, you can exclude the gain except for the depreciation you were eligible to take.