Let's face it -- we Homo sapiens are not the most logical sorts when it comes to our financial lives. Or other aspects of our lives, for that matter. While many of us will gleefully drive across town to fill up our gas tank for 5 cents less per gallon and save maybe 50 cents overall, we forget to contribute to our retirement plans -- which could make tens of thousands of dollars' worth of difference to our retirements.

Not that we're wrong to save 50 cents. In fact, we should try to save money at every turn -- even if it's making sure to read up on large-screen TVs and comparison-shopping to find the best price before choosing one.

The value of sales
Think about that last example a bit. If you were going to spend $1,000 to $5,000 on a large-screen television, wouldn't you want to shop around at least a little to find the best price? After all, why spend more than you need to?

The same principle applies to our stock investing, yet many of us -- myself included -- often ignore it. Think of a company you're interested in buying. Let's use Coca-Cola (NYSE:KO) as an example. Before you snap up shares, take some time to determine whether it's undervalued or overvalued -- because, as with a TV, why wouldn't you want to buy a good stock on sale?

For example, is the stock's price-to-earnings ratio below its historical norm? If so, that suggests an undervaluation. Another useful exercise is to compare any prospective investment with a major competitor. Let's use PepsiCo (NYSE:PEP):

Coca-Cola

PepsiCo

Market cap

$110.1 billion

$102.7 billion

P/E ratio

21.1

21.3

Five-year average P/E

24.9

24.5

EBITDA margin

34.0%

23.8%

Five-year annual revenue growth rate

5.6%

7.4%

Yield

2.6%

1.9%

Five-year annual dividend growth rate

11.3%

14.5%



These two competitors are actually rather close on most of these data points. I'd give the edge to PepsiCo for having a faster-growing dividend, along with faster-growing sales, but Coke demands some respect for its enormous EBITDA margins.

Run this exercise with some other pairs of companies, and you'll often find more marked differences. Then read up on each pair, to learn more about the things that the numbers don't tell you. Which company has the greatest competitive advantage? Which is developing the most promising new products or services? Which has a management team you trust more?

Price and value
In investing, it really all comes down to price and quality. You want to invest in high-quality, growing companies, and you want to buy into them at a good price -- not just any price.

To that end, here are a few companies that popped up when I ran a screen for outfits in the S&P 500 with dividend yields of at least 2% (because falling stock prices will prop up dividend yields), EBITDA margins of at least 20% (a sign that they're efficient operators), and P/E ratios of no more than 18 (which shows that they're cheap to reasonably priced):

Company

Yield

EBITDA Margin

P/E

3M (NYSE:MMM)

2.3%

27.9%

17.5

Altria Group (NYSE:MO)

4.1%

34.4%

15.6

Anheuser-Busch (NYSE:BUD)

2.5%

28.0%

18.0

Duke Energy (NYSE:DUK)

4.1%

39.6%

16.9

McDonald's (NYSE:MCD)

2.4%

26.8%

18.0



Gather more candidates
You might want to further research some of these companies -- or perhaps you'd rather let us do most of the work. If so, I invite you to test-drive, for free, our Motley Fool Inside Value service, which specializes in finding significantly undervalued companies with lots of growth potential. Even better, the service's picks are beating the market's returns by more than 6 percentage points. A free 30-day trial will give you full access to all current recommendations.

Here's to a happier portfolio!

Longtime Fool contributor Selena Maranjian owns shares of Coca-Cola, PepsiCo, 3M, and McDonald's. Coke, 3M, and Anheuser-Busch are Motley Fool Inside Value recommendations. Duke Energy is an Income Investor recommendation. The Motley Fool is Fools writing for Fools.