XML 26 R7.htm IDEA: XBRL DOCUMENT v3.23.2
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, 2020   261,740        
Beginning balance at Jul. 31, 2020 $ 5,106 $ 3 $ 6,179 $ (11,929) $ (32) $ 10,885
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Comprehensive income 2,070       8 2,062
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (in shares)   2,593        
Issuance of stock under employee stock plans, net of shares withheld for employee taxes (187)   (187)      
Stock repurchases under stock repurchase programs (in shares)   (2,422)        
Stock repurchases under stock repurchase programs (1,022)     (1,022)    
Dividends and dividend rights declared (651)         (651)
Share-based compensation expense 755   755      
Issuance of stock in a business combination (in shares)   11,324        
Issuance of stock in a business combination 3,798   3,798      
Ending balance (in shares) at Jul. 31, 2021   273,235        
Ending 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 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