Table:
|  | Increase (Decrease) in Principal | Increase (Decrease) in Carrying Value | Increase (Decrease) in Cash | Decrease in Equity | Gain (Loss) |
| --- | --- | --- | --- | --- | --- |
| Issuances |  |  |  |  |  |
| 2024 Notes(1) | $600 | $597 | $597 | $— | $— |
| 2026 Notes(1) | 500 | 497 | 497 | — | — |
| 2027 Notes(2) | 900 | 895 | 895 | — | — |
| 2029 Notes(1) | 700 | 695 | 695 | — | — |
| 2030 Notes(2) | 850 | 845 | 845 | — | — |
| Prepayments |  |  |  |  |  |
| 2022 Term Loan B | (728) | (721) | (728) | — | (7) |
| Settled conversions |  |  |  |  |  |
| 2032D Notes | (10) | (9) | (35) | (28) | 2 |
| 2033F Notes | (45) | (175) | (192) | (28) | 11 |
| 2043G Notes | (1,019) | (691) | (1,426) | (326) | (400) |
| Conversions not settled |  |  |  |  |  |
| 2033F Notes(3) | — | 135 | — | (133) | (2) |
|  | $1,748 | $2,068 | $1,148 | $(515) | $(396) |
Paragraphs:
Debt Activity
The table below presents the effects of issuances, prepayments, and conversions of debt in 2019. When we receive a notice of conversion for any of our convertible notes and elect to settle in cash any amount of the conversion obligation in excess of the principal amount, the cash settlement obligations become derivative debt liabilities subject to mark-to-market accounting treatment based on the volume-weighted-average price of our common stock over a period of 20 consecutive trading days. Accordingly, at the date of our election to settle a conversion in cash, we reclassify the fair value of the equity component of the converted notes from additional capital to derivative debt liability within current debt in our consolidated balance sheet.
In 2018, we repurchased or redeemed $6.96 billion of principal amount of notes (carrying value of $6.93 billion) for an aggregate of $9.42 billion in cash and 4 million shares of our treasury stock. As of August 30, 2018, an aggregate of $35 million principal amount of our 2033F Notes (with a carrying value of $165 million) had converted but not settled. These notes settled in 2019 for $153 million in cash and the effect of the settlement is included in the table above. In connection with these transactions, we recognized aggregate non-operating losses of $385 million in 2018.
In 2017, we repurchased or redeemed $1.55 billion of principal amount of notes (carrying value of $1.54 billion) for an aggregate of $1.63 billion in cash. In connection with these transactions, we recognized aggregate non-operating losses of $94 million in 2017.
(1)  Issued February 6, 2019.
(2)  Issued July 12, 2019.
(3)  As of August 29, 2019, an aggregate of $44 million principal amount of our 2033F Notes (with a carrying value of $179 million) had converted but not settled. These notes settled in the first quarter of 2020 for $192 million in cash.
Question:
How much principal amount of notes did the company repurchased or redeemed in 2018?
Answer: $6.96 billion