Retirement tax questions

I verified the formula pointed out by dmertz  for my last two year's return (line22/line11).  It basically ignored the other taxes on line 23. It seems to me it would make more sense if the effective tax rate is calculated by line24/line11. None of situations in PaulD CPA's post applies to me.