; and (II) in accordance with the formula described in clause (i). (iv) Data unavailable If, in a fiscal year, the Commonwealth of Puerto Rico (referred to in this clause as Puerto Rico ) is an eligible State and specific data for Puerto Rico is unavailable for a factor described in subclause (I), (II), or (II) of clause (i), the Assistant Secretary shall use the median data point with respect to that factor among all eligible States and assign it to Puerto Rico for the purposes of making any calculation under that clause for that fiscal year. (B) Duration With respect to a grant awarded to an eligible State under this subsection, the eligible State shall expend the grant funds during the 5-year period beginning on the date on which the eligible State is awarded the grant funds. (C) Challenge mechanism The Assistant Secretary shall ensure that any eligible State to which a grant is awarded under this subsection may appeal or otherwise challenge in a timely fashion the amount of the grant awarded to the State, as determined under subparagraph (A). (D) Use of funds The administering entity for an eligible State to which a grant is awarded under this subsection shall use the grant amounts for the following purposes: (i) (I) Subject to subclause (II), to update or maintain the State Digital Equity Plan of the State. (II) An administering entity for an eligible State to which a grant is awarded under this subsection may use not more than 20 percent of the amount of the grant for the purpose described in subclause (I). (ii) To implement the State Digital Equity Plan of the State. (iii) (I) Subject to subclause (II), to award a grant to any entity that is described in section 5(b) and is located in the eligible State in order to— (aa) assist in the implementation of the State Digital Equity Plan of the State; (bb) pursue digital inclusion activities in the State consistent with the State Digital Equity Plan of the State