First, make sure you qualify to exclude the gain from your income. Go to this:
Publication 523 and scroll down till you get to Eligibility Test.
If you do qualify, then try this:
1. Go to Deductions & Credits.
2. Scroll down to Less Common Income.
3. Click Start or Update by Sale of Home.
4. Answer Yes to Did you sell or have your home foreclosed in 2016?
5. As you step through the questions, pay particular attention to Include Sale of Home in Return.
6. If you can exclude the gain, that should do it.
If you have more questions, post back to THIS thread.