Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAthis was a fun one! here are a couple IRS links to relevant info. I've run into this with having moved many times! https://www.irs.gov/taxtopics/tc701 and https://www.irs.gov/publications/p523
My solution includes the exclusion. At first I thought that the provided solution was ignoring the capital gains exclusion, but then I realized that, if that was the case, then everyone would have had to pay capital gains. Looks like they may have misunderstood the exclusion and assumed that any home where total capital gains was less than the exclusion would not pay any tax, but if the total gains exceeded the exclusion amount then tax was due on the total.
My Solution.
Here is my solution:
My try! :)
A neat challenge, thank you! It looks like the Exclusion of Gains was not taken out in the output provided with the starter challenge.