Retirement tax questions

I understand this SALT conversation. My total SALT deductions were not quite as large as my refund. But I received a refund in one state and owed in a second state. My refund in state #1 should be reduced by what I owed in state #2 and then further reduced by over SALT deductions over $10K. Does that sound correct?