DATE Formula

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,857
Office Version
  1. 365
Platform
  1. Windows
I am trying to calculate total rent payments.
I have two dates, the starting and ending dates, in column L and O, and need to calculate total rent for that period.
So for example starting date 02/28/08 and ending date 9/1/08. for mula calculates 180 days or 6 months. I multiply that 6 months by rent $1247. the answer is $224,460, obviously that is wrong, the multiplication formula readidng month as date. DATEDIF formula does not work either, for example it calculates one month, of staring date 7/1/08 and ending date 8/31/08.
How can I use months as numbers rather than dates to get correct answer.

Also some tenants moved in in the middle of the month, what formula will give me the total number of days. say 4.2 monts or something like that to calculate the rent.

Thanks
 
Last edited:

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Use DateDif

ex. C1 =DATEDIF(A1,B1,"M") ' A1 = 2/28/08 B1 = 9/1/08 M is interval in Months. In your example 6.

Change the interval ("M") to ("D") to get number of Days.
 
Upvote 0
the rent $1247 is per month that will multiply number of days times 1247
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top