Carl
Level 15

Deductions & credits

More than likely you have overlapping dates.
First, close the old home office. The close date must be "at least" one day before:
 - You closed on the sale of the old house
 - The date you moved out of the old house.
The open date on the new home office must be:
 - A date after you closed the old home office.
 - At least one day after you closed on the sale of the new home.
 - At least one day after you moved into the new home.

Also make sure you have the correct address for each home office, and that you're not using the "new" address, for the "old" home office that was closed.