Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default next anniversary date

I want to calculate an employee's next anniversary date. If an employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the year of the
hire date to the current year won't work.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default next anniversary date

hi,

I don't understand how adding 1 year to the hire date doesn't calculate the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the year of the
hire date to the current year won't work.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default next anniversary date

If they were hired several years ago it only adds one year

"Mike H" wrote:

hi,

I don't understand how adding 1 year to the hire date doesn't calculate the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the year of the
hire date to the current year won't work.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default next anniversary date

=DATE(YEAR(TODAY())+(TEXT(A1,"mmdd")TEXT(TODAY(), "mmdd")),MONTH(A1),DAY(A1))
--
David Biddulph

"pebbles" wrote in message
...
If they were hired several years ago it only adds one year

"Mike H" wrote:

hi,

I don't understand how adding 1 year to the hire date doesn't calculate
the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an
employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the year
of the
hire date to the current year won't work.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default next anniversary date

David,
This formula is close to what I need but it's showing '09 as the next
anniversary for dates that haven't passed yet this year, and '08 for dates
that have. Am I missing something? For instance, a person hired on 4/1/06,
their next anniversary will be in '09, a person hired on 08/12/99, their next
anniversary will be in '08.

"David Biddulph" wrote:

=DATE(YEAR(TODAY())+(TEXT(A1,"mmdd")TEXT(TODAY(), "mmdd")),MONTH(A1),DAY(A1))
--
David Biddulph

"pebbles" wrote in message
...
If they were hired several years ago it only adds one year

"Mike H" wrote:

hi,

I don't understand how adding 1 year to the hire date doesn't calculate
the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an
employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the year
of the
hire date to the current year won't work.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default next anniversary date

Yes, it was too late in the day when I was doing that.
Just change the in the formula to < (or <=, depending on how you want to
treat anniversaries occurring today).
--
David Biddulph

"pebbles" wrote in message
...
David,
This formula is close to what I need but it's showing '09 as the next
anniversary for dates that haven't passed yet this year, and '08 for dates
that have. Am I missing something? For instance, a person hired on
4/1/06,
their next anniversary will be in '09, a person hired on 08/12/99, their
next
anniversary will be in '08.

"David Biddulph" wrote:

=DATE(YEAR(TODAY())+(TEXT(A1,"mmdd")TEXT(TODAY(), "mmdd")),MONTH(A1),DAY(A1))
--
David Biddulph

"pebbles" wrote in message
...
If they were hired several years ago it only adds one year

"Mike H" wrote:

hi,

I don't understand how adding 1 year to the hire date doesn't
calculate
the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an
employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the
year
of the
hire date to the current year won't work.






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default next anniversary date

Thank you so much!! That's perfect!

"David Biddulph" wrote:

Yes, it was too late in the day when I was doing that.
Just change the in the formula to < (or <=, depending on how you want to
treat anniversaries occurring today).
--
David Biddulph

"pebbles" wrote in message
...
David,
This formula is close to what I need but it's showing '09 as the next
anniversary for dates that haven't passed yet this year, and '08 for dates
that have. Am I missing something? For instance, a person hired on
4/1/06,
their next anniversary will be in '09, a person hired on 08/12/99, their
next
anniversary will be in '08.

"David Biddulph" wrote:

=DATE(YEAR(TODAY())+(TEXT(A1,"mmdd")TEXT(TODAY(), "mmdd")),MONTH(A1),DAY(A1))
--
David Biddulph

"pebbles" wrote in message
...
If they were hired several years ago it only adds one year

"Mike H" wrote:

hi,

I don't understand how adding 1 year to the hire date doesn't
calculate
the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an
employee was
hired earlier this year I need the date to reflect next year. Some
anniversary dates have already occured this year so changing the
year
of the
hire date to the current year won't work.






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default next anniversary date

You're welcome.
--
David Biddulph

"pebbles" wrote in message
...
Thank you so much!! That's perfect!

"David Biddulph" wrote:

Yes, it was too late in the day when I was doing that.
Just change the in the formula to < (or <=, depending on how you want
to
treat anniversaries occurring today).
--
David Biddulph

"pebbles" wrote in message
...
David,
This formula is close to what I need but it's showing '09 as the next
anniversary for dates that haven't passed yet this year, and '08 for
dates
that have. Am I missing something? For instance, a person hired on
4/1/06,
their next anniversary will be in '09, a person hired on 08/12/99,
their
next
anniversary will be in '08.

"David Biddulph" wrote:

=DATE(YEAR(TODAY())+(TEXT(A1,"mmdd")TEXT(TODAY(), "mmdd")),MONTH(A1),DAY(A1))
--
David Biddulph

"pebbles" wrote in message
...
If they were hired several years ago it only adds one year

"Mike H" wrote:

hi,

I don't understand how adding 1 year to the hire date doesn't
calculate
the
anniversary so why not hire date in a1 and

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

Mike

"pebbles" wrote:

I want to calculate an employee's next anniversary date. If an
employee was
hired earlier this year I need the date to reflect next year.
Some
anniversary dates have already occured this year so changing the
year
of the
hire date to the current year won't work.








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
How do I find age in years from anniversary date (Age funtion)? Enquire Excel Worksheet Functions 1 January 1st 08 03:37 PM
Date range selection? Anniversary dates mrburnette Excel Worksheet Functions 6 August 30th 07 07:16 PM
Anniversary of a date Becks Excel Discussion (Misc queries) 4 August 23rd 07 02:38 PM
formula to display anniversary date sharita Excel Worksheet Functions 3 February 12th 07 11:57 PM
How do I get an anniversary date? Steve j. Excel Worksheet Functions 1 November 18th 04 04:10 PM


All times are GMT +1. The time now is 10:22 PM.

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"