Roth IRA contributions

I just want to make sure that I am understanding TT (pls forgive me for beating a dead horse). I made an excess roth IRA contribution of $7K in Jan 2022 and withdrew it on Mar 2023 (had a loss). TT asks if I made a roth contribution for 2022, I should answer "NO" correct (since I withdrew it before 2022 deadline of Apr 18, 2023)? What is confusing me is that TT also asks for the value balance of my roth IRAs as of Dec 31, 2022 which INCLUDES my $7K excess contribution.  What is confusing is that in one place I am acting like I never made a 2022 roth contribution because I withdrew it in time, yet in another place I am providing a number that includes the contribution.  All good?