XML 69 R59.htm IDEA: XBRL DOCUMENT v3.23.2
Goodwill and other intangible assets - Schedule of Goodwill (Details)
$ in Millions
9 Months Ended
May 31, 2023
USD ($)
Goodwill [Roll Forward]  
Goodwill, beginning balance $ 22,280
Acquisitions 5,763
Adjustments 252
Currency translation adjustments and other 75
Goodwill, ending balance 28,371
Reportable Segments | U.S. Retail Pharmacy  
Goodwill [Roll Forward]  
Goodwill, beginning balance 10,947
Acquisitions 0
Adjustments 0
Currency translation adjustments and other 0
Goodwill, ending balance 10,947
Reportable Segments | International  
Goodwill [Roll Forward]  
Goodwill, beginning balance 1,293
Acquisitions 0
Adjustments 0
Currency translation adjustments and other 75
Goodwill, ending balance 1,368
Reportable Segments | U.S. Healthcare  
Goodwill [Roll Forward]  
Goodwill, beginning balance 10,040
Acquisitions 5,763
Adjustments 252
Currency translation adjustments and other 0
Goodwill, ending balance $ 16,056