The S&P and the Dow Jones Industrial Average were higher in early afternoon trading on Friday, boosted by Nike's decision to sell on Amazon, while a fall in biotechnology stocks capped gains on the Nasdaq. Nike shares rose as much as 9.4 percent to a three-month high, after the world's largest footwear maker said it would launch a pilot program with Amazon.com to sell a limited product assortment on its website.
The Nasdaq biotech index was down 0.71 percent, dragged lower by Regeneron and Celgene.
The S&P technology index was up 0.28 percent but was still on track to post its biggest weekly loss in six months as worries about the sector's valuation prompted investors to buy defensive stocks.
"Tech has gone too far too fast and was due for a correction," said Terry Sandven, chief equity strategist at US Bank Wealth Management.
"The sector's valuation is elevated but hasn't reached a point of extreme concern because it is still a 'buy-the-dip' sector and is expected to grow further."
A fall in bank shares kept the financial sector flat with Wells Fargo and Goldman Sachs dragging down the S&P and the Dow.
All three indexes are on track to post weekly losses.
At 12:40 pm ET (1640 GMT), the Dow Jones Industrial Average was up 78.87 points, or 0.37 percent, at 21,365.9, the S&P 500 was up 6.23 points, or 0.25 percent, at 2,425.93.
The Nasdaq Composite was up 7.41 points, or 0.12 percent, at 6,151.76. The consumer discretionary index rose 0.72 percent and led the gainers among the major sectors.
With the Federal Reserve keen on further raising the interest rates this year despite inflation remaining below their 2 percent target, investors have been keeping an eye on economic data for clues on the state of the economy. Earlier in the day, data showed US consumer spending rose modestly in May while inflation cooled. Even so, another set of data showed the University of Michigan consumer sentiment index at its lowest since November.