XML 30 R7.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Consolidated Statements of Stockholders' Equity - USD ($)
shares in Thousands, $ in Millions
Total
Common Stock
Additional Paid-In Capital
Treasury Stock
Accumulated Other Comprehensive Loss
Retained Earnings
Beginning balance (in shares) at Jul. 31, 2021   273,235        
Beginning balance at Jul. 31, 2021 $ 9,869 $ 3 $ 10,545 $ (12,951) $ (24) $ 12,296
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 2,030       (36) 2,066
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   2,361        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (448)   (448)      
Stock repurchases under stock repurchase programs (in shares)   (3,754)        
Stock repurchases under stock repurchase programs (1,854)     (1,854)    
Dividends and dividend rights declared (781)         (781)
Share-based compensation expense 1,309   1,309      
Issuance of stock in a business combination (in shares)   10,090        
Issuance of stock in a business combination 6,316   6,316      
Ending balance (in shares) at Jul. 31, 2022   281,932        
Ending balance at Jul. 31, 2022 16,441 $ 3 17,722 (14,805) (60) 13,581
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 2,389       5 2,384
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   3,189        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (408)   (408)      
Stock repurchases under stock repurchase programs (in shares)   (4,700)        
Stock repurchases under stock repurchase programs (1,967)     (1,967)    
Dividends and dividend rights declared (898)         (898)
Share-based compensation expense 1,712   1,712      
Issuance of stock in a business combination $ 0          
Ending balance (in shares) at Jul. 31, 2023 280,421 280,421        
Ending balance at Jul. 31, 2023 $ 17,269 $ 3 19,026 (16,772) (55) 15,067
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 2,964       1 2,963
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   3,274        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (718)   (718)      
Stock repurchases under stock repurchase programs (in shares)   (3,427)        
Stock repurchases under stock repurchase programs (1,978)     (1,978)    
Dividends and dividend rights declared (1,041)         (1,041)
Share-based compensation expense 1,940   1,940      
Issuance of stock in a business combination $ 0          
Ending balance (in shares) at Jul. 31, 2024 280,268 280,268        
Ending balance at Jul. 31, 2024 $ 18,436 $ 3 $ 20,248 $ (18,750) $ (54) $ 16,989