Mike Conley and Zach Randolph made the critical plays in the final 68 seconds and the Grizzlies pulled out a 97-91 victory over Phoenix that clinched the last playoff spot in the West and eliminated the Suns from postseason competition.
Randolph scored 32 points to lead the inside power game that was just enough for Memphis to beat the Suns for the fourth time in four games this season.
There were 15 lead changes in an intense fourth quarter, with Memphis scoring the final seven after Phoenix took a 91-90 lead on Miles Plumlee's tip-in with 1:27 to play.
Conley, taking a pass from Randolph, followed with a 3-pointer that put the Grizzlies up 93-91 with 1:08 to go. It was the first go-ahead 3 of Conley's career with two minutes or less remaining in a game.
Dragic threw the ball away on Phoenix's next possession and Randolph scored the final two of his 32 points to give Memphis a 95-91 cushion with 47.4 seconds to go.
"It's stressful, being in a game that both teams are going back and forth," Conley said. "Every time we made a play, they made a play. Give them credit, they played their hearts out. We were just able to make enough plays down the stretch."
Memphis weathered 19 turnovers to win its fourth straight, a streak that began with a win over Miami.
"We've needed every game basically since February it seems like," Conley said. "We've played every game like a playoff game. It's been fun to be part of a group that comes in and stays focused and to get back in the playoffs. It's huge from where we started off this season."
The Grizzlies were 10-15 after a loss to Dallas on Dec. 18.
"This is a culmination of not just this week or not just March or April, this is a culmination of everything we've been through since December," first-year Memphis coach David Joerger said. "For these guys, it's a happy locker room, a relieved locker room and just a bunch of very proud guys with great chemistry."
The Grizzlies can move ahead of Dallas for the No. 7 spot with a victory at home over the Mavericks in their regular-season finale Wednesday night.
The Suns lost their third straight to come up just short of the playoffs in a remarkable turnaround season under first-year coach Jeff Hornacek, winning 22 more games than a year ago, with one to play, after going 25-57 in 2013.
"It's really tough to say something positive right now," Dragic said. "Nobody expected us to play so good. We built some good chemistry with this team. A lot of new faces, a lot of young guys, new coaching staff, new GM, so I think we're headed in the right direction.
"When you are so close to the playoffs, you always want some little bit more."
Phoenix is only the fifth team in NBA history to win 47 games and not make the playoffs.
"These are the hardest games to win," Hornacek said, recalling his days as a player. "You have to do everything right. You can't have bad stretches."
The last of Miller's five 3-pointers -- in six attempts -- put the Grizzlies 86-85 with 3:10 to go. Miles Plumlee made a 16-footer and Phoenix led 87-86, then Gasol scored on a driving layup and Memphis was on top 88-87 with 2:23 left.
Bledsoe's 15-footer gave the lead back to Phoenix, then Conley sank a 20-footer, a hint of what was about to come, to make it 90-89 Memphis. Then came Plumlee's tip-in and Phoenix's final lead.
An early 15-4 run put the Grizzlies up 22-11 and it was 24-14 at the end of the first quarter.
Memphis took its biggest lead, 44-31, when Randolph converted a three-point play with 2:54 to play in the second quarter. But the Grizzlies didn't score again in the half.
Bledsoe ended the Suns' string of eight straight missed 3-pointers and Phoenix scored the final nine points of the half to cut it to 46-42 at the beak. It could have been closer. Bledsoe missed a free throw what could have been a 3-point play and, after a Memphis turnover, P.J. Tucker took an off-balance shot before the halftime buzzer when Bledsoe was wide open for a layup.
The Suns' run continued in the third quarter, when Phoenix outscored Memphis 11-4 to start the period and took a 53-50 lead on Channing Frye's 16-foooter. Nobody led by more than six points the rest of the quarter, with Tony Allen going coast-to-coast in the final seconds for a layup that tied it at 67 entering the fourth.
The Suns haven't made the playoffs since 2010. ... The Suns conclude their season at Sacramento on Wednesday night. ... Of Memphis' potential first-round foes, the Grizzles were 0-4 this season against San Antonio, 1-2 against Oklahoma City.
Can Kawhi Leonard and the Spurs stop Kevin Durant and Russell Westbrook? Which team could handle the Warriors? Our 5-on-5 crew forecasts the Spurs-Thunder series.
Luke Walton said it was a "tough decision" to leave the Warriors to become the Lakers' new head coach but one the former Los Angeles big man was prepared to make.
Luke Walton tells Marc Stein that he was a little surprised the Lakers deal got done as quickly as it did and says he feels comfortable with the organization, young players and salary cap flexibility.