PC Review


Reply
Thread Tools Rate Thread

anniversary dates

 
 
=?Utf-8?B?Vmlja2k=?=
Guest
Posts: n/a
 
      25th Sep 2007
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 With Quote
 
 
 
 
Ron Coderre
Guest
Posts: n/a
 
      25th Sep 2007
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" <(E-Mail Removed)> wrote in message
news:B7DE49FA-F4E4-4C31-9BD7-(E-Mail Removed)...
> 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 With Quote
 
=?Utf-8?B?Vmlja2k=?=
Guest
Posts: n/a
 
      25th Sep 2007
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" <(E-Mail Removed)> wrote in message
> news:B7DE49FA-F4E4-4C31-9BD7-(E-Mail Removed)...
> > 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 With Quote
 
David Biddulph
Guest
Posts: n/a
 
      25th Sep 2007
=DATE(YEAR(TODAY()),MONTH(A1),DAY(A1))
--
David Biddulph

"Vicki" <(E-Mail Removed)> wrote in message
news:B7DE49FA-F4E4-4C31-9BD7-(E-Mail Removed)...
> 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 With Quote
 
Ron Coderre
Guest
Posts: n/a
 
      25th Sep 2007
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())),MONTH(A1)+{0,1},DAY(A1)*{1,0}))

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

Regards,

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

"Vicki" <(E-Mail Removed)> wrote in message
news:E5ACE6C5-3403-4C36-A58B-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:B7DE49FA-F4E4-4C31-9BD7-(E-Mail Removed)...
>> > 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anniversary Dates tahuero@hotmail.com Microsoft Access Queries 3 12th Apr 2006 05:45 PM
recurring anniversary dates =?Utf-8?B?QmxhY2toYXdr?= Microsoft Excel Misc 0 2nd Aug 2005 06:21 AM
Employees anniversary dates =?Utf-8?B?U3RldmUgai4=?= Microsoft Excel Misc 1 19th Nov 2004 03:29 PM
Anniversary Dates Ed Pate Microsoft Excel Misc 3 27th Feb 2004 12:00 AM
Anniversary dates? jp Microsoft Access Getting Started 3 21st Feb 2004 10:50 PM


Features
 

Advertising
 

Newsgroups
 


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