Deductions & credits

Thank you so much for this answer!!! I wish I had gone to the community sooner.  I've asked everybody the question but the mail man and nobody had the answer.  Last question.  Will it know to not allow me the $500,000 exclusion again?  We are only entitled to the portion of what remains of the $500,000 exclusion from the sale of the residence.  Please advise.