; bears to (ii) the total amount authorized to be appropriated for such fiscal year for all core account programs under such account; (B) multiply the ratio determined under subparagraph (A) by the amount of the adjustment under subsection (b)(2); and (C) adjust the amount that the Secretary would otherwise have allocated for the core account program for the fiscal year by the amount calculated under subparagraph (B). (2) Formula programs (A) In general Subject to subparagraph (B), for a program for which funds are distributed by formula, the Secretary shall add the adjustment to the amount authorized for the program but for this section and make available the adjusted program amount for such program in accordance with such formula. (B) Exception In making the adjustment under subparagraph (A), the Secretary shall exclude subsections (b)(4), (b)(5)(D), and (b)(6) of section 104 of title 23, United States Code, from the formula calculations. (3) Availability for obligation Adjusted amounts under this subsection shall be available for obligation and administered in the same manner as other amounts made available for the program for which the amount is adjusted. (4) Special rule (A) Adjustment In making an adjustment under subsection (c)(1) for an allocation, reservation, or set-aside from an amount authorized from the Highway Account or Mass Transit Account referred to in subparagraph (B), the Secretary shall— (i) determine the ratio that— (I) the amount authorized to be appropriated for the allocation, reservation, or set-aside from the account for fiscal year 2020; bears to (II) the total amount authorized to be appropriated for such fiscal year for all core account programs under such account; (ii) multiply the ratio determined under clause (i) by the amount of the adjustment determined under subsection (b)(2)