Stocks rose on Friday after the Commerce Department said businesses are restocking inventory faster than had been expected. The news, 90 minutes after trading began, turned around what had been a down morning on Wall Street.

The gains were broad, and nine out of 10 sectors in the Standard & Poor's 500 index rose. Only energy stocks fell as a group, following oil and other energy prices lower.

The Dow Jones industrial average rose 93.24 points, or 0.8 percent, to close at 12,554.20.

The Standard & Poor's 500 index rose 10.67 points, or 0.8 percent, to 1,325.66.

The Nasdaq composite rose 27.40 points, or 1 percent, to 2,858.42.

For the week:

The Dow is up 435.63 points, or 3.6 percent.

The S&P 500 is up 47.62 points, or 3.7 percent.

The Nasdaq is up 110.94 points, or 4 percent.

For the year so far:

The Dow is up 336.64 points, or 2.8 percent.

The S&P 500 is up 68.06 points, or 5.4 percent.

The Nasdaq is up 253.27 points, or 9.7 percent.