The tables below detail pre-tax amounts of derivatives designated as cash flow hedges in Accumulated other comprehensive loss during the periods in which the underlying hedged transactions affected earnings for 2022, 2021 and 2020:
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2022 (Millions of Dollars) | | Gain (Loss) Recorded in OCI | | Classification of Gain (Loss) Reclassified from OCI to Income | | Gain (Loss) Reclassified from OCI to Income | | Gain (Loss) Recognized in Income on Amounts Excluded from Effectiveness Testing | Interest Rate Contracts | | $ | 23.4 | | | Interest expense | | $ | (5.8) | | | $ | — | | | | | | | | | | | Foreign Exchange Contracts | | $ | 30.6 | | | Cost of sales | | $ | 53.3 | | | $ | — | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2021 (Millions of Dollars) | | Gain (Loss) Recorded in OCI | | Classification of Gain (Loss) Reclassified from OCI to Income | | Gain (Loss) Reclassified from OCI to Income | | Gain (Loss) Recognized in Income on Amounts Excluded from Effectiveness Testing | Interest Rate Contracts | | $ | 14.9 | | | Interest expense | | $ | (3.9) | | | $ | — | | Foreign Exchange Contracts | | $ | 24.1 | | | Cost of sales | | $ | (26.1) | | | $ | — | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2020 (Millions of Dollars) | | Gain (Loss) Recorded in OCI | | Classification of Gain (Loss) Reclassified from OCI to Income | | Gain (Loss) Reclassified from OCI to Income (Effective Portion) | | Gain (Loss) Recognized in Income (Ineffective Portion) | Interest Rate Contracts | | $ | (70.9) | | | Interest expense | | $ | (16.3) | | | $ | — | | Foreign Exchange Contracts | | $ | (16.1) | | | Cost of sales | | $ | 12.4 | | | $ | — | |
A summary of the pre-tax effect of cash flow hedge accounting on the Consolidated Statements of Operations for 2022, 2021 and 2020 is as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2022 | | 2021 | | 2020 | (Millions of dollars) | Cost of Sales | | Interest Expense | | Cost of Sales | | Interest Expense | | Cost of Sales | | Interest Expense | Total amount in the Consolidated Statements of Operations in which the effects of the cash flow hedges are recorded | $ | 12,663.3 | | | $ | 338.5 | | | $ | 10,189.1 | | | $ | 185.4 | | | $ | 8,431.9 | | | $ | 222.7 | | Gain (loss) on cash flow hedging relationships: | | | | | | | | | | | | Foreign Exchange Contracts: | | | | | | | | | | | | Hedged Items | $ | (53.3) | | | $ | — | | | $ | 26.1 | | | $ | — | | | $ | (12.4) | | | $ | — | | Gain (loss) reclassified from OCI into Income | $ | 53.3 | | | $ | — | | | $ | (26.1) | | | $ | — | | | $ | 12.4 | | | $ | — | | Interest Rate Swap Agreements: | | | | | | | | | | | | Gain (loss) reclassified from OCI into Income 1 | $ | — | | | $ | (5.8) | | | $ | — | | | $ | (3.9) | | | $ | — | | | $ | (16.3) | |
1 Inclusive of the gain/loss amortization on terminated derivative financial instruments. The pre-tax gains and losses from fair value changes during 2022, 2021 and 2020 were as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2022 | (Millions of Dollars) | | Total Gain (Loss) Recorded in OCI | | Excluded Component Recorded in OCI | | Income Statement Classification | | Total Gain (Loss) Reclassified from OCI to Income | | Excluded Component Amortized from OCI to Income | Forward Contracts | | $ | 6.1 | | | $ | 0.6 | | | Other, net | | $ | 0.7 | | | $ | 0.7 | | Cross Currency Swap | | $ | (1.2) | | | $ | 2.5 | | | Other, net | | $ | 1.5 | | | $ | 1.5 | | | | | | | | | | | | | Non-derivative designated as Net Investment Hedge | | $ | (0.1) | | | $ | — | | | Other, net | | $ | — | | | $ | — | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2021 | (Millions of Dollars) | | Total Gain (Loss) Recorded in OCI | | Excluded Component Recorded in OCI | | Income Statement Classification | | Total Gain (Loss) Reclassified from OCI to Income | | Excluded Component Amortized from OCI to Income | Forward Contracts | | $ | (1.2) | | | $ | 1.6 | | | Other, net | | $ | 1.5 | | | $ | 1.5 | | Cross Currency Swap | | $ | 11.7 | | | $ | 24.6 | | | Other, net | | $ | 3.7 | | | $ | 3.7 | | | | | | | | | | | | | Non-derivative designated as Net Investment Hedge | | $ | (6.7) | | | $ | — | | | Other, net | | $ | — | | | $ | — | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2020 | (Millions of Dollars) | | Total Gain (Loss) Recorded in OCI | | Excluded Component Recorded in OCI | | Income Statement Classification | | Total Gain (Loss) Reclassified from OCI to Income | | Excluded Component Amortized from OCI to Income | Forward Contracts | | $ | 0.8 | | | $ | — | | | Other, net | | $ | — | | | $ | — | | Cross Currency Swap | | $ | (5.4) | | | $ | 60.7 | | | Other, net | | $ | 18.2 | | | $ | 18.2 | | | | | | | | | | | | | Non-derivative designated as Net Investment Hedge | | $ | (8.5) | | | $ | — | | | Other, net | | $ | — | | | $ | — | |
|