Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Other Than the Current Year oufan199 Excel Worksheet Functions 3 March 17th 08 12:00 AM
use current year in macro mohavv Excel Discussion (Misc queries) 1 January 8th 08 09:44 PM
Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM
days since 1/1/current year dan Excel Discussion (Misc queries) 6 October 14th 06 07:20 PM
How to compare current year to prior year in bar chart? substring Charts and Charting in Excel 4 May 12th 05 07:04 PM


All times are GMT +1. The time now is 10:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"