A slide in crude oil prices weighed on energy companies, pulling U.S. stock indexes mostly lower Monday.
Industrial companies and utilities rose, while retailers posted solid gains on reports the holiday shopping season is off to a strong start.
Investors also cheered some corporate deals and looked ahead to several economic reports and potential market-moving news out of Washington this week.
The Standard & Poor's 500 index slipped 1 point, or 0.04 percent, to 2,601.42.
The Dow Jones industrial average edged up 22.79 points, or 0.1 percent, to 23,580.78.
The Nasdaq composite fell 10.64 points, or 0.2 percent, to 6,878.52.
The Russell 2000 index of smaller-company stocks lost 5.85 points, or 0.4 percent, to 1,513.31.
For the year:
The S&P 500 is up 362.59 points, or 16.2 percent.
The Dow is up 3,818.18 points, or 19.3 percent.
The Nasdaq is up 1,495.40 points, or 27.8 percent.
The Russell 2000 is up 156.18 points, or 11.5 percent.