A sharp drop in Apple's stock pulled the Nasdaq down with it after the tech giant predicted weaker sales. Other indexes were mixed. The Standard & Poor's 500 briefly crossed above 1,500 for the first time since December 2007.
The Dow Jones industrial average rose 46.00 points, or 0.3 percent, to close at 13,825.33.
The Standard & Poor's 500 index rose 0.01 of a point, or less than 0.1 percent, to 1,494.82.
The Nasdaq composite lost 23.29 points, or 0.7 percent, to 3,130.38.
For the week:
The Dow is up 175.63, or 1.3 percent.
The S&P 500 is up 8.84, or 0.6 percent.
The Nasdaq is down 4.33, or 0.1 percent.
For the year:
The Dow is up 721.19, or 5.5 percent.
The S&P 500 is up 68.63, or 4.8 percent.
The Nasdaq is up 110.87, or 3.7 percent.