MEN'S T20 BLAST ROUNDUP: Farhan Ahmed (5 for 25) took a hat-trick for the knocked-out Nottinghamshire in their win over Lancashire, while Tom Latham smashed a century to earn Birmingham Bears a spot in the quarter-finals
Derby: Birmingham Bears 233-5, Derbyshire 106 - Bears won by 127 runs
A dazzling century from Tom Latham inspired the Bears to a 127-run victory over Derbyshire Falcons at the Central Co-op County Ground and a place in the T20 Blast quarter-finals.
Latham hit eight sixes in a 51-ball 104 and shared an opening stand of 187 from 98 balls with Alex Davies, whose 89 off 54 included six maximums.
Although Ben Aitchison took three wickets in the last over to finish with 4 for 45, the Bears rattled up 233 for 5 with Falcons skipper Samit Patel finishing wicketless in his last game before leaving the club.
The 40-year-old all-rounder also failed with the bat as his side slipped to 41 for 4 at the end of the powerplay and ended on 106 with Jake Lintott taking 3 for 27 while Richard Gleeson claimed 2 for 9 and Danny Briggs took 2 for 13.
***
Chester-le-Street: Durham 204-1, Northamptonshire 203-5 - Durham won by nine wickets
Durham secured a home quarter-final in the T20 Blast as a record-breaking partnership from centurion Alex Lees and Graham Clark led them to a resounding nine-wicket win over Northamptonshire Steelbacks.
Steelbacks won the toss and batted first, and David Willey (62) exploited on a platform set by Matthew Breetzke (52) with some destructive hitting, but an excellent spell from Matthew Potts helped reel Northants in late on as they finished on 203 for 5.
Lees and Clark made an excellent start to the Durham chase as they raced to 100 within eight overs, and they continued the charge as they broke the record for Durham's highest T20 partnership, previously held by the same pair against the same team.
The pair made the chase look easy, with them hitting 12 sixes between them in a partnership worth 181, while Lees reached his maiden T20 century as he steered his side home with plenty of time to spare.
Related: Pressure-free cricket sparks the best in Essex and Jordan Cox

Farhan Ahmed took a hat-trick against Lancashire during a maiden T20 five-wicket haul (Jas Ghata)
Grace Road: Leicestershire 185, Yorkshire 188-8 - Yorkshire won by two wickets
Yorkshire ensured they would at least not finish bottom of the North Group table as they ended a disappointing season with a two-wicket away victory over Leicestershire Foxes in the T20 Blast after a dramatic finish at the Uptonsteel County Ground.
Needing 13 off the last over, they looked to have missed out when a brilliant piece of combination fielding saw Jordan Thompson out with three balls left and 11 still needed, only for Matt Milnes to hit Josh Hull for back-to-back sixes off the last two deliveries to clinch the points.
Leicestershire, who began the night still with an outside chance of qualifying for the quarter-finals, contingent first on them winning, posted 185 but after Ben Cox (43) and Rehan Ahmed (43) provided the platform for a 200-plus total, they lost their last six wickets for 24 and were bowled out in 18.5 overs.
Although Milnes was the star at the death, Pakistan international Abdullah Shafique (64 off 38 balls) and Matthew Revis (52 off 32) had made it possible with a county record fifth-wicket stand of 122 as Yorkshire recovered from 23 for 4.
Trent Bridge: Nottinghamshire 127-6, Lancashire 126 - Notts Outlaws won by four wickets
A hat-trick and a maiden white-ball five-wicket haul for 17-year-old Nottinghamshire's Fahran Ahmed helped bowl out Lancashire for 126 in the T20 Blast at Trent Bridge.
But Notts were soon struggling to cope themselves with a turning pitch as England slow left-armer Tom Hartley claimed two wickets in the reply's second over and at 14 for 4 after 17 balls, the modest target seemed far distant. At which point the left-hander Tom Moores, in wonderful batting form all campaign, arrived to pass an outstanding fifty from only 23 balls en route to claiming the match.
His 81-run stand at nine per over with Lyndon James, out for 20, left 32 needed from 50 balls when James, bowled cutting at Luke Wells's leg-spin, departed. But Moores himself had reached 75 from 42 balls when trying to complete a second run for his new partner Dan Sams to complete the win he was beaten by a direct hit from Chris Green.
Victory came next ball at 127 for 6 with 28 balls to spare. It was Moores' highest score of this campaign and only six short of his best in all his 168 innings in both white-ball formats.
Cardiff: Glamorgan 184-9, Middlesex 132 - Glamorgan won by 52 runs
Glamorgan finished their T20 Blast campaign in bitter-sweet fashion, completing a 52-run win over Middlesex despite failing to qualify for the qualification stages at the final hurdle.
Kiran Carlson led from the front for Glamorgan with a rapid 19-ball 49, sending his side to a 77-run powerplay before finishing on 184 for 9 with support from Ben Kellaway (40).
Noah Corwell took three wickets in four balls for the visitors to claw back their chances, with Kane Williamson striking a stylish 63 in vain for Middlesex before Dan Douthwaite finished off the Middlesex tail for 132 with figures of 4 for 22.
Despite the comprehensive victory, wins already completed elsewhere before Glamorgan could confirm victory themselves left them short of qualification, while Middlesex finished the campaign in a disappointing eighth with just three wins.
Canterbury: Essex 172-6, Kent 173-3 - Kent Spitfires won by seven wickets
Kent Spitfires are through to the T20 Blast quarter-finals after a thrilling final evening at Canterbury.
Spitfires eased to a seven-wicket win over Essex, and thousands of fans stayed in the ground to watch Surrey's nerve-shredding win over Sussex on the big screen, a result that confirmed Kent's place in the top four.
Kent held Essex to 172 for 6 after they'd raced to 65 for 0 after the powerplay. Paul Walter top-scored with 52 while Charlie Allison hit 48.
A 114-run partnership between, Tawanda Muyeye, who made 80 from 49 balls and Harry Finch, who hit 64 from 35, effectively won Kent the game before Sam Billings hit the winning runs with 16 balls to spare.
Related: London Derby dead rubber throws up moments of intrigue as Surrey extend Lord's winning run

Kiran Carlson made a rapid 49 as Glamorgan ended their campaign, which fell off late, with a win (Huw Evans Picture Agency)
Taunton: Somerset 164-7, Gloucestershire 148-8 - Somerset won by 16 runs
Ben Green conjured up an incisive performance with bat and ball as Somerset beat arch rivals Gloucestershire by 16 runs in a hard-fought T20 Blast encounter beneath the Taunton floodlights.
So often an unsung hero in the short format, Green top-scored with 36 not out from 22 balls with 3 sixes and dominated a crucial unbeaten stand of 42 for the eighth wicket with Craig Overton as Somerset posted 164 for 7 on a turning pitch after winning the toss.
He then returned figures of 1 for 27 from four overs as Gloucestershire, buoyed by another half century from overseas star D'Arcy Short, were restricted to 148 for 8, much to the delight of a sell-out crowd.
Gloucestershire skipper Jack Taylor claimed 3-19 with his off breaks and his brother, Matt, 2 for 11 as the visitors made Somerset graft on a used surface. In the final analysis, Green's heroics at the death made the difference in an uncharacteristically low-scoring contest.
Hove: Surrey 204-5, Sussex 197-7 - Surrey won by seven runs
Will Jacks, with a magnificent 58-ball century, and Sam Curran and Chris Jordan, with some canny late bowling, inspired Surrey to their 11th victory in 14 T20 Blast games and snuffed out Sussex's hopes of winning the last quarter-final berth from the south group.
Jacks powered three sixes and a dozen boundaries as he put on 65 for the first wicket with Ryan Patel and then 97 with Jason Roy as Surrey scaled the 200 mark with a last-ball six from Tom Curran over long-off off Tymal Mills.
It all looked too much for the Sussex Sharks. But they were heroic in defeat. Knowing they had to win go qualify for the latter stages of the competition, with results going against them elsewhere, they strove valiantly for victory.
Daniel Hughes, who has been disappointed with his return in the competition this year, plundered 75 from 43 balls, keeping his side in the hunt as he hit former Sussex man Jordan for four fours in over, before lofting Jamie Overton for a straight six.
When Hughes was bowled, backing away to cut Jacks, it again looked difficult for Sussex.