Get your taxes done using TurboTax

What credit are you referring to? The 500k exclusion for selling your primary home? You can get that if you meet the requirements upon the sale but only through the personal half. The duplex is business property and the other house is not your primary residence and it is unclear if it is also a rental.

 

https://www.irs.gov/taxtopics/tc701