In Excel, change only year component to date

How to change only the year component of a date using Excel formulas?

example: 12/31/07 → 12/31/11

+3
source share
5 answers

Use (for example)

=DATE(YEAR(A1)+5,MONTH(A1),DAY(A1))
+13
source

The general way to do this is:

=DATE(2011, MONTH(A1), DAY(A1))
+2
source

, 12/31/07 A1

=DATE(YEAR(A1)+4, MONTH(A1), DAY(A1))
+1

, , Home Ribbon, 2010 (, ) 2013 (, ) " /" " ", .

+1

Int (A1) -

0

Source: https://habr.com/ru/post/1779638/


All Articles