Year only

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Vacation Date Problem 5
Formula to return Vacation weeks 1
please help me-urgent 5
vacation accrual formula 2
Excel DateDif - why does 2007 seem different? 3
Vacation days from date of hire 15
Excel Formula 3
Excel Formula 15

Back
Top