Net operating cash improved $178.9 million to $758.0 million in the six months. This strong cash generation allowed us to return cash to our shareholders in the form of dividends and share repurchases for treasury of approximately $660.0 million. The Company purchased 1,075,000 shares of its common stock in the first six months, and at June 30, 2019, the Company had remaining authorization to purchase 9.05 million shares of its common stock through open market purchases.
Commenting on the second quarter, John G. Morikis, Chairman and Chief Executive Officer, said, “Sherwin-Williams delivered record results in net sales, EBITDA, profit before taxes and net operating cash in the second quarter, overcoming uneven demand in end markets outside the U.S. and persistently challenging selling conditions in North American architectural paint markets. Gallon growth in our North American paint stores and continued progress on our pricing initiatives in all segments combined to drive consolidated adjusted gross margin to 44.9% and support our continued investments in solutions for our customers. We also continued to effectively manage costs, which combined with the gross margin improvement, drove a 15% year-over-year increase in adjusted earnings per share. We expect gross margins to continue to improve in the second half of the year, driven by continued volume growth and lower projected year-over-year raw material pricing.
“All three of our segments increased profit and margin year-over-year. In The Americas Group, we generated sales growth in all end markets in our North American paint stores, led by high single digit growth in residential repaint. We leveraged the sales growth to expand segment margin by 50 basis points to 22.2%. We’ve opened 20 net new stores year to date, and our professional painting contractor customers continue to report solid backlogs and project pipelines going forward. In our Consumer Brands Group, our growth initiatives with our largest partners in North America are performing well and more than offset softer demand in some international markets. Adjusted segment margin improved 490 basis points to 20.3%, driven by sales growth and good cost control. Performance Coatings Group sales declined in the quarter mainly related to softer demand in some end markets in Asia and Europe. Despite the sales decline, adjusted segment margin increased 150 basis points to 15.5% - evidence of our good cost control and that our recent pricing actions are gaining traction to offset raw material inflation.
“For the third quarter, we anticipate our consolidated net sales will increase by a low single digit percentage compared to last year’s third quarter. For the full year 2019, we expect our consolidated net sales will increase two to four percent compared to the full year 2018. We are updating our full year 2019 diluted net income per share guidance to be in the range of $16.14 to $17.14 per share as a result of the $.79 per share charge related to the tax credit investment loss. Diluted net income per share in 2018 was $11.67 per share, including a charge of $4.15 per share for acquisition-related costs and charges fornon-operating expenses of $2.71 per share. We are reaffirming our full year 2019 adjusted diluted net income per share guidance to be in the range of $20.40 to $21.40 per share, excluding acquisition-related costs and charges fornon-operating expenses, compared to $18.53 per share for the full year 2018 on a comparable basis.”
The Company will conduct a conference call to discuss its financial results for the second quarter, and its outlook for the third quarter and full year 2019, at 11:00 a.m. EDT on Tuesday, July 23, 2019. The conference call will be webcast simultaneously in the listen only mode by Issuer Direct. To listen to the webcast on the Sherwin-Williams website,www.sherwin.com, click on About Us, choose Investor Relations, then select Press Releases and click on the webcast icon following the reference to the July 23rd release. The webcast will also be available at Issuer Direct’s Investor Calendar website,www.investorcalendar.com. An archived replay of the live webcast will be available atwww.sherwin.com beginning approximately two hours after the call ends and will be available until August 9, 2019 at 5:00 p.m. EDT.
Founded in 1866, The Sherwin-Williams Company is a global leader in the manufacture, development, distribution, and sale of paints, coatings and related products to professional, industrial, commercial, and retail customers. Sherwin-Williams manufactures products under well-known brands such as Sherwin-Williams®, Valspar®, HGTV HOME® by Sherwin-