NEW YORK (CNNMoney) -- U.S. stocks moved higher Friday, capping a weekly gain, as upbeat corporate results outweighed a weaker-than-expected report on first-quarter economic growth.
The Dow Jones industrial average (Fortune 500) was the biggest drag on the Dow after the consumer staple company lowered its outlook for full-year earnings. The stock fell 4%.) rose 28 points, or 0.2%, to end at 13,228. Procter & Gamble ( ,
The S&P 500 () rose 4 points, or 0.3%, to 1,403. The Nasdaq ( ) added 18 points, or 0.6%, to 3,069.
Stocks started the week on a sour note, with a sharp selloff on Monday. But the Dow & S&P 500 have climbed for four days in a row, driven mainly by better-than-expected corporate earnings.
For the week, the Dow gained 1.5%. The S&P 500 advanced 1.8% and the Nasdaq is 2.3% higher for the week.
On Friday, the top performers on both the S&P 500 and Nasdaq were Expedia (Fortune 500). Expedia surged 23% after the travel booking website reported strong earnings late Thursday. Amazon jumped 15% after its results beat expectations and eased concerns about the online retailer's expansion.) and Amazon ( ,
Ford Motor (Fortune 500) shares fell 2% after it reported a 45% plunge in quarterly profit, because of losses in Europe and a slight dip in sales. But the automaker still managed to beat expectations.,
As of Thursday, 300 companies in the S&P 500 had reported earnings, and 70% of them beat estimates, according to Capital IQ.
Overall, Capital IQ expects earnings to grow 6.6% in the first quarter, or 4.5% excluding the profit machine that is Apple (Fortune 500).,
While that would be down from the fourth quarter, such earnings growth would still suggest that "the world isn't ending," said Jack Ablin, chief investment officer at Harris Private Bank.
"The market is trading at distrust discount, and increased confidence should allow stock prices to move higher, even if earnings don't," Ablin added.
Meanwhile, the U.S. government said first-quarter gross domestic product -- the broadest measure of the nation's economic health -- rose at an annual rate of 2.2%.
The report was weaker than expected. Economists surveyed by CNNMoney forecast that GDP grew at a 2.5% rate in the first quarter, down from 3% in the fourth quarter of 2011.
"While the economy continued to grow in the first quarter, the expansion remains modest in pace and subpar from a historical perspective," said Jim Baird, chief investment strategist for Plante Moran Financial Advisors.
After Thursday's closing bell, the S&P announced that it was downgrading Spain's credit rating from "A" to "BBB+," citing numerous drags on growth and an ailing banking sector that might require further government support.
On Friday, the Spanish government said unemployment rose to 24.4% in the first quarter.
U.S. stocks ended with gains Thursday as hopes for more Federal Reserve stimulus and positive housing data overtook worries about the job market and mixed corporate earnings.
But the company, which makes everything from batteries to laundry detergent, lowered its forecast for full-year profits.
P&G now expects 2012 earnings per share to be in the range of of $3.63 to $3.74, down from a range of $3.85 to $4.08.
The drug giant Merck (Fortune 500) reported that its quarterly earnings jumped 8% to 99 cents per share, excluding certain charges. But the company fell short of forecasts by Thomson One Analytics projecting earnings of $1.03 per share.,
Economy: A measure of consumer sentiment inched up to 76.4 in April, roughly in line with estimates. The University of Michigan Consumer Sentiment Index stood at 76.2 in March.
World markets: European stocks closed higher. London's FTSE 100 ( ) rose 0.5%, the CAC 40 ( ) in Paris gained 1.1% and the DAX ( ) in Frankfurt rose 0.9%.
Asian markets lost ground, despite steps by the Bank of Japan to further ease monetary policy there by announcing ¥5 trillion of additional asset purchases. The Shanghai Composite () shed 0.4%, while the Hang Seng ( ) in Hong Kong slipped 0.3% and Japan's Nikkei ( ) fell 0.4%.
Oil for June delivery rose 38 cents to $104.93 a barrel.
Gold futures for June delivery rose $4.30 to $1,664.80 an ounce.
Bonds: The price on the benchmark 10-year U.S. Treasury edged higher, pushing the yield down to 1.95%.
|What we want Apple to unveil at WWDC|
|Millennials squeezed out of buying a home|
|7 traits the rich have in common|
|Big Data knows you're sick, tired and depressed|
|Your car is a giant computer - and it can be hacked|
|Overnight Avg Rate||Latest||Change||Last Week|
|30 yr fixed||3.86%||3.92%|
|15 yr fixed||3.03%||3.05%|
|30 yr refi||3.94%||3.98%|
|15 yr refi||3.12%||3.14%|
Today's featured rates: