Investors & landlords

you must have lived in the house for ANY 24 months of the last 60 months (5 years).  from your statement you satisfy this condition, so the first $250,000 of gain is tax free.