In this article

FBPEP

CNBC’s Jim Cramer on Thursday made a case for investors to get exposure to companies impacted by the ongoing global chip shortage and stocks benefiting from the rotation into consumer packaged goods.

“I think today was a powerful lesson you need a diversified portfolio with both smokestack [stocks] that use semiconductors … and also defensive food stocks with big dividends,” the “Mad Money” host said.

Cramer said Apple, Caterpillar and Ford Motor — whose shares fell in Thursday’s session — are worth buying on any declines connected to the low supply of semiconductors. The shortage is being caused by the digital transformation that accelerated during the coronavirus pandemic.

Food stocks like PepsiCo, Mondelez and Hershey are also buys as money managers move into some defensive names,