Hi guys, I am new to the forum, and this is my first post.
I get rent from my tenants, monthly. But, this does not happen regularly, ending up with arrears due to me.
I have the current date in B1. [=today(0)
When I receive a rent, I enter the date it in B2.
I need to calculate the number of months rent is due by, say in B4.
I can calculate this fairly easily in one of 2 ways:
1) =DATEDIF(B2,B1,"m") or
2) =(YEAR(B1)-YEAR(B2))*12+MONTH(B1)-MONTH(B2)
This give me the total number of months in arrears.
Now, I want to split up these months as arrears in preceding year (2016) and arrears this year (2017).
For example, if the last rent received is for October 2016, I would like to get a result of 2 and 7, as of July 2017.
To make matters slightly more complex, I often get rent in advance (wish that happened more often!). In this case, the DATEDIF formula goes for a toss, though the 2nd option works well. In this case, suppose I get paid upto, say, December 2017, I would like the results to be 0 and -5.
Is there a way to achieve this?
Many thanks and regards,
Anand Dhuru
Bookmarks