You were tax resident for the whole of 2014 even if you went to the UK in November
You became tax resident in the UK from the date you moved back, so there will be a little overlap .
When you present your Spanish tax return any tax you have paid in UK will be deducted
If you need to do a 720 assets form eg for proceeds of Spanish house sale appearing in your UK bank. the deadline is March 31 St!
What I am interested in is how to present your Spanish tax return from the UK, if you cannot do it yourself on line