Calculate Anniversary dates

Rupert Bennett

Active Member
Joined
Nov 20, 2002
Messages
271
Is there a formula I could write to calculate the anniversary dates based on a column of hire dates? For example, if the hire date is 2/12/02 in column "A", and this is year 2004, it will show the anniversary date to be 2/12/04 in column "B" and next year it will show 2/12/05. Any help will be greatly appreciated.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Thank you! Not specifically what I wanted, but it's close enough that I can use conditional formatting to tweak it. Thanks again!
 
Upvote 0
Is there a way to format the Milestone Date Column so that dates only display if the number in the Years Column is equal to 1, 5, 10, etc? Possibly with white text & white fill? Or even to highlight the cell (in Column E; example E5) if the cell in Column D (example, D5) is equal to the desired trigger numbers?

A
1 Last Name
B
First Name
C
Hire Date
D
Years
E
Milestone Date
2 Last NameFirst Name 06/30/201426/30/16
3 Last NameFirst Name 08/08/201608/8/16
4 Last NameFirst Name 06/09/201426/9/16
5 Last NameFirst Name 06/05/201706/5/17
6 Last NameFirst Name 11/28/2016011/28/16
7 Last NameFirst Name 05/15/201255/15/17
8 Last NameFirst Name 12/05/2016012/5/16
9 Last NameFirst Name 04/04/201614/4/17
10 Last NameFirst Name 12/12/2016012/12/16

<colgroup><col span="2"><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
Try applying the following CF rule to range $E$2:$E$10:

=OR($D2=1,AND($D2,MOD($D2,5)=0))
 
Upvote 0
I'm realizing how much I have to learn about Excel, but I'm not sure how to properly apply that formula, on the most basic level.
 
Upvote 0
Here is how:

1. Copy the formula from Post #16 to the Clipboard
2. In your worksheet, select range E2:E10
3. Go to Styles --> Conditional Formatting --> New Rule --> Use a formula...
4. Paste the formula into the field "Format values where tis formula is true:"
5. Click the "Format..." button and select a font color and/or fill color
6. Click "OK", "OK"
 
Upvote 0

Forum statistics

Threads
1,214,877
Messages
6,122,051
Members
449,064
Latest member
scottdog129

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top