Tuesday 6 December 2016 22:26, UK
We examine the permutations for each side ahead of matchday six of the Champions League group stage.
Who can still qualify? And who needs what to make it to the last-16?
Check out the state of play with our group-by-group rundown of what each club needs...
Arsenal and Paris Saint-Germain had already booked their places in the knockout stage before Wednesday's meeting, but the draw at the Emirates means it's advantage PSG.
The result means a win for the Ligue 1 side in a fortnight at home to Ludogorets will secure top spot regardless of overall goal difference, as they scored two away goals to Arsenal's one in their head-to-head clashes. Arsenal go to Basel on the final matchday.
It's a similar story for Ludogorets and Basel, who played out a 0-0 draw in matchday five, as they battle for the Europa League place. They are level on two points, but Ludogorets currently occupy third spot because their away goal in their 1-1 draw at Basel gives them a superior head-to-head record.
Napoli face Benfica on matchday six, with the winner guaranteed top spot and qualification - but the loser may still go through if Besiktas lose to Dynamo Kiev.
However, the Turkish side will progress regardless of the result in Italy if they beat their Ukrainian opponents.
Should Beskitas win, they would advance with the winner of Napoli against Benfica, but if those two draw, Napoli would qualify due to their 4-2 win over the Portuguese side in September.
If Beskitas draw and Benfica lose, the latter will progress thanks to their superior head-to-head record, but a Beskitas draw and Napoli defeat is enough for the Turkish outfit.
Dynamo Kiev's draw against Benfica on matchday five means they will finish bottom of the group, and are out of Europe.
Group C is done and dusted. Barcelona are guaranteed to finish top following their 2-0 win over Celtic, while the Scottish champions will finish bottom, ending their European participation.
Man City, who face Celtic at the Etihad on the final matchday, are set to finish second, with Borussia Monchengladbach third, earning the Bundesliga side a spot in the Europa League.
First and second is decided in Group D, with Atletico Madrid qualifying as group winners following their victory over PSV and Bayern Munich's defeat to Rostov.
The Bundesliga outfit will advance in second place, with Rostov and PSV set to battle over the Europa League spot.
The Dutch side must beat Rostov at home on the final matchday to finish third.
Tottenham will not feature in the round of 16 after defeat to Monaco, and will need a point against CSKA Moscow in their final group game at Wembley to seal Europa League football.
Group leaders Monaco have qualified for the knockout stages, along with Bayer Leverkusen who drew away to bottom club CSKA on Tuesday.
The Russian side will battle it out with Spurs for a spot in the Europa League, and need a win to take their place in that competition.
Borussia Dortmund were the only team in this section to have already guaranteed their passage to the round of 16 before matchday five, and they took an even stronger grip on top spot with a stunning 8-4 victory over Legia Warsaw.
They will top the group providing they do not get beaten by Real Madrid at the Bernabeu in the final round of games. The Spanish giants have also qualified for the knockouts after beating Sporting Lisbon.
Sporting and Legia Warsaw will go head-to-head for a Europa League spot. A draw will be enough in Poland on December 7 to send the Portuguese side through, while their opponents will need a win to make the competition.
Leicester guaranteed their place in the knockout stages with a 2-1 win against Club Brugge, who remain bottom of the table with no points and exit the European competition.
The Foxes also top the group after a goalless draw between Porto and FC Copenhagen, who will need to wait until the final game week to decide who also goes through to the last 16.
Porto would qualify with a point at home to Leicester if Copenhagen lose or draw in Bruges, but a win for the Danish club would mean the Portuguese outfit would need all three points themselves to qualify, as they have an inferior goal difference. Both meetings between Porto and Copenhagen earlier in the competition ended all square, so head-to-head cannot separate them.
Sevilla missed the chance to take their place in the round of 16 after being beaten by Juventus, who have sealed their spot in the knockout stages after the 3-1 victory.
The current Europa League holders now need a point in their final game at Lyon, who are their direct competition for second place. The French side will need to win and better Sevilla's goal difference to knock them into third.
If Lyon win, but do not better the goal difference, Sevilla will still go through to the knockout stages as they would both have one victory each in the head-to-head rule, but the La Liga outfit would edge it on goal difference.
If Sevilla win, they will ensure their spot in the last 16 and if Juve lose or draw at home to Dinamo Zagreb - who are already out of contention - they will go through as group winners.