Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Default Other Than the Current Year | Excel Worksheet Functions | |||
use current year in macro | Excel Discussion (Misc queries) | |||
Combination Graph with current year and prior year sales | Charts and Charting in Excel | |||
days since 1/1/current year | Excel Discussion (Misc queries) | |||
How to compare current year to prior year in bar chart? | Charts and Charting in Excel |