The standings at the moment: SA - 8 points (5 matches); India - 7 (5); England - 7 (6); WI - 6 (5); Bangladesh - 6 (5)
SA have already qualified for the quarterfinals. Ireland and Netherlands are out of contention with one match left against each other.
1st Scenario - South Africa beat Bangladesh [Most likely]
India and England will be through to the QFs.
If WI beat India, they will qualify.
If WI lose to India, they will need a better NRR than Bangladesh to qualify.
If WI tie with India, they will qualify.
2nd Scenario - Bangladesh beat South Africa [Not very likely]
Bangladesh will qualify for quarterfinals
WI will have to beat India to reach the QFs
SA have already qualified for the quarterfinals. Ireland and Netherlands are out of contention with one match left against each other.
1st Scenario - South Africa beat Bangladesh [Most likely]
India and England will be through to the QFs.
If WI beat India, they will qualify.
If WI lose to India, they will need a better NRR than Bangladesh to qualify.
If WI tie with India, they will qualify.
2nd Scenario - Bangladesh beat South Africa [Not very likely]
Bangladesh will qualify for quarterfinals
WI will have to beat India to reach the QFs