Procter & Gamble (PG) is a consumer products giant that sells its products in more than 180 countries. The stock has rallied 21% since early May. As such a steep move is rather unusual for this slow-moving stalwart, the big question is whether the stock can still offer attractive returns from its current price.

Procter & Gamble has dramatically underperformed the market in the last five years, as it has gained only 13% whereas S&P has rallied 73%. This underperformance has mostly been caused by the fierce competition in the retail sector. Consumers have become price-conscious and hence private-label products have gained market share. In addition, large retailers, such as Walmart and Target, exert great pressure on their suppliers for lower prices. Consequently, Procter & Gamble has failed to meaningfully grow its revenues and its earnings for a whole decade. Moreover, its gross margin and its operating margin have essentially remained flat for a whole decade, around 49% and 20%, respectively.

Due to this poor performance, management has implemented a major transformation plan in recent years. The company has sold numerous low-margin, low-growth brands and has thus reduced the number of its brands by almost two-thirds, from 170 to 65. In this way, management will now be able to focus only on the most promising brands.

This transformation has already begun to bear fruit. Procter & Gamble grew its adjusted earnings per share by 8% in its fiscal 2018 and is expected to grow its earnings per share by another 5% in this fiscal year. Thanks to this improving business performance, the stock has rallied 21% since early May.

Despite its rally, the stock is still reasonably valued, as it is trading at a forward P/E ratio of 19.3. As the stock has traded at an average P/E ratio of 18.8 during the last decade, its current valuation is very close to its historical valuation. This means that those who have confidence in the turnaround of the company can still initiate a position at a reasonable price.