ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Calculating rents and months past in 1 cell??? (https://www.excelbanter.com/new-users-excel/96601-calculating-rents-months-past-1-cell.html)

Ricardo Barroso

Calculating rents and months past in 1 cell???
 
Hi,

I´m making a Worksheet to calculate the Residual Value of car at the time
the worksheet is open.
So i have colums with the "inicial date of the contract", "Final date of the
contract", "the monthly rent", and the "car value when purchased".
With this colums i need to calculate the value of the car at today date.

This columm as to do this:

"Value of the car when Purchased" - (MINUS) "rents payed since the begining
of the contract until todays date".

How can i make excel calculate this.

Sincerely


Bearacade

Calculating rents and months past in 1 cell???
 

To find out the number of months, you would use this formula...

=(YEAR(NOW())-YEAR(A1))*12+MONTH(NOW())-MONTH(A1)

What you need to do is put ="Value of the car when purchased"-("the
monthly rent"*(YEAR(NOW())-YEAR(A1))*12+MONTH(NOW())-MONTH(A1)

Make sure you format the cell as general


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=556481



All times are GMT +1. The time now is 07:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com