Get your taxes done using TurboTax

I paid estimated taxes with an extension for federal and two different states.  In Turbo Tax, it says for multiple states to put the total paid to those states and select "multiple states" instead of doing each state separately.  Well, how does Turbo Tax know what amount to apply to each state for the estimated taxes I paid?