Shares of Walmart (WMT) are up about 1% Tuesday, after the stock received an upgrade to buy from neutral at Citi. Analysts also bumped up their price target to $117 from $108 at Citi.

The new target suggests about 20% upside, which would put together quite the run for Walmart stock, which is already up 42.5% so far in 2017. Speaking on CNBC's "Mad Dash" segment, TheStreet's Jim Cramer agreed with the bullishness, saying "I think this stock can go higher."

"There is a sense that Walmart has figured out how to do both offline and online," Cramer said. It's acquisition of Jet.com has helped the company bolster its e-commerce strategy and improve its omni-channel offerings. It can compete with both bricks-and-mortar competition as well as Amazon.com, Inc. (AMZN) .

Walmart CEO Doug McMillon
Walmart CEO Doug McMillon

Shares of Walmart are still recovering from a massive decline in 2015, where it lost roughly one-third of its value in less than a year. Just last month Walmart stock finally eclipsed its 2015 highs.

CEO Doug McMillon and Marc Lore, who was CEO of Jet.com and now serves as CEO of Walmart's U.S. e-commerce unit, have done a fabulous job at retooling Walmart, added Cramer, who also manages the Action Alerts PLUS charitable trust portfolio

"When I go to Walmart, I find it exciting," he continued. "I find the food section electric, I find that there is a feel of treasure hunt. The fresh food aisle is second to none."

Walmart has very competitive pricing and with all of these new changes, it's ready for the future of retail. Along with Costco (COST) and Home Depot (HD) , this trio of retailers aren't just stocks to trade, they're long-term investments, he concluded.

More of What's Trending on TheStreet:

More from Stocks

Biotech's Coming Back to Life: Cramer's 'Off the Charts'

Biotech's Coming Back to Life: Cramer's 'Off the Charts'

Video: Here's How Goldman Sachs May Change Under David Solomon

Video: Here's How Goldman Sachs May Change Under David Solomon

J&J Vows to Fight Verdict Linking Baby Powder to Ovarian Cancer

J&J Vows to Fight Verdict Linking Baby Powder to Ovarian Cancer

3 Reasons Why Netflix Bulls Are Getting Their Face Ripped Off After Earnings

3 Reasons Why Netflix Bulls Are Getting Their Face Ripped Off After Earnings

Markets Close Higher After Fed Chair Powell's Capitol Hill Testimony

Markets Close Higher After Fed Chair Powell's Capitol Hill Testimony