ICC Champions Trophy, Johannesburg:
New Zealand 315-7 (50 overs) beat Sri Lanka 277 all out (46.4 overs) by 38 runs
Ryder smashed 10 fours and a six in his innings
Jesse Ryder smashed 74 with the aid of a runner to help New Zealand beat Sri Lanka by 38 runs and keep alive their Champions Trophy semi-final hopes.
Opener Ryder hurt his groin seven balls into his innings and will miss the rest of the tournament, but he still put on 125 with Brendon McCullum (46).
Martin Guptill (66) and Daniel Vettori (48) helped steer New Zealand to 315-7.
Mahela Jayawardene hit 77 and Nuwan Kulasekara an unbeaten 57 but Sri Lanka were all out for 277 in Johannesburg.
Having finished their Group B campaign with one victory and one defeat, they must now hope England beat New Zealand on Tuesday to allow them to sneak through to the last four on run-rate.
New Zealand meanwhile, beaten by South Africa in their first match, can guarantee their qualification if they beat England, who secured their semi-final place by defeating South Africa in Sunday's second match.
We probably didn't bowl as well as we could have, especially with the early assistance in the track
Sri Lanka's Kumar Sangakkara
Skipper Vettori, named man of the match for his all-round efforts, was thrilled with the way his side rose to the challenge.
"It's a crucial win and obviously keeps us alive in the tournament and that's the most important bit," he said.
"But the manner of the win is something that is really pleasing to ourselves and to our fans back home."
Sri Lanka skipper Kumar Sangakkara felt his side's fielding let them down.
"Forget the bowling and the batting, we haven't been doing fielding well for the past six months," he said.
"We've got to really go back to basics. We probably didn't bowl as well as we could have either, especially with the early assistance in the track."
Ryder, whose 50 came off just 28 balls, faced 58 balls in total and blasted 10 fours and a six as he threw caution to the wind.
McCullum's 46 came at a slower pace off 72 balls, but the pair set the standard for the innings.
Sri Lanka, who dropped spinner Muttiah Muralitharan, hit back with five wickets for 36 runs to reduce the Black Caps to 161-5 but Guptill and skipper Vettori put on a quickfire 69 and then James Franklin bashed 28 off 21 balls and Kyle Mills 18 off six balls in a thrilling finish.
Sri Lanka openers Tillakaratne Dilshan and Sanath Jayasuriya had put on 66 when Jayasuriya fell for 24 and then Dilshan (41) followed just one run later.
It's very sad for him and I don't think it is a good prognosis
Vettori on Ryder's injury
Jayawardene tried to anchor his side's innings and struck two sixes in his 85 balls, but when he was the seventh wicket to fall, bowled by Vettori, the run-chase was all-but over.
Kulasekara clubbed 57 from 56 balls, hitting four sixes in the process, but the innings came to an end when Daryl Tuffey removed Ajantha Mendis for three in the 47th over.
It was later confirmed that Ryder, who was fined 15% of his match fee after breaking a chair with his bat following his dismissal, had torn an abductor muscle.
Batsman Aaron Redmond, who has played seven Tests but has never before represented his country in an ODI, has been called up as a replacement.