The Dow Jones industrial average rose 29.92 to 5,697.11, recovering from a plunge of more than 85 points in early trading as investors scooped up bargains.
Decliners led advancers by a margin of more than 8-to-3 on the New York Stock Exchange, with 671 up, 1,816 down. Earlier in the session, the decline-advance ratio was wider than 14-to-1.
NYSE volume totaled 445.54 million shares vs. 463.14 million Thursday.
Broad-market indexes ended lower, but rebounded from sharper losses in a dramatic display of the resiliency of this year's rally.
The NYSE composite fell 0.49 to 360.61, but the S&P 500 list rose 0.27 to 673.30, rebounding from a loss of more than 10-1/2 points.
The Nasdaq composite fell 5.25 to 1,227.27, and the American Stock Exchange's market value index slipped 3.53 to 599.31, its first close below 600 since May 13.
Before the stock market opened, the Labor Department reported that payroll jobs surged by 348,000 last month, more than double what had been expected.
It was the latest in a series of monthly employment readings that have jolted the bond market with indications of increased spending power. More spending can create too much demand and rapid inflation, which hurts the value of fixed-income investments such as bonds.