What do Goldman Sachs Group Inc. (GS) and Allergan plc (AGN) have in common? Not a whole lot, despite the naysayers, Jim Cramer said in the June Action Alerts PLUS members' call.

"Goldman, like Allergan, has been going down, regardless of how the other companies are doing in its sector," said Cramer, who is the founder of TheStreet and the portfolio manager for Action Alerts PLUS.

"But that's pretty much where the similarities end," Cramer noted. 

Cramer's team bought Goldman because it was a "best of breed" stock selling at a steep discount to the rest of its sector. Plus, Cramer said it has a "rock solid" balance sheet and recently reported its strongest return on equity in five years.

Allergan, on the other hand, lacks the same fundamental strength and was a "not-great" healthcare company when it got a takeover bid from Pfizer Inc. (PFE) . Cramer's AAP team sold its last remaining position in Allergan last week, he said.

Do you want more exclusive investing insight from Jim Cramer? Get 24/7 access to Jim's charitable-trust portfolio with a free trial to Action Alerts PLUS! You can also watch all of Jim Cramer's New York Stock Exchange live shows on YouTube.

More from Video

The State of Real Estate Outlook for 2019

The State of Real Estate Outlook for 2019

Why End of 2019 Could Loom as Scary For the Economy

Why End of 2019 Could Loom as Scary For the Economy

'I Think the Tech Sector is Changing the World,' Says Coupa CEO

'I Think the Tech Sector is Changing the World,' Says Coupa CEO

Who Is Watching Your Crypto Wallet?

Who Is Watching Your Crypto Wallet?

Natural Gas Could Be a Warm Place for Investors Fleeing a Frigid Market

Natural Gas Could Be a Warm Place for Investors Fleeing a Frigid Market