Financial Instruments - Pre-tax Effect of Derivative Instruments Not Designated as Hedging Instruments on the Condensed Consolidated and Combined Statements of Earnings (Details) - USD ($) $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Apr. 30, 2018 |
Apr. 30, 2017 |
Apr. 30, 2018 |
Apr. 30, 2017 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) Recognized in Earnings on Derivatives | $ 260 | $ (198) | $ (129) | $ (242) |
| Foreign currency contracts | Interest and other, net | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) Recognized in Earnings on Derivatives | 261 | (199) | (129) | (246) |
| Other derivatives | Interest and other, net | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) Recognized in Earnings on Derivatives | $ (1) | $ 1 | $ 0 | $ 4 |