Retirement tax questions

Thanks for reply. Excess was made in 2017; I expect a check from 401K within the month. No earnings 'returned' - not sure what that means.