Rental converted to personal use then sale in the same year

I had a rental until the end of 2017. And it took 5 months in 2018 for the renovation and sale of the property. I think I can first convert the rental to personal use in 2018 and then make it a sale. But does TurboTax allow me to do both in the same year?  And how to do it?

Thanks in advance for any help or advice.