Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Prorated calculator

$
0
0

I'm trying to build a google sheet that will give me the prorated rent for various options:

  • when lease is less than a month within the same month
  • when lease is less than a month crossing over two months
  • when the lease is full months (start on the first of one month andends on the last of another month)
  • when the lease starts on a random day and ends on a random day(of different months)

Here's what I'm expecting the sheet to look like:

Column AColumn BColumn C
Start Date4/7/2025Manually entered start date of lease
End Date8/18/2025Manually entered end date of lease
Rent$1,200Manually entered monthly rent
Daily Rent start month$40Rent / # of days in start month
# days in start month rented23Last day of start month - start date
Prorate for start Month$920# days rented * daily rent
Daily Rent end month$38.71Rent / # of days in start month
# days in end month rented18= day in End Date
Prorate end Month$696.78# days rented * daily rent
Remaining full months3# of full months in rental time (in this example, it would be May, June, July)
Total Rent$5216.78= Prorate for first month + prorate for last month + (full months * rent)

The issue that I'm having is that I can get it to do everything described above or each of the different scenarios bulleted above,but I can't make it work for ALL of them, and I don't want multiple tables or sheets.

Thanks.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>