Conditional formatting to determine when long service award due

Prish

Board Regular
Joined
Mar 30, 2016
Messages
91
Hi, I want to calculate when a long service award is due 6 months in advance based of today's date for each category, hopefully by highlighting the cell with conditional formatting.

This is my data:
ABCDEF
1Today:22-Oct-18
2
3NAMESTART DATELENGTH OF SERVICE15Yr Award Due20Yr Award Due25Yr Award Due
4Person 101 Jul 200315 years, 3 months01 Jul 201801 Jul 202301 Jul 2028
5Person 201 Nov 200314 years, 11 months01 Nov 201801 Nov 202301 Nov 2028
6Person 301 Jan 199919 years, 9 months01 Jan 201401 Jan 201901 Jan 2024
7Person 401 Feb 199424 years, 8 months01 Feb 200901 Feb 201401 Feb 2019

<tbody>
</tbody>
Sheet1 (2)

Worksheet Formulas (First Row only)
CellFormula
B1=TODAY()
C4=IF(B4="","",DATEDIF(B4,$B$1,"y")&" years, "&MOD(DATEDIF(B4,$B$1,"m"),12)&" months")
D4=DATE(YEAR(B4)+15,MONTH(B4),DAY(B4))
E4=DATE(YEAR(B4)+20,MONTH(B4),DAY(B4))
F4=DATE(YEAR(B4)+25,MONTH(B4),DAY(B4))

<tbody>
</tbody>

<tbody>
</tbody>



And this is the result I want to achieve:
ABCDEF
1Today:22-Oct-18
2
3NAMESTART DATELENGTH OF SERVICE15Yr Award Due20Yr Award Due25Yr Award Due
4Person 101 Jul 200315 years, 3 months01 Jul 201801 Jul 202301 Jul 2028
5Person 201 Nov 200314 years, 11 months01 Nov 201801 Nov 202301 Nov 2028
6Person 301 Jan 199919 years, 9 months01 Jan 201401 Jan 201901 Jan 2024
7Person 401 Feb 199424 years, 8 months01 Feb 200901 Feb 201401 Feb 2019

<tbody>
</tbody>
Sheet1

 
Last edited:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
how about
=AND(E4<=EDATE(TODAY(),6),E4>TODAY())
 
Upvote 0

Forum statistics

Threads
1,215,327
Messages
6,124,280
Members
449,149
Latest member
mwdbActuary

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