I think you are concerned about your 2023 return with respect to the overpayment from 2022. If the amended return is processed before your 2023 return is processed, then you need change the overpayment reported from 2022 on your 2023 return to reflect the new amount. If your 2023 return is processed before the 2022 amended return, then you will get credit for the original overpayment. If that happens, you need to change your amended return to indicate that the original refund was not applied to the following year.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"