; and (B) the sum of— (i) the total amount of need-based grant aid and merit-based grant aid, from Federal, State, and institutional sources, provided to such eligible student for the year for which the determination is made; and (ii) the expected family contribution for such eligible student for the year for which the determination is made. (f) Appropriations (1) Authorization and appropriations For the purpose of making grants under this section there are authorized to be appropriated such sums as may be necessary to carry out this section for fiscal year 2021 and each succeeding fiscal year. (2) Availability Funds appropriated under paragraph (1) shall remain available to the Secretary until expended. (3) Insufficient funds If the amount appropriated under paragraph (1) for a fiscal year is not sufficient to award each participating State and Indian tribe a grant under this section that is equal to the minimum amount of the Federal share described in subsection (b), the Secretary may ratably reduce the amount of each such grant or take other actions necessary to ensure an equitable distribution of such amount. (4) Transfer availability The Secretary is authorized, subject to the availability of appropriations, to transfer amounts authorized to be appropriated to carry out subpart 1 or to carry out section 499T for a fiscal year to make grants under this section if— (A) all grants eligible to be made under such subpart have been made for such fiscal year