Deductions & credits

I am confused by Turbo Tax's answer, because it appears you will be taxed on your 2017 Tax Return for the Excess Contribution that was refunded to you.  But TT says you will also receive a SA form in 2018, and be taxed on the Excess Contributions in 2018.  That seems like you will be taxed in both years for the same Excess Contribution that you were refunded by  your employer's HSA Administration.