v3.26.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Millions
6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Cash flows from operating activities:    
Net earnings $ 995 $ 971
Adjustments to reconcile net earnings to net cash provided by operating activities:    
Depreciation, amortization and impairment 478 402
Stock-based compensation expense 294 332
Restructuring and other charges 491 192
Deferred taxes on earnings (68) (83)
Other, net 22 72
Changes in operating assets and liabilities, net of divestitures:    
Accounts receivable (466) 851
Inventory (735) (472)
Accounts payable 1,137 (1,699)
Net investment in leases related to integrated financing (49) (48)
Taxes on earnings (269) (121)
Restructuring and other (191) (149)
Other assets and liabilities (330) 164
Net cash provided by operating activities 1,309 412
Cash flows from investing activities:    
Investment in property, plant, equipment and purchased intangible (403) (485)
Purchases of available-for-sale securities and other investments (19) (6)
Maturities and sales of available-for-sale securities and other investments 25 14
Collateral returned (posted) for derivative instruments 98 (540)
Payments made in connection with business acquisitions, net of cash acquired (10) (116)
Proceeds from business divestitures, net 26 0
Net cash used in investing activities (283) (1,133)
Cash flows from financing activities:    
Proceeds from debt, net of issuance costs 191 1,158
Payment of debt (168) (102)
Stock-based award activities and others (83) (118)
Repurchase of common stock (425) (200)
Cash dividends paid (551) (546)
Settlement of cash flow hedges 0 6
Net cash (used in) provided by financing activities (1,036) 198
Decrease in cash, cash equivalents and restricted cash (10) (523)
Cash, cash equivalents and restricted cash at beginning of period [1] 3,713 3,253
Cash, cash equivalents and restricted cash at end of period $ 3,703 $ 2,730
[1] Includes cash held for sale of $8 million recorded within Other current assets as of October 31, 2025