Deductions & credits

@BillM223 thanks for the reply. 

I just asked my HSA custodian, they said that I can still make a contribution of $Y-X for 2024, will that be an option for this issue?

If that can work, in turbotax I should add $Y-X as additional HSA contribution and make $Y as excess contribution withdrawn?

 

Thanks!