Prev Previous Post   Next Post Next
  #1   Report Post  
Dave
 
Posts: n/a
Default Year only

I am building a vacation calendar at work and have come across a minor flaw
in my programming. As people reach the different milestones (5 years, 10
years...) their vacation time changes and for the most part the
"=DATEDIF(A2,B2,"y")" statement I have works but the real formula for our
vacation schedule is "The YEAR that a person crosses a milestone they are
eligible for more days not their service date"

The question is how can I extract the YEAR ONLY from a date to use for my
formula?

--
Thanks
Dave
 
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
How to compare current year to prior year in bar chart? substring Charts and Charting in Excel 4 May 12th 05 07:04 PM
leap year question tiw Excel Discussion (Misc queries) 5 April 20th 05 07:49 PM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
Need totals of values that fall within a given year Pierre Excel Worksheet Functions 12 January 5th 05 04:45 PM
Weeknum Year by Year Compare RJB Charts and Charting in Excel 4 December 29th 04 10:33 PM


All times are GMT +1. The time now is 11:44 PM.

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

About Us

"It's about Microsoft Excel"