View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Stefi Stefi is offline
external usenet poster
 
Posts: 2,646
Default cell colour change when set markers are reached


If column A contains expiry dates then select column A,
FormatsConditional Formattingformula1:
=DATEDIF(TODAY(),A1,"m")<1 red for 1 month
Click Add button, formula2:
=DATEDIF(TODAY(),A1,"m")<2 orange for 2 month
Click Add button, formula3:
=DATEDIF(TODAY(),A1,"m")<3 yellow for 3 month

Adjust number of months as you like!

Regards,
Stefi

€˛balding rapidly!€¯ ezt Ć*rta:

i need to get a cell to change colour when markers are reached eg
a qualification lasts 12 months. what i want to do is have the cell change
from yellow to orange to red as the expiry date gets closer.