Roll over, Coca-Cola (KO) .

On Wednesday, rival PepsiCo (PEP) reported earnings that blew the world's most iconic soda brand out of the water, as TheStreet's Brian Sozzi reported. However, Pepsi's guidance disappointed investors, sending shares down slightly in Wednesday trading. Is this just giving investors a good opportunity to grab more shares at a better price?

For the fourth quarter, PepsiCo saw profits of $1.4 billion, or 97 cents a share. Adjusted earnings came in at $1.20 a share, beating the $1.16 Wall Street had been expecting.

But for full-year 2017, PepsiCo's projections of $5.09 a share missed the $5.16 a share that analysts had been expecting. 

However, although the company's 2017 guidance missed Wall Street's expectations, it's no reason to start being bearish on Pepsi's stock. As analyst Bonnie Herzog of Wells Fargo points out, the $5.09 a share earnings guidance would represent growth of 8%, which is above the company's average beginning-of-the-year guidance (around 6% to 7%). Pepsi has a habit of low-balling initial forecasts and raising them later in the year, pleasing its investors.

Over at Coca-Cola, however, the fourth quarter was worse. Earnings fell year over year from 38 cents a share to 37 cents a share. And revenue slipped from $10.01 billion a year ago to $9.41 billion. For the fiscal year, Coke forecasts earnings will decline by 1% to 4%. Wall Street analysts had expected earnings to improve from $1.91 a share to $1.97 a share instead.

The entire soda industry has been struggling due to consumers kicking the soda habit. Across the board, sales of sugary soda have decreased as Americans, in particular, opt for drinks they consider healthier.

This is where PepsiCo's product portfolio has shone. The company has been increasing its holdings of non-soda alternatives. CEO Indra Nooyi remarked on Wednesday that the company's Naked Juice line is on track to becoming a billion-dollar brand.

Nor have PepsiCo's profits been restricted to drinks. The company also owns many popular snack food brands, including the perennial favorite Frito-Lay. During the most recent quarter, the company's snack food divisions saw a global sales volume increase of 3%, while the beverage divisions saw a boost of only 1%.

PepsiCo's diverse portfolio of brands continues to make the company's stock a better investment than rivals Coca-Cola and Dr Pepper Snapple (DPS) . Whereas for years Coke has put too much focus on its core product, PepsiCo has been nimble and is now ready to adapt to consumers' sometimes rapidly changing tastes.

Making itself an even better investment, PepsiCo has announced that it's increasing its annualized dividend by 7%, from $3.01 a share to $3.22 a share.

Investors looking for bubbly profits should look for price dips in PepsiCo's stock as great opportunities to snap up shares.

However, if you're looking for another way to collect solid income, check out this special report. The trader who wrote it turned $5,000 into more than $5 million just by following this simple step-by-step process. Click here to see how easy it is to make "Free Money" every month.

The author is an independent contributor who at the time of publication owned none of the stocks mentioned.

More from Investing

LifePoint Surges 40% on Report of Acquisition Talks

LifePoint Surges 40% on Report of Acquisition Talks

Honeywell Gains Most in More Than Two Years on Growth Prospects

Honeywell Gains Most in More Than Two Years on Growth Prospects

General Electric CFO to TheStreet: We Will Discuss 2019 Plans Later This Year

General Electric CFO to TheStreet: We Will Discuss 2019 Plans Later This Year

General Electric CFO to TheStreet: In 'Wait and See' Mode When It Comes to Trade

General Electric CFO to TheStreet: In 'Wait and See' Mode When It Comes to Trade

Papa John's John Schnatter Has Been on a Wild Ride Over 10 Days

Papa John's John Schnatter Has Been on a Wild Ride Over 10 Days