You don't apply 40% to the pensions. Use up as much of the basic rate as you can then apply the remainder of BR followed by HR to the dividends. This is how my software has calculated it.
Thank you so much. I knew that the calculation of Tax wasn't right, but I don't pretend to be qualified to complete higher rate returns, this was an elderly neighbour asking a favour. (I know, never do a favour, but she is 93 and VERY frail) Had I have know it was higher rate, I wouldn't have touched it!
Having re worked this it makes perfect sense now, much appreciated, I assume the tax paid via Pension of £4,633 would reduce the tax due £4,694 to £61? (she paid tax on one of the pensions per my original workings and the 2 pension figure were GROSS.)