Sale of owner occupied rental property, capital gains
I sold my 3 family home in 2022. I lived in one of the apartments for 10 years. Do I have to treat this as 2 different sales? Would I put the portion of the house that was used for rental under the section for rental property sale and the portion for my personal home under the section sold a home? There is also a question under the rental section that reads "Special Handling Required. This asset was a rental, home office or home office improvement within a home. Would this be yes or no for me, the house was a 3 family apartment. Also will I be eligible for the $250,000 exclusion, is that only for my personal portion of the sale? Or can the whole house be entered under 'sold a home' and not separated?
Thanks