You would calculate your expenses using the total days used instead of 365 days.
Example.
You rented the house out for 60 days, you used it for personal reasons for 40 days.
60+40=100
40/100=40%
60/100=60%
Expenses allocated to personal use would be 40%, 60% would be allocated to rental use.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"