Investors & landlords

I followed your instructions, and after  answering the questions, I get this message that states,"you don't qualify for an exclusion of the gain on the sale of your home" Is there anything else besides living there for 2 out of the 5 years that determines this?