Retirement tax questions

The RMD is calculated using the year end value of the account no matter what kind of contributions were made.  Now your real question should be how does the basis come in to play when figuring the taxable portion of the RMD taken?   That is handled in the program automatically after you enter the 1099-R in the program and complete the follow up screens to enter the basis in all your IRA accounts and the form 8606 is populated.