XML 20 R8.htm IDEA: XBRL DOCUMENT v3.23.2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Cash flows from operating activities:      
Net income $ 8,503 $ 6,717 $ 13,746
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation 2,526 1,972 1,537
Amortization of intangible assets 3,582 1,150 1,379
Deferred income taxes (2,167) (1,146) (2,425)
Stock-based compensation 3,547 2,613 1,837
Other, net 661 220 (39)
Changes in operating assets and liabilities, net of effects from acquisitions:      
(Increase) decrease in trade receivables, net (151) (874) 333
Decrease in prepaid expenses and other assets 317 11 622
Decrease in accounts payable and other liabilities (281) (733) (23)
Decrease in income taxes payable (153) (398) (1,485)
Increase in deferred revenues 781 7 405
Net cash provided by operating activities 17,165 9,539 15,887
Cash flows from investing activities:      
Purchases of marketable securities and other investments (1,181) (10,272) (37,982)
Proceeds from sales and maturities of marketable securities and other investments 1,113 26,151 27,060
Acquisitions, net of cash acquired (27,721) (148) (41)
Capital expenditures (8,695) (4,511) (2,135)
Net cash (used for) provided by investing activities (36,484) 11,220 (13,098)
Cash flows from financing activities:      
Payments for repurchases of common stock (1,300) (16,248) (20,934)
Proceeds from issuances of common stock 1,192 482 1,786
Shares repurchased for tax withholdings upon vesting of restricted stock-based awards (1,203) (1,093) (666)
Payments of dividends to stockholders (3,668) (3,457) (3,063)
Proceeds from issuances of commercial paper, net of repayments 500 0 0
Proceeds from issuances of senior notes and other borrowings, net of issuance costs 33,494 0 14,934
Repayments of senior notes and other borrowings (21,050) (8,250) (2,631)
Other, net (55) (560) 196
Net cash provided by (used for) financing activities 7,910 (29,126) (10,378)
Effect of exchange rate changes on cash and cash equivalents (209) (348) 448
Net decrease in cash and cash equivalents (11,618) (8,715) (7,141)
Cash and cash equivalents at beginning of period 21,383 30,098 37,239
Cash and cash equivalents at end of period 9,765 21,383 30,098
Non-cash investing and financing activities:      
Fair values of stock awards assumed in connection with acquisitions 55 0 0
Supplemental schedule of cash flow data:      
Cash paid for income taxes 3,009 2,567 3,189
Cash paid for interest $ 3,250 $ 2,735 $ 2,408