XML 20 R8.htm IDEA: XBRL DOCUMENT v3.21.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
May 31, 2021
May 31, 2020
May 31, 2019
Cash flows from operating activities:      
Net income $ 13,746 $ 10,135 $ 11,083
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 1,537 1,382 1,230
Amortization of intangible assets 1,379 1,586 1,689
Allowances for doubtful accounts receivable 192 245 190
Deferred income taxes (2,425) (851) (1,191)
Stock-based compensation 1,837 1,590 1,653
Other, net (39) 239 157
Changes in operating assets and liabilities, net of effects from acquisitions:      
Decrease (increase) in trade receivables, net 141 (690) (272)
Decrease in prepaid expenses and other assets 622 665 261
Decrease in accounts payable and other liabilities (23) (496) (102)
Decrease in income taxes payable (1,485) (444) (453)
Increase (decrease) in deferred revenues 405 (222) 306
Net cash provided by operating activities 15,887 13,139 14,551
Cash flows from investing activities:      
Purchases of marketable securities and other investments (37,982) (5,731) (1,400)
Proceeds from maturities of marketable securities 26,024 4,687 12,681
Proceeds from sales of marketable securities and other investments 1,036 12,575 17,299
Acquisitions, net of cash acquired (41) (124) (363)
Capital expenditures (2,135) (1,564) (1,660)
Net cash (used for) provided by investing activities (13,098) 9,843 26,557
Cash flows from financing activities:      
Payments for repurchases of common stock (20,934) (19,240) (36,140)
Proceeds from issuances of common stock 1,786 1,588 2,155
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (666) (665) (503)
Payments of dividends to stockholders (3,063) (3,070) (2,932)
Proceeds from borrowings, net of issuance costs 14,934 19,888 0
Repayments of borrowings (2,631) (4,500) (4,500)
Other, net 196 (133) (136)
Net cash used for financing activities (10,378) (6,132) (42,056)
Effect of exchange rate changes on cash and cash equivalents 448 (125) (158)
Net (decrease) increase in cash and cash equivalents (7,141) 16,725 (1,106)
Cash and cash equivalents at beginning of period 37,239 20,514 21,620
Cash and cash equivalents at end of period 30,098 37,239 20,514
Non-cash investing and financing activities:      
Fair values of stock awards assumed in connection with acquisitions 0 0 8
Change in unsettled repurchases of common stock 66 (40) (140)
Supplemental schedule of cash flow data:      
Cash paid for income taxes 3,189 3,218 2,901
Cash paid for interest $ 2,408 $ 1,972 $ 2,059