View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PH@tic[_2_] PH@tic[_2_] is offline
external usenet poster
 
Posts: 9
Default Calculating Anniversary years

Thanks Mike, that works. Now, how can in integrate that into what I had
already created: =IF(C3="Active",$O$2-YEAR(D3),"none") I had made the
previous forumula to review all the records, for the ones that were active
employees, calculate an anniversary group otherwide, display none.

How can I integrate your solution to also include the other actions: do the
calculation for active employees, otherwise display "None."

Thanks.

"Mike H" wrote:

Try,

=DATEDIF(A1,$E$1,"y")

Where E1 is the evaluation date.

Mike

"PH@tic" wrote:

I need to determine which employees might fall into a particular group of
anniversary dates 1 year, 2 year, 3 year, etc.

I have a column with a hire date dd/mm/yyyy and would like to create a
column where the anniversary year is the result based on a reference to data
in an absolute cell that I could change each month. To start, I need to
group people as to where they would be as of 1-1-09.

I had it calculated at first when I put 2009 in the absolute cell, but I
need to refine it by the month, so my initial thinking is to put 1-1-09 in
the absolute cell, then change it each month to recalculate going forward.

what forumula can I write to calculate an anniversary year by the method
described abvove?