ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Finding the current year (https://www.excelbanter.com/excel-worksheet-functions/231007-finding-current-year.html)

BrittaniMV

Finding the current year
 
I am trying to determine the current year at a given date.

For example, if my beginning date is 1/1/2000, as of 12/31/2002 this date in
time would be in the 3rd year so i would want the number 3 to display. 1/1/03
would be in the 4th year.

Can someone help me find a way to calculate this?

Jacob Skaria

Finding the current year
 
A1 = 1/1/2000
B1 = 12/31/2002
C1 = YEAR(B1)-YEAR(A1)+1

If this post helps click Yes
---------------
Jacob Skaria


"BrittaniMV" wrote:

I am trying to determine the current year at a given date.

For example, if my beginning date is 1/1/2000, as of 12/31/2002 this date in
time would be in the 3rd year so i would want the number 3 to display. 1/1/03
would be in the 4th year.

Can someone help me find a way to calculate this?


Bernard Liengme[_3_]

Finding the current year
 
If I understand the question: =YEAR(TODAY())-2000
best wishes

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"BrittaniMV" wrote in message
...
I am trying to determine the current year at a given date.

For example, if my beginning date is 1/1/2000, as of 12/31/2002 this date
in
time would be in the 3rd year so i would want the number 3 to display.
1/1/03
would be in the 4th year.

Can someone help me find a way to calculate this?




Jacob Skaria

Finding the current year
 
OR use

=DATEDIF(A1,B1,"y")

If this post helps click Yes
---------------
Jacob Skaria


"BrittaniMV" wrote:

I am trying to determine the current year at a given date.

For example, if my beginning date is 1/1/2000, as of 12/31/2002 this date in
time would be in the 3rd year so i would want the number 3 to display. 1/1/03
would be in the 4th year.

Can someone help me find a way to calculate this?



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

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