XML 20 R8.htm IDEA: XBRL DOCUMENT v3.22.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Cash flows from operating activities:      
Net income $ 6,717 $ 13,746 $ 10,135
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 1,972 1,537 1,382
Amortization of intangible assets 1,150 1,379 1,586
Deferred income taxes (1,146) (2,425) (851)
Stock-based compensation 2,613 1,837 1,590
Other, net 220 (39) 239
Changes in operating assets and liabilities, net of effects from acquisitions:      
(Increase) decrease in trade receivables, net (874) 333 (445)
Decrease in prepaid expenses and other assets 11 622 665
Decrease in accounts payable and other liabilities (733) (23) (496)
Decrease in income taxes payable (398) (1,485) (444)
Increase (decrease) in deferred revenues 7 405 (222)
Net cash provided by operating activities 9,539 15,887 13,139
Cash flows from investing activities:      
Purchases of marketable securities and other investments (10,272) (37,982) (5,731)
Proceeds from maturities of marketable securities 19,788 26,024 4,687
Proceeds from sales of marketable securities and other investments 6,363 1,036 12,575
Acquisitions, net of cash acquired (148) (41) (124)
Capital expenditures (4,511) (2,135) (1,564)
Net cash provided by (used for) investing activities 11,220 (13,098) 9,843
Cash flows from financing activities:      
Payments for repurchases of common stock (16,248) (20,934) (19,240)
Proceeds from issuances of common stock 482 1,786 1,588
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (1,093) (666) (665)
Payments of dividends to stockholders (3,457) (3,063) (3,070)
Proceeds from borrowings, net of issuance costs 0 14,934 19,888
Repayments of borrowings (8,250) (2,631) (4,500)
Other, net (560) 196 (133)
Net cash used for financing activities (29,126) (10,378) (6,132)
Effect of exchange rate changes on cash and cash equivalents (348) 448 (125)
Net (decrease) increase in cash and cash equivalents (8,715) (7,141) 16,725
Cash and cash equivalents at beginning of period 30,098 37,239 20,514
Cash and cash equivalents at end of period 21,383 30,098 37,239
Non-cash investing and financing activities:      
Change in unsettled repurchases of common stock (48) 66 (40)
Supplemental schedule of cash flow data:      
Cash paid for income taxes 2,567 3,189 3,218
Cash paid for interest $ 2,735 $ 2,408 $ 1,972