Deductions & credits

I understand where I made the mistake and have made the adjustments in my spreadsheet and it matches with your analysis.  Thank you.