It was all too familiar among companies in the manufacturing sector on Friday: solid (if perhaps unspectacular) results, followed by a hammering by the market.

That was certainly the way it was for 3M (NYSE:MMM), the St. Paul-based manufacturer of all manner of items from Scotch tape and Post-It notes, to optical films for LCD televisions, to roofing granules, to medical and surgical supplies. But despite rolling out record third-quarter sales and earnings, the company watched its shares tumble more than 8.5% on the day amid an increasingly cautious look ahead by a variety of companies.

For the quarter, 3M checked in with net income of $960 million, or $1.32 per share, compared to $894 million, or $1.18 a share, in the third quarter of 2006. If you back out a one-time item, the company earned $1.29 a share, a couple of pennies higher than the dart throwers apparently had been expecting. Sales were up 5.5%, but they rose 9.4% without the effect of businesses that have now been divested.

Sales for 3M's operating sectors were anywhere from 2% higher (display and graphics) to up 21% (health care, allowing for the divestiture of the branded pharmaceuticals business). But unlike some other companies that have rolled out their September results, including the world's leading equipment manufacturer, Caterpillar (NYSE:CAT), the future still appears relatively bright to 3M's management.

In fact, the only real concern about the company appears to involve impending cuts to LCD film prices. But according to CEO George Buckley, costs in the group can be cut, and longer-term margins could be higher than the company average.

In the shorter term, it's the same with 3M's loose comparable DuPont (NYSE:DD), which just released its results. 3M's management raised its company's profit outlook ever so slightly for 2007. Per-share earnings guidance for the year is now $5.54 to $5.62, including a one-time gain of $0.60 to $0.65. The previous target was in the $5.40-$5.60 range.

So what we appear to have here is a company with an impressive 40% return on equity, strong free cash flow, a solid balance sheet, and a dividend yield of 2.2%. And every bit as important as these metrics is an apparent continuation of optimism on the part of its executive management. That's a welcome combination in a time of gyrating market conditions and a slowing economy. It makes me want to keep an especially close eye on 3M.

For related Foolishness: