#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default anniversary dates

How do I get a date in the past (column a) to show as a due date this year in
column b? i.e. if they joined the company on 3-dec-98 then I want the next
column to automatically say that their appraisal is due on 3-dec-07. THANKS
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default anniversary dates

Try this:

A1: (Hire date..no future dates, no text)

Next anniversary date:
=IF(A1,TODAY()+LOOKUP(365,--(TEXT(A1,"dd-mmm-")&(YEAR(NOW())+{0,1}))-TODAY()),"")

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Vicki" wrote in message
...
How do I get a date in the past (column a) to show as a due date this year
in
column b? i.e. if they joined the company on 3-dec-98 then I want the
next
column to automatically say that their appraisal is due on 3-dec-07.
THANKS



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default anniversary dates

You superstar - I would never have got there on my own!

"Ron Coderre" wrote:

Try this:

A1: (Hire date..no future dates, no text)

Next anniversary date:
=IF(A1,TODAY()+LOOKUP(365,--(TEXT(A1,"dd-mmm-")&(YEAR(NOW())+{0,1}))-TODAY()),"")

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Vicki" wrote in message
...
How do I get a date in the past (column a) to show as a due date this year
in
column b? i.e. if they joined the company on 3-dec-98 then I want the
next
column to automatically say that their appraisal is due on 3-dec-07.
THANKS




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

=DATE(YEAR(TODAY()),MONTH(A1),DAY(A1))
--
David Biddulph

"Vicki" wrote in message
...
How do I get a date in the past (column a) to show as a due date this year
in
column b? i.e. if they joined the company on 3-dec-98 then I want the
next
column to automatically say that their appraisal is due on 3-dec-07.
THANKS



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default anniversary dates

Actually, I was close....but the formula I posted trips up if the hire date
is 29-Feb of a leap year. It returns an error if the next anniversary date
is not in a leap year.

To return the same values that the EDATE function would return...(29-Feb
becomes 28-Feb in non-leap years...and 29-Feb in leap years)
try this:
=MIN(DATE(YEAR(NOW())+(MONTH(A1)<MONTH(NOW())),MON TH(A1)+{0,1},DAY(A1)*{1,0}))

--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Vicki" wrote in message
...
You superstar - I would never have got there on my own!

"Ron Coderre" wrote:

Try this:

A1: (Hire date..no future dates, no text)

Next anniversary date:
=IF(A1,TODAY()+LOOKUP(365,--(TEXT(A1,"dd-mmm-")&(YEAR(NOW())+{0,1}))-TODAY()),"")

Does that help?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

"Vicki" wrote in message
...
How do I get a date in the past (column a) to show as a due date this
year
in
column b? i.e. if they joined the company on 3-dec-98 then I want the
next
column to automatically say that their appraisal is due on 3-dec-07.
THANKS






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
Date range selection? Anniversary dates mrburnette Excel Worksheet Functions 6 August 30th 07 07:16 PM
Days to next anniversary smaruzzi Excel Discussion (Misc queries) 36 July 10th 07 05:44 AM
Calculating Anniversary Penny Excel Discussion (Misc queries) 5 October 7th 05 03:31 PM
recurring anniversary dates Blackhawk Excel Discussion (Misc queries) 0 August 2nd 05 06:21 AM
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 07:21 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"