No deduction shall be allowed for that portion of the expenses otherwise allowable as a deduction taken into account in determining the credit under section 45T for the taxable year which is equal to the amount of the credit determined for such taxable year under section 45T(a). . (4) Clerical amendment The table of sections for subpart D of part IV of subchapter A of chapter 1 of the Internal Revenue Code of 1986 is amended by adding at the end the following new item: Sec. 45T. Employer-provided worker training credit. . (b) Credit allowed against alternative minimum tax Subparagraph (B) of section 38(c)(4) of the Internal Revenue Code of 1986 is amended— (1) by redesignating clauses (x), (xi), and (xii) as clauses (xi), (xii), and (xiii), respectively, and (2) by inserting after clause (ix) the following new clause: (x) the credit determined under section 45T with respect to an eligible small business (as defined in paragraph (5)(A), after application of rules similar to the rules of paragraph (5)(B)), . (c) Payroll tax credit Section 3111 of the Internal Revenue Code of 1986 is amended by adding at the end the following new subsection: (g) Credit for worker training expenses (1) In general In the case of a taxpayer who has made an election under section 45T(d) for a taxable year, there shall be allowed as a credit against the tax imposed by subsection (a) for the first calendar quarter which begins after the date on which the taxpayer files the return specified in section 45T(d)(3)(A)(ii) an amount equal to the payroll tax credit portion determined under section 45T(d)(2). (2) Limitation The credit allowed by paragraph (1) shall not exceed the tax imposed by subsection (a) for any calendar quarter on the wages paid with respect to the employment of all individuals in the employ of the employer. (3) Carryover of unused credit If the amount of the credit under paragraph (1) exceeds the limitation of paragraph (2) for any calendar quarter, such excess shall be carried to the succeeding calendar quarter and