XML 42 R7.htm IDEA: XBRL DOCUMENT v3.24.2Close
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2022
Cash provided (used) by operations:      
Net income $ 5,700 $ 5,070 $ 6,046
Adjustments to reconcile net income to net cash provided (used) by operations:      
Depreciation 796 703 717
Deferred income taxes (497) (117) (650)
Stock-based compensation 804 755 638
Amortization, impairment and other 48 156 123
Net foreign currency adjustments (138) (213) (26)
Changes in certain working capital components and other assets and liabilities:      
(Increase) decrease in accounts receivable (329) 489 (504)
(Increase) decrease in inventories 908 (133) (1,676)
(Increase) decrease in prepaid expenses, operating lease right-of-use assets and other current and non-current assets (260) (644) (845)
Increase (decrease) in accounts payable, accrued liabilities, operating lease liabilities and other current and non-current liabilities 397 (225) 1,365
Cash provided (used) by operations 7,429 5,841 5,188 Close
Cash provided (used) by investing activities:      
Purchases of short-term investments (4,767) (6,059) (12,913)
Maturities of short-term investments 2,269 3,356 8,199
Sales of short-term investments 4,219 4,184 3,967
Additions to property, plant and equipment (812) (969) (758)
Other investing activities (15) 52 (19)
Cash provided (used) by investing activities 894 564 (1,524) Close
Cash provided (used) by financing activities:      
Increase (decrease) in notes payable, net 0 (4) 15
Repayment of borrowings 0 (500) 0
Proceeds from exercise of stock options and other stock issuances 667 651 1,151
Repurchase of common stock (4,250) (5,480) (4,014)
Dividends — common and preferred (2,169) (2,012) (1,837)
Other financing activities (136) (102) (151)
Cash provided (used) by financing activities (5,888) (7,447) (4,836) Close
Effect of exchange rate changes on cash and equivalents (16) (91) (143) Close
Net increase (decrease) in cash and equivalents 2,419 (1,133) (1,315) Close
Cash and equivalents, beginning of year 7,441 8,574 9,889
CASH AND EQUIVALENTS, END OF YEAR 9,860 7,441 8,574
Cash paid during the year for:      
Interest, net of capitalized interest 381 347 290
Income taxes 1,299 1,517 1,231
Non-cash additions to property, plant and equipment 160 211 160
Dividends declared and not paid $ 558 $ 524 $ 480