Spanair flights from anywhere in spain to madrid seem very reasonable priced.
Its E35 barca - madrid 1 way and last time i checked the train it was over 70 euro, flight time takes just 80 mins and they seem to go very often.
Have to love the transport in spain the way they have it, its great, hence why so many use buses trains etc.