XML 21 R6.htm IDEA: XBRL DOCUMENT v3.23.4Close
UNAUDITED CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Cash provided (used) by operations:    
Net income $ 3,028 $ 2,799
Adjustments to reconcile net income to net cash provided (used) by operations:    
Depreciation 382 342
Deferred income taxes (144) (150)
Stock-based compensation 402 364
Amortization, impairment and other (12) 137
Net foreign currency adjustments (43) (125)
Changes in certain working capital components and other assets and liabilities:    
(Increase) decrease in accounts receivable (649) (878)
(Increase) decrease in inventories 493 (948)
(Increase) decrease in prepaid expenses, operating lease right-of-use assets and other current and non-current assets (394) (239)
Increase (decrease) in accounts payable, accrued liabilities, operating lease liabilities and other current and non-current liabilities (312) 56
Cash provided (used) by operations 2,751 1,358 Close
Cash provided (used) by investing activities:    
Purchases of short-term investments (2,206) (3,500)
Maturities of short-term investments 1,477 1,951
Sales of short-term investments 2,072 1,972
Additions to property, plant and equipment (458) (500)
Other investing activities (10) 54
Cash provided (used) by investing activities 875 (23) Close
Cash provided (used) by financing activities:    
Increase (decrease) in notes payable, net 0 (3)
Proceeds from exercise of stock options and other stock issuances 327 260
Repurchase of common stock (2,331) (2,550)
Dividends — common and preferred (1,047) (960)
Other financing activities (100) (68)
Cash provided (used) by financing activities (3,151) (3,321) Close
Effect of exchange rate changes on cash and equivalents 3 (98) Close
Net increase (decrease) in cash and equivalents 478 (2,084) Close
Cash and equivalents, beginning of period 7,441 8,574
CASH AND EQUIVALENTS, END OF PERIOD 7,919 6,490
Supplemental disclosure of cash flow information:    
Non-cash additions to property, plant and equipment 165 124
Dividends declared and not paid $ 565 $ 526