(CNN) -- A last-minute goal from David Villa gave Valencia a 2-1 Europa League win at Genoa on Thursday, a result that knocked the Serie A side out of the competition after Lille's 3-1 victory over Slavia Prague.
French side Liile needed to match or better Genoa's Group B result to reach the last 32 and they did just that to follow the Spanish side into the knock-out stages.
Bruno put Valencia ahead in Italy but Hernan Crespo equalized in the 51st minute to give the home side hope. Villa then grabbed the winner for Valencia with the clock ticking.
Meanwhile, in France, Yohan Cabaye opened the scoring after 25 minutes before Gervinho netted six minutes before half-time to put Lille firmly in control.
Stanislav Vicek pulled a goal back for Slavia but Ludovic Obraniak eased any nerves when he converted 10 minutes from time.
In Group A, Anderlecht qualified with a convincing 3-1 victory at Ajax to pip the Dutch side to top spot.
Heading to the Netherlands in second place, two points clear of Dinamo Zagreb, Herman van Holsbeeck's side knew a draw would be good enough to see them advance.
But the Belgian outfit went one better thanks to goals from Romelu Lukaku (two) and Jonathan Legear. Urby Emanuelson grabbed a late consolation for the hosts.
Timisoara defeated Dinamo 2-1 in the group's other match. The Croatians fell behind when Gheorghe Bucur opened the scoring midway through the second period but parity was restored when Cristian Scutaru put through his own net inside the final 10 minutes.
Dorin Goga hit the winner six minutes before time to hand the Romanians a first win.
Hapoel Tel Aviv beat Hamburg 1-0 to capture top spot in Group C and send the Germans into second place.
Both teams had already qualified but Samuel Yeboah's goal was enough to see the Israeli side through as group winners.
Celtic and Rapid Vienna played out an entertaining 3-3 draw despite both sides having no chance of qualification.
A much-changed Celtic side found themselves three goals behind after only 19 minutes as Nikica Jelavic (two) and Hamdi Salihi netted.
However, before the interval, Celtic striker Marc-Antoine Fortune scored to stem the tide. The Frenchman added a second in the 67th minute before Paul McGowan grabbed a stoppage-time equalizer.
FC Twente advanced despite being held to a 1-1 draw at Steaua Bucharest in Group H, after table-toppers Fenerbahce beat FC Sheriff 1-0.
That meant Twente did not require victory to go through in second place. The Eredivisie outfit secured a point when Ronnie Stam's deflected equalizer cancelled out Pantelis Kapetanos' opener.
Fenerbahce's victory came courtesy of a 15th-minute strike from Ugur Boral.
In Group G, Salzburg maintained their 10 per cent record with a 1-0 win over second-placed Villarreal thanks to Dusan Svento's goal. Bottom-placed Levski Sofia closed their campaign on a high after Hristo Yovov scored the only goal of their game with Lazio.
Angel Di Maria bagged a brace as Benfica rubber-stamped their status as winners of Group I with a battling 2-1 win at AEK Athens.
Di Maria made sure of the points with long-range efforts in either half while Ismael Blanco netted a late consolation for AEK.
Second-placed Everton put out a young side including five debutants and were beaten 1-0 by visitors BATE Borisov thanks to Alexander Yurevich's 75th-minute goal.