I found that nearly everything was fairly valued. When a stock had a low P/E, it was nearly always for a reason, like it being a homebuilder or financial or having a shaky economic position. No way was I going to invest in those. When I did invest in one that looked like it didn't fit in those categories, they missed earnings the next quarter, reported a loss, and haven't gotten back to profitability yet. Again, the market was smarter than me.
The trick to making money in the stock market seems to be to invest when the big boys are constrained not to. They realize that they should be putting money in, but can't, for whatever reason. The best example is if they're a mutual fund and their clients are all pulling their money out. Doesn't matter how many bargains are out there, they still have to sell to honor redemptions.
As I tell one of my hedge-fund-employee friends, "You're only as smart as your dumbest creditor."