In general
For purposes of this subsection, any dividend from a noncontrolled 10-percent owned foreign corporation with respect to the taxpayer shall be treated as income described in a subparagraph of paragraph (1) in proportion to the ratio of—
(i)#
the portion of earnings and profits attributable to income described in such subparagraph, to
(ii)#
the total amount of earnings and profits.