NEW YORK (AP) — Microsoft and IBM drove the Dow Jones industrial average up in Friday trading after the tech giants reported stronger earnings than analysts had expected.
But an earnings miss by Google caused its stock to plunge Friday, and other indexes were slightly lower.
The Dow rose 56 points to 12,680 as of 2:15 p.m. Eastern time. That's a gain of 0.4 percent.
Microsoft said sales of Xbox games and Office software helped push revenue up in the last quarter of 2011. IBM credited better sales of software and services and raised its earnings outlook for the year. Microsoft rose 5 percent and IBM rose 4 percent.
In other trading, the Standard & Poor's 500 index fell 4 points, or 0.3 percent, to 1,310. The Nasdaq composite fell 8, or 0.3 percent, to 2,780.
Plenty of things are going right, said Frank Fantozzi, CEO of Planned Financial Services, an independent wealth manager in Cleveland. Applications for unemployment benefits dropped last week to the lowest level in nearly four years. Housing sales are steadily rising. And even though high-profile companies such as Google and JPMorgan Chase have posted disappointing earnings results in the past week, the bulk of companies are beating estimates, he said.
"Overall, we're moving in the right direction and it's bolstered the market," Fantozzi said. "The S&P getting over 1,300 this week is a nice sign.
Google lost 8.2 percent after its earnings per share fell a dollar short of analysts' estimates. The misfire stemmed from an 8 percent drop in prices that the Internet search giant charges advertisers for each click.
In another sign that investors were becoming more willing to take on risk, the yield on the 10-year Treasury note rose to 2.03 percent, the first time its been above 2 percent in two weeks. The yield, a widely used benchmark for corporate and consumer borrowing, has been mostly trading below 2 percent since early December as investors park money in relatively low-risk assets.
The National Association of Realtors said that home sales rose 5 percent in December, the third straight monthly increase.
Concerns about debt talks in Greece still hang over the market. Greece is in the middle of talks with creditors to reduce its debts and avoid a default. A deal is needed to help Greece avoid a default when a €14.5 billion bond repayment comes due in March.
Among other companies in the news:
— Capital One Financial lost 6 percent. The bank and credit-card company's earnings sank 41 percent as expenses for marketing, salaries and legal fees jumped compared with the year before.
— Schlumberger rose less than 1 percent. The oil-field services company's quarterly profit surged 36 percent, helped by exploration work in the Middle East and Africa. The company also raised its quarterly dividend to 27.5 cents.
All three indexes are on track to end the week with gains. The Dow is up 2 percent and the S&P 500 1.7 percent.
Stocks have been on a slow and steady climb to start 2012. The S&P 500 has closed higher on 10 of 12 days and is up 4.2 percent for the year.