After you enter your Form 1099-R, you should see a question regarding having made nondeductible contributions to your IRA in previous years, you have to answer yes to that question:

Then TurboTax will ask you for your balance in IRA accounts and the end of 2023 and 2024.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"