Stocks decline for the week, but gain for the day the chart for more market data. By Ken Sweet, contributing writer

NEW YORK(CNNMoney) -- U.S. stocks finished the week lower as concerns about corporate results plagued the market. But Friday's session resulted in gains after positive news about inflation and consumer sentiment.

For the week, the Dow Jones industrial average (INDU) lost 0.4%, and both the S&P 500 and Nasdaq lost 0.7%. Big losses on Tuesday, triggered by disappointment about Alcoa's results and a spike in oil prices, couldn't be overcome the rest of the week.

The Dow rose 57 points Friday, or 0.5%, to 12,342; the S&P 500 (SPX) gained 5 points, or 0.4%, to 1,320.

The Nasdaq Composite (COMP) lagged the other two indexes, adding 4 points, or 0.2%. The tech-heavy index was weighed down by a 8% drop in Google (GOOG, Fortune 500) shares, which fell after the company reported a profit of $8.08 a share late Thursday, missing Wall Street analyst forecasts.

Investors focused Friday on economic reports.

The Labor Department's latest Consumer Price Index showed prices rose 0.5% in March. While the inflation data was in line with expectations, core CPI -- which strips out volatile food and energy prices -- came in lower than forecasts, rising 0.1% during the month.

Although gas and food have soared recently, core CPI has remained relatively tame.

"We're starting to see companies passing along their costs to consumers, and that's going to be an ongoing concern," said Bruce McCain, chief investment strategist at Key Private Bank.

Investors also welcomed a positive economic report from the University of Michigan, whose U.S. consumer sentiment index rose to a reading of 69.6 in April from 67.5 in March. Economists had been looking for a reading of 69. Stocks moved higher after the report.

"It's not going to be a straight line up, but things are just generally getting better," said Harry Clark, CEO of Clark Capital Management.

The biggest drag on the Dow was Bank of America (BAC, Fortune 500), whose shares slipped more than 2% after the bank's earnings fell short of analyst estimates. BofA said it earned a profit of 17 cents a share while analysts were looking for a profit of 27 cents a share.

Clark said investors are setting up for next week, when more than a fifth of S&P 500 companies will report their quarterly results.

"Earnings are going to be positive overall, and that's going to be bullish for the market until the summer," he said.

U.S. stocks ended little changed Thursday, erasing bigger losses from earlier in the session, as commodities and energy stocks climbed. The gains in oil offset weakness in the banking and technology sectors.

Economy: The Federal Reserve said U.S. industrial production rose 0.8% in March, marginally better than the 0.6% expected by economists.

Companies: Mattel (MAT, Fortune 500) shares rose 4%, making it among the best-performing stocks in the S&P 500, after the toy maker posted a first-quarter profit of 5 cents a share, a penny better than expectations.

World markets: Globally, investors mulled the latest economic data from China, which showed that the world's second-largest economy grew at a 9.7% pace year-over-year in the first quarter. That rate was faster than economists had expected.

Meanwhile, inflation rose at a feverish pace of 5% in the first quarter, led by surging food prices.

Asian markets ended mixed. The Shanghai Composite rose 0.3%, the Hang Seng in Hong Kong was flat and Japan's Nikkei fell 0.7%.

In Europe, Ireland was hit with another downgrade from Moody's Investors Service, which cut the country's credit rating to "Baa3," one notch above junk status.

European stocks closed higher. Britain's FTSE 100 gained 0.5%, the DAX in Germany added 0.4% and France's CAC 40 was up 0.1%.

Currencies and commodities: The dollar rose against the euro, but fell versus the Japanese yen and the British pound.

Oil for May delivery rose $1.30 to $109.41 a barrel.

Gold futures for June delivery rose $14.90 to $1,486.80 an ounce, heading for yet another record close for the precious metal.

Bonds: The price on the benchmark 10-year U.S. Treasury rose, pushing the yield down to 3.41% from 3.49% late Thursday.  To top of page

Just the hot list include
Frontline troops push for solar energy
The U.S. Marines are testing renewable energy technologies like solar to reduce costs and casualties associated with fossil fuels. Play
25 Best Places to find rich singles
Looking for Mr. or Ms. Moneybags? Hunt down the perfect mate in these wealthy cities, which are brimming with unattached professionals. More
Fun festivals: Twins to mustard to pirates!
You'll see double in Twinsburg, Ohio, and Ketchup lovers should beware in Middleton, WI. Here's some of the best and strangest town festivals. Play
Overnight Avg Rate Latest Change Last Week
30 yr fixed3.80%3.88%
15 yr fixed3.20%3.23%
5/1 ARM3.84%3.88%
30 yr refi3.82%3.93%
15 yr refi3.20%3.23%
Rate data provided
View rates in your area
Find personalized rates:
Index Last Change % Change
Dow 32,627.97 -234.33 -0.71%
Nasdaq 13,215.24 99.07 0.76%
S&P 500 3,913.10 -2.36 -0.06%
Treasuries 1.73 0.00 0.12%
Data as of 6:29am ET
Company Price Change % Change
Ford Motor Co 8.29 0.05 0.61%
Advanced Micro Devic... 54.59 0.70 1.30%
Cisco Systems Inc 47.49 -2.44 -4.89%
General Electric Co 13.00 -0.16 -1.22%
Kraft Heinz Co 27.84 -2.20 -7.32%
Data as of 2:44pm ET


Bankrupt toy retailer tells bankruptcy court it is looking at possibly reviving the Toys 'R' Us and Babies 'R' Us brands. More

Land O'Lakes CEO Beth Ford charts her career path, from her first job to becoming the first openly gay CEO at a Fortune 500 company in an interview with CNN's Boss Files. More

Most stock quote data provided by BATS. Market indices are shown in real time, except for the DJIA, which is delayed by two minutes. All times are ET. Disclaimer. Morningstar: © 2018 Morningstar, Inc. All Rights Reserved. Factset: FactSet Research Systems Inc. 2018. All rights reserved. Chicago Mercantile Association: Certain market data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Dow Jones: The Dow Jones branded indices are proprietary to and are calculated, distributed and marketed by DJI Opco, a subsidiary of S&P Dow Jones Indices LLC and have been licensed for use to S&P Opco, LLC and CNN. Standard & Poor's and S&P are registered trademarks of Standard & Poor's Financial Services LLC and Dow Jones is a registered trademark of Dow Jones Trademark Holdings LLC. All content of the Dow Jones branded indices © S&P Dow Jones Indices LLC 2018 and/or its affiliates.