XML 94 R67.htm IDEA: XBRL DOCUMENT v3.19.2
Stockholders' Equity - Stock Option Activity and Related Share-Based Compensation Expense (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Millions
12 Months Ended
Jul. 31, 2019
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2019
Summary of stock option activity, number of shares        
Number of shares, Beginning Balance (in shares) 5,154 7,488 8,346  
Granted (in shares) 487 455 1,786  
Exercised (in shares) (1,924) (2,416) (2,213)  
Canceled or expired (in shares) (343) (373) (431)  
Number of shares, Ending Balance (in shares) 3,374 5,154 7,488  
Weighted Average Exercise Price Per Share        
Weighted average exercise price per share, Beginning Balance (in dollars per share) $ 120.26 $ 104.50 $ 88.55  
Granted (in dollars per share) 274.26 216.64 135.24  
Exercised (in dollars per share) 102.49 89.41 69.12  
Canceled or expired (in dollars per share) 138.59 121.31 104.78  
Weighted average exercise price per share, Ending Balance (in dollars per share) $ 150.75 $ 120.26 $ 104.50  
Stock Options Outstanding        
Number of shares (in thousands), options outstanding (in shares) 5,154 7,488 8,346 3,374
Weighted average remaining contractual life (in years), options outstanding 4 years 6 months 21 days      
Weighted average exercise price per share, options outstanding (in dollars per share) $ 120.26 $ 104.50 $ 88.55 $ 150.75
Aggregate intrinsic value (in millions), options outstanding       $ 429
Number of shares (in thousands), options exercisable (in shares)       2,187
Weighted average remaining contractual life (in years) options exercisable 3 years 9 months 10 days      
Weighted average exercise price per share, options exercisable (in dollars per share)       $ 118.11
Aggregate intrinsic value (in millions), options exercisable       $ 365
Market price of common stock (in dollars per share)       $ 277.31
Additional information on stock options and ESPP shares        
Weighted average fair value of options granted (in dollars per share) $ 63.18 $ 50.77 $ 25.54  
Total grant date fair value of options vested $ 30 $ 38 $ 37  
Aggregate intrinsic value of options exercised 248 188 126  
Total tax benefit for stock option and ESPP share-based compensation 200 199 179  
Cash received from option exercises 197 216 153  
Cash tax benefits realized related to tax deductions for non-qualified option exercises and disqualifying dispositions under all share-based payment arrangements 58 53 46  
Stock Options And Espp        
Additional information on stock options and ESPP shares        
Share-based compensation expense for stock options and ESPP 50 56 52  
Total tax benefit for stock option and ESPP share-based compensation $ 59 $ 56 $ 49  
Employee Stock Option        
Additional information on stock options and ESPP shares        
Unrecognized compensation cost       $ 55
Weighted average vesting period 3 years 1 month 6 days