Having been to both cities, I would choose Barcelona over Madrid although I found the drink and eating out was much cheaper in Madrid.
They are both beautiful cities with fantastic architecture and museums. I think the people in Barcelona were friendlier and the place had a better buzz. You...