ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   What formula do I use to add to a date column in Excel? (https://www.excelbanter.com/excel-discussion-misc-queries/4262-what-formula-do-i-use-add-date-column-excel.html)

Donna at CMS

What formula do I use to add to a date column in Excel?
 
Help! We have a date in the format 01/01/2000 in column A1. We need to
produce a date in column B1 that is five years on minus one day (i.e.
31/12/2005). Does anyone know of a way to do this?

Many thanks!

Jason Morin

The date would be 31/12/2004, not 2005.

=DATE(YEAR(A1)+5,MONTH(A1),DAY(A1)-1)

HTH
Jason
Atlanta, GA

-----Original Message-----
Help! We have a date in the format 01/01/2000 in column

A1. We need to
produce a date in column B1 that is five years on minus

one day (i.e.
31/12/2005). Does anyone know of a way to do this?

Many thanks!
.


Donna at CMS

Works perfectly, thank you very much!

Donna

"Jason Morin" wrote:

The date would be 31/12/2004, not 2005.

=DATE(YEAR(A1)+5,MONTH(A1),DAY(A1)-1)

HTH
Jason
Atlanta, GA

-----Original Message-----
Help! We have a date in the format 01/01/2000 in column

A1. We need to
produce a date in column B1 that is five years on minus

one day (i.e.
31/12/2005). Does anyone know of a way to do this?

Many thanks!
.




All times are GMT +1. The time now is 02:40 PM.

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