Retirement tax questions

Ultimately this ended up solving the issue I was having with my amended return.

 

I removed the IRA contribution from my return.  During review of the tax return I was prompted to answer a few questions to fill in some lines on the amended return.  I don't think I answered them correctly, because it close to doubled the tax I owed.  I canceled the amended return to start over again.  But canceling the amended tax return does not return you back to the original state.  So now I had my tax return without the IRA contribution and without the 1099-R withdrawal of the original contribution.  However, this time when I went through the process of amending the return I was prompted to import the 1099-R forms, and I ended up going through a questionnaire which asked me if I had contributed to the IRA and then withdrawn those contributions.  Everything was then calculated correctly.

 

So, perhaps it has something to do with the order of entry for the IRA contribution and 1099-R withdrawal?  I am not sure, but removing the IRA contribution, canceling the amended return, and starting over again a few times and re-entering some of the data did the trick for me.