On the Main Info sheet, line 6 calculates an exemption for the taxpayer, as well as one for the spouse when Married Filing Jointly.
Below line 6, there are checkboxes (line 6a or 6b) that must be selected if the taxpayer or spouse is being claimed as a dependent on another person's return.
If you are listing a dependent that can be claimed as an exemption on another taxpayer's return, but the dependent is a qualifying child for Earned Income Credit or Child and Dependent Care Credit purposes, enter 0 in the Code column of the dependent section of the Main Info sheet.
This applies to all current and prior years of UltimateTax software.