Competing in the global market requires organizations to change rapidly, addressing both digital transformation and sustainable development challenges. This study uncovers new relationships and critical factors, enriching current knowledge and guiding future research on how digital transformation enhances sustainable consumption and production (Sustainable Development Goal 12 [SDG12]) success. It identifies key factors that enhance or inhibit these relationships by combining structural model and necessary conditions analysis. The findings reveal that organizations must excel in digital capabilities directly and through excellence practices to achieve SDG12 success. ISO 14001 further strengthens the impact of digital transformation and excellence practices on SDG12. The results empirically demonstrate what European Foundation for Quality Management (EFQM) and American Society for Quality (ASQ) advocate: excellence practices are a tool for sustainable development. This study adds both to the literature and practice on the relationships between digital transformation, excellence models, and sustainable development and how these relationships are influenced by ISO standards.