Financial Instruments (Schedule of Cash Flow Hedges in Statements of Earnings) (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Apr. 28, 2024 |
Apr. 30, 2023 |
Apr. 28, 2024 |
Apr. 30, 2023 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Cost of products sold | $ 1,637 | $ 1,561 | $ 5,047 | $ 5,028 |
| Interest expense | 70 | 47 | 165 | 139 |
| Accumulated Net Gain (Loss) from Designated or Qualifying Cash Flow Hedges [Member] | Reclassification out of Accumulated Other Comprehensive Income [Member] | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Cost of products sold | 0 | (2) | (2) | (9) |
| Accumulated Net Gain (Loss) from Designated or Qualifying Cash Flow Hedges [Member] | Reclassification out of Accumulated Other Comprehensive Income [Member] | Interest Rate Contract [Member] | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Interest expense | $ 0 | $ 0 | $ 1 | $ 1 |