UA 769 then VY 1220 at Barcelona
Chicago → Barcelona → Valladolid
Timetable, Barcelona time
13:15UA 769 from Chicago at the gatealso AC 4791, LH 8546
12:20VY 1220 to Valladolid leaves the gatealso IB 5472
23 h 05 apart on the timetable, overnight
VY 1220 leaves 23 h 05 after UA 769 arrives on the timetable: more than half a day, so not a connection we count.