Will Smeed fell two short of a first Vitality Blast century as Somerset secured a home quarter-final with a 47-run win over South Group winners Surrey at the Cooper Associates County Ground.

The 20-year-old opener smashed 10 fours and five sixes in his 51-ball innings, sharing a scintillating third-wicket stand of 165 in 12.3 overs with skipper Tom Abell, who hit 70 off 36, to help the hosts reach 218-8 after losing the toss.

In reply, Surrey posted 171, Chris Jordan making a career-best 73 from 35 balls, with seven fours and four sixes, but only Laurie Evans (39) offering any meaningful support. Craig Overton returned 4-25. The result meant Somerset finished runners-up to their opponents in the group.

Abell joined Smeed at the end of the fourth over, which had seen Tom Banton run himself out for nine attempting a second run and Rilee Rossouw caught in the deep second ball.

Surrey could feel satisfied at the end of the six-over powerplay, reached with the home side 44-2.

But the next 10 and a half overs saw Smeed and Abell smite 150, clearing the ropes eight times between them. Their partnership also yielded 17 fours.

Smeed brought up a 29-ball fifty in the 10th over and the century stand was completed three overs later from 53 deliveries.

Abell lost nothing in comparison with his partner and moved to a half-century off 27 balls in the 14th over, sent down by Cameron Steel, which cost 23.

Somerset looked on course for 250 until Reece Topley returned to have the captain caught at deep backward square, having faced 51 deliveries, and Smeed followed in the same over, miscuing a catch to deep mid-wicket.

At that point, Somerset were 197-4 with three overs to build. But Topley finished with a creditable 2-26 while Gus Atkinson and Jordan, who claimed three wickets in the final over, ensured only 21 were added.

Surrey made a nightmare start to their innings, Craig Overton having Will Jacks and Tom Curran caught at mid-on off the second and fourth balls of the opening over.

The seamer followed up by having Jamie Smith taken at slip in the third over to leave the visitors 11-3.

Evans and Jordan addressed a potentially embarrassing situation with aplomb. When Jordan hit Lewis Gregory for 6,6,4,6 in a ninth over that cost 23, his side were back in the game.

Evans had faced 32 balls, hitting three fours and two sixes, when Roelof van der Merwe had him caught at long-off in the 10th over which ended with Surrey 94 for four.

Jordan breezed to his maiden Blast fifty off 22 balls, with five fours and two sixes, but it never looked like being enough.

There was a nice sub-plot in the 14th over when Craig Overton bowled to twin brother Jamie, who had struck him with a bouncer and forced him to retire from the LV= Insurance County Championship clash between the sides at Taunton this season.

Revenge was sweet when Jamie edged the fifth delivery though to wicketkeeper Tom Banton and Craig celebrated football-style.

When Jordan fell to Peter Siddle in the 17th over, caught at deep extra cover by George Bartlett - substituting for Abell, who had injured himself batting - Surrey's race was run.

Atkinson was unable to bat as his side suffered only their third group defeat.

Somerset will host Derbyshire Falcons in the quarter-finals on Saturday July 9 (7pm).

Other ties: Surrey v Yorkshire (July 6, 6.30pm); Birmingham v Hampshire (July 7, 6.30pm); Lancashire v Essex (July 8, 6.30pm).