Get your taxes done using TurboTax

You each enter half of the overpayment.

Federal on left

Deductions and Credits at top

Then scroll way down to Estimates and Other Taxes Paid

Income Taxes - Click the Start or Revisit

 

Next page scroll down to 2021 Refund Applied to 2022

Click Start or Update by the tax you applied

 

Then for state, you need to click on the state tab and go through state again for it to update.

 

May I ask why you are filing separate?  That is the worst way to file.  It is usually better to file Joint. Joint has the lowest tax rates and the highest Standard Deduction and there are several credits you can't take or are limited.