A draw in their last group game with Cameroon was not enough for Africa Women Cup of Nations hosts Ghana to reach the knockout stages.
Cameroon topped Group A after Christine Manie’s penalty cancelled out Portia Boakye’s opener for Ghana.
Mali got a dramatic stoppage-time winner to beat Algeria 3-2 and also reach the semi-finals. Aissatou Diadhiou equalised with 7 minutes to go and Fatoumata Diarra grabbed the decider.
Thembi Kgatlana scored for the third successive match for South Africa and although Zambia swiftly levelled through Rachael Kundunaji, a 1-1 draw was enough for Banyana Banyana to top the table.
Nigeria hit Equatorial Guinea for six to take second place in the group, former Arsenal and Liverpool forward Asisat Oshoala netting a 20-minute hat-trick.
Tuesday’s semi-finals see Cameroon clash with Nigeria and then South Africa meet Mali, with the top three teams at the tournament qualifying for the World Cup.