Get your taxes done using TurboTax

Can I exclude part of my foreign earned income, and leave some not excluded so I can use it as earned income to allow me to contribute IRA? for example, I leave 6000 not excluded from earned income, then I contribute 6000 IRA, since 6000 IRA is deductible, so it counterbalance each other, I pay no tax. Does turbotax  give me option to ask me how much from foreign earned income i want to exclude instead of exclude all of them?