| Column1 | 2019 | 2018 | 2017 |
| Year Ended(In Million) |
| Cash beginning of period | 3019 | 3433 | 5560 |
| Cash flows for operating activities: |
| net income | 21048 | 21053 | 9601 |
| adjustments by operating activities: |
| depreciation | 9204 | 7520 | 6752 |
| share-based compensation | 1705 | 1546 | 1358 |
| amortization of intangibles | 1622 | 1565 | 1377 |
| (Gain) or losses on equity investment | -892 | 155 | -2583 |
| (Gain) or losses on divestitures | -690 | -497 | -387 |
| changes in assets and liabilities: |
| accounts receviable | -935 | -1714 | -781 |
| inventories | -1481 | -214 | -1300 |
| accounts payable | 696 | 211 | 191 |
| accrued compensation and benefits | 91 | -260 | 311 |
| customer deposits and prepaid supply agreements | -782 | 1367 | 1105 |
| income taxes | 885 | -1601 | 6778 |
| other assets and liabilities | 2674 | 301 | -312 |
| total adjustments | 12097 | 8379 | 12509 |
| Net cash provided by Operating activities | 33145 | 29432 | 22110 |
| Cash flows for investing activities: |
| additions to propoerty, plant and equipment | -16213 | -15181 | -11778 |
| acquisitions, net of cash acquired | -1958 | -190 | -14499 |
| purchases of available-for-sales debt investments | -2268 | -3843 | -2746 |
| sales of available-for-sales debt investments | 238 | 195 | 1833 |
| maturities of available-for-sales debt investments | 3988 | 2968 | 3687 |
| purchases of trading assets | -9162 | -9503 | -13700 |
| maturities and sales of trading assets | 7178 | 12111 | 13970 |
| purchases of equity investments | -522 | -874 | -1619 |
| sales of equity investments | 2688 | 2802 | 5236 |
| proceeds from divestitures | 911 | 548 | 3124 |
| other investing | 715 | -272 | 730 |
| Net cash used for investing activities | -14405 | -11239 | -15762 |
| Cash flows for financing activities: |
| issuance of long-term debt, net of ussuance costs | 3392 | 423 | 7716 |
| repayment of debt and debt conversion | -2627 | -3026 | -8080 |
| proceeds from sales of common stock through employee equity incentive plans | 750 | 555 | 770 |
| repurchase of common stock | -13576 | -10730 | -3615 |
| payment of dividends to stockholders | -5576 | -5541 | -5072 |
| other financing | 72 | -288 | -194 |
| Net cash provided by financing activities | -17565 | -18607 | -8475 |
| net increase(decrease) in cash and cash equivalents | 1175 | -414 | -2127 |
| cash and cash equivalents, end of period | 4194 | 3019 | 3433 |
| supplemental disclosures: |
| acquisitions of property, plant and equipment included in AP and Accrued liabilities | 1761 | 2340 | 1417 |
| cash paid during the year for: |
| interest, net of capitalized interest | 469 | 448 | 624 |
| income taxes, net of refunds | 2110 | 3813 | 3824 |