Deductions & credits

to be eligible for the exclusion you must have lived in your home for 2 of the past 5 years.  from what you wrote, you did not, so you are not eligible for the exclusion.

 

<<2 out of 5 years residence eligibility rule for properties rented out after 2008>>

 

I am not aware of this rule - where did you get this idea from? are you confusing it with something else?