Sale of Home Acquired in a Like-kind Exchange
You can’t exclude any gain if:
You acquired your home in a like-kind exchange in which all or part of the gain wasn’t recognized, and
You sold or exchanged the home during the 5-year period beginning on the date you acquired it.