View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bernard Liengme Bernard Liengme is offline
external usenet poster
 
Posts: 4,393
Default Calculating Dates

Can you rephrase this: who will reach the age of 59 1/2 two weeks prior to
the reaching the 59 1/2
You want to know who will be 59 1/2 in two weeks time
Have a look at DATEDIF in Chip's http://www.cpearson.com/excel/datedif.aspx
This =DATEDIF(A4,TODAY()+14,"m")/12 gives 59.5 with the 1/Aug/1948 DOB in A4

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"Anne" wrote in message
...
Need to a run adhocs on the 1st and 15th of each month to find individuals
who will reach the age of 59 1/2 two weeks prior to the reaching the 59
1/2
age, bascially the 15th adhoc run is to cover the first half of the next
month and the 1st adhoc run to cover the second half of the current month,
covering all dates within that month.

I need to create easy access to the start and end dates for the adhoc, so
I'm attempting to create a locked spreadsheet where the user need only to
enter the current date. I am trying to use the EDATE function,
=EDATE(A2,-715)-14, A2 being the current date, however I am not catching
all
the days for the next run or repeating days I don't need....any
suggestions?

A2
2/15/2008 Current Date

A4
8/1/1948 DOB for 59 1/2 (Adhoc Start date)

A5
?/??/???? Adhoc End Date

Thanks in advance!!