XML 17 R7.htm IDEA: XBRL DOCUMENT v3.20.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2020
Nov. 30, 2019
Cash flows from operating activities:    
Net income $ 4,693 $ 4,448
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation 742 677
Amortization of intangible assets 690 821
Deferred income taxes (43) (263)
Stock-based compensation 916 843
Other, net 184 117
Changes in operating assets and liabilities, net of effects from acquisitions:    
Decrease in trade receivables, net 1,263 1,079
Decrease in prepaid expenses and other assets 545 638
Decrease in accounts payable and other liabilities (248) (916)
Decrease in income taxes payable (1,243) (613)
Decrease in deferred revenues (158) (318)
Net cash provided by operating activities 7,341 6,513
Cash flows from investing activities:    
Purchases of marketable securities and other investments (15,578) (314)
Proceeds from maturities of marketable securities and other investments 10,776 2,204
Proceeds from sales of marketable securities 3 12,575
Acquisitions, net of cash acquired 0 (111)
Capital expenditures (1,004) (735)
Net cash (used for) provided by investing activities (5,803) 13,619
Cash flows from financing activities:    
Payments for repurchases of common stock (8,962) (9,996)
Proceeds from issuances of common stock 772 617
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (520) (559)
Payments of dividends to stockholders (1,447) (1,562)
Repayments of borrowings (1,000) (4,500)
Other, net 110 (96)
Net cash used for financing activities (11,047) (16,096)
Effect of exchange rate changes on cash and cash equivalents 271 (10)
Net (decrease) increase in cash and cash equivalents (9,238) 4,026
Cash and cash equivalents at beginning of period 37,239 20,514
Cash and cash equivalents at end of period 28,001 24,540
Non-cash financing activities:    
Change in unsettled repurchases of common stock $ 38 $ 4