Deductions & credits

Ok, just to clarify we lived the home for less than 2 years and we did receive a 1099-S form. Does this mean I'm still reporting the sale but won't be taxed since we did not make any Capita Gain?