In Harare, the Zimbabweans were cheered on by a partisan home crowd as they ran out 2-0 winners over Congo-Brazzaville over the weekend.
Both goals came in the first half. Kaizer Chiefs goal-scorer Khama Billiat put the Zimbabweans ahead with former Amakhosi striker Knowledge Musona netting the second goal fifteen minutes later.
This allowed Zimbabwe to top Group G, with the Democratic Republic of Congo taking second spot, courtesy of a 1-0 win over Liberia in Kinshasa.
Playing at home, the Congolese struggled to find their rhythm in the opening stanza, but a second half strike by Cedric Bakambu was the difference between the sides at the end.
This meant that Liberia ended third in the group and will miss out on the Afcon tournament.
In Accra, Ghana beat Kenya 1-0 to finish top of the Group F standings. Second half substitute Caleb Ekuban scored the deciding goal in the 83rd minute, although both teams had already qualified for Afcon prior to the kickoff.
Ethiopia ended third in the group, with Sierra Leone suspended from the competition by African football body Caf, after alleged government interference in their football.
Playing at home in Dar es Salaam, Tanzania went into their Group L encounter against Uganda, the Tanzanians needed a win to hold off Lesotho in the race for a place at the Afcon showpiece.
Things worked out well for the hosts as they ran out 3-0 winners. Simon Msuva put the Tanzanians ahead in the 21st minute before a second half penalty by Erasto Nyoni put the game beyond the Ugandans. Aggrey Morris added the third but the win did not stop the Ugandans from topping group standings.
Tanzania took second place on the table, as Lesotho and Cape Verde played out to a goalless draw in Praia.
South Africa saw off Libya 2-1 in Group E action to Sfax, Tunisia. A brace of second half goals from Percy Tau, ensured that the South Africans will join table-topping side Nigeria at the Afcon tournament.
The Libyan goal came from the penalty spot in the 66th minute courtesy of Ahmad Benali. in the other group fixture, Nigeria crushed Seychelles 3-1.
Oghenekaro Etebo put the Nigerians ahead from the penalty spot in the 35th minute, before Roddy Melanie equalised for the visitors six minutes later.
Second half goals from Henry Onyekuru and Moses Simon sealed the points for the Nigerians.
Would you like to place a soccer bet? Click here to get started in 3 easy steps.