ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Dates (https://www.excelbanter.com/excel-worksheet-functions/33576-dates.html)

sdmccabe

Dates
 
I have a date displayed in a cell as 3/3/2005. I would like to add the value
of another cell, i.e. 36 (months) and display the result 3/3/2008. Can
someone help?

Peo Sjoblom

=DATE(YEAR(A1),MONTH(A1)+36,DAY(A1))

where A1 holds 3/3/2005

--
Regards,

Peo Sjoblom

(No private emails please)


"sdmccabe" wrote in message
...
I have a date displayed in a cell as 3/3/2005. I would like to add the
value
of another cell, i.e. 36 (months) and display the result 3/3/2008. Can
someone help?




All times are GMT +1. The time now is 04:21 AM.

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