The S&P 500 index turned higher while the Nasdaq and Dow sharply cut losses on Tuesday, helped by gains in shares of Goldman Sachs and in the energy and materials sectors.

The Dow Jones industrial average <.DJI> was down 10.44 points, or 0.10 percent, at 10,143.99. The Standard & Poor's 500 Index <.SPX> was up 2.34 points, or 0.22 percent, at 1,073.59. The Nasdaq Composite Index <.IXIC> was down 3.60 points, or 0.16 percent, at 2,194.63.

(Reporting by Caroline Valetkevitch; Editing by Kenneth Barry)