Somerset kept their T20 Blast title defence alive with a commanding 78-run victory over Worcestershire in a decisive winner-takes-all clash, booking their place in the quarter-finals.
Will Smeed's half-century set Somerset on course for a target of 195, before Jack Leach and Riley Meredith each took three wickets to bowl out Worcestershire for just 116.
Essex cruised past Surrey by eight wickets at The Kia Oval to qualify as one of the best third-placed teams, dashing Lancashire's hopes despite their win over Durham earlier on Sunday.
Yorkshire continued their quest for a first T20 Blast title with an 18-run win over Nottinghamshire at Headingley. Adam Lyth's 52 helped the home side post 193, while Joe Root took two wickets to restrict the visitors.
Hampshire secured a home quarter-final after beating Sussex in the South Group, while Northamptonshire, already assured top spot in the Central & West Group, slumped to their third defeat in four matches.
T20 Blast Quarter-Final Draw (Matches at 16:30 BST on Wednesday, 15 July unless stated)
- Utilita Bowl: Hampshire Hawks v Essex
- Trent Bridge: Nottinghamshire Outlaws v Surrey
- Headingley: Yorkshire v Somerset
- cinch County Ground: Northamptonshire Steelbacks v Gloucestershire (17:00)
North Group
Yorkshire made a blistering start against Nottinghamshire as Lyth and Will Luxton (38) shared an 89-run stand inside the first eight overs. Jonny Bairstow (32) and Logan van Beek (28) helped set a target of 194. Despite late resistance from Dillon Pennington (37), Andrew Tye (3-18) and Hassan Ali (2-30) ensured victory.
Lancashire beat Durham by four wickets at Old Trafford after bowling them out for 141. Shadab Khan and Saqib Mahmood took three wickets each, but a late three-wicket burst from Ben Raine (4-21) made it tense before Keaton Jennings (41 not out) saw them home with two balls to spare. However, Essex's win meant Lancashire finished on 26 points, two behind the best third-placed teams.
Derbyshire Falcons thrashed Leicestershire Foxes by seven wickets, with captain Aneurin Donald smashing a career-best 91. Akif Javed took T20-best figures of 4-23.
South Group
Surrey slipped from 42-1 to 123 all out against Essex, with Matt Critchley taking 3-16. Michael Pepper hit an unbeaten 71 as Essex chased down the target inside 17 overs, condemning Surrey to second place and a away quarter-final.
Hilton Cartwright (70 off 31 balls) and Ben Mayes (55 not out) rescued Hampshire from 61-5 to chase down 187 against Sussex, winning off the penultimate ball. Dan Hughes scored 55 for Sussex, who finished bottom of the group.
Middlesex ended their campaign with a 14-run win over Kent. Zafar Gohar took 3-38 as Kent fell short of 172-6.
Central & West Group
In a winner-takes-all clash, Somerset dominated Worcestershire. Will Smeed (52) and Thomas Rew (42) set a platform, then Riley Meredith (3-17) and Jack Leach (3-20) skittled the Rapids for 116. Somerset won five of their last six group matches to finish second.
Warwickshire avoided the wooden spoon by beating Northamptonshire by five wickets. Beau Webster took 3-30, and Kai Smith (65 not out) and Sam Hain (48 not out) shared a match-winning partnership.
Glamorgan crushed already-qualified Gloucestershire by 50 runs, piling up 235-7 behind Kiran Carlson's 73. Gloucestershire fell well short in reply.