Scotland pipped Kenya to secure their third World Cup appearance on Thursday while United Arab Emirates (UAE) also booked their ticket for next year's marquee 50-over tournament in Australia and New Zealand.
On the final day of the Super Sixes in Christchurch, Rob Taylor shrugged off his poor form and, batting at number eight, blasted 46 unbeaten runs off 37 balls to help Scotland reach the 261-run victory target with three balls to spare.
Opting to bat first, Kenya rode on Alex Obanda's 89 off 101 balls to post a competitive 260 before being all out on the last ball of the 50th over.
Matty Cross (55) and captain Preston Mommsen (78) shone with the bat for Scotland but it was Taylor's late assault that earned them a thrilling three-wicket victory and their first World Cup appearance since 2007.
At Rangiora, UAE beat Namibia by 36 runs to secure their second World Cup appearance, first since 1996.
Having decided to bat first, none of the UAE batsmen could reach fifty but they still put up 263 before folding in the final over.
Amjad Javed (3-35) was the pick of the UAE bowlers who first denied Namibia a flying start and claimed wickets at crucial times to restrict their opponents to 227 for nine.
Scotland and UAE will now play the tournament final at Bert Sutcliffe Oval on Saturday.
The winner of the contest will join England, Australia, Sri Lanka, Bangladesh, New Zealand and Afghanistan in Group A while the loser will be clubbed in Group B alongwith South Africa, India, Pakistan, West Indies, Zimbabwe and Ireland.
Image: The Cricket World Cup trophy
Photograph: Hannah Johnston/Getty Images for ICC