If it was your main home that you lived in 2 out of 5 years, you may not need to report the house sale at all. If the gains were that large, you will need to report the sale.
See Topic No. 701 Sale of Your Home, for complete details.
The exclusion is per person so filing joint or separate will not matter.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"