ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Track Annual Inspection Due Dates Using Conditional Formatting (https://www.excelbanter.com/excel-worksheet-functions/59222-track-annual-inspection-due-dates-using-conditional-formatting.html)

Scatman

Track Annual Inspection Due Dates Using Conditional Formatting
 
I am trying to make a worksheet that will track the annual inspection dates
for my equipment and basically change color when the inspections are comming
due or are overdue. Im using conditional foramtting what would the formula be
if i did an inspection on 6-sep-05 and i want excel to tell me when it is 5
days before the due date which would be 6-sep-06.

Bob Phillips

Track Annual Inspection Due Dates Using Conditional Formatting
 
Select the date cells, let's assume starting at A1
Menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =AND(A1+5=TODAY(),A1<=TODAY())
Click the Format button
Select the Pattern Tab
Select an appropriate highlighting colour
OK
OK


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Scatman" wrote in message
...
I am trying to make a worksheet that will track the annual inspection

dates
for my equipment and basically change color when the inspections are

comming
due or are overdue. Im using conditional foramtting what would the formula

be
if i did an inspection on 6-sep-05 and i want excel to tell me when it is

5
days before the due date which would be 6-sep-06.




Bernie Deitrick

Track Annual Inspection Due Dates Using Conditional Formatting
 
For a date in cell A1, use Format / Conditional Formatting... Formula is... with the formula

=DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))<(NOW()+5)

and set your formatting colors as you like.



HTH,
Bernie
MS Excel MVP


"Scatman" wrote in message
...
I am trying to make a worksheet that will track the annual inspection dates
for my equipment and basically change color when the inspections are comming
due or are overdue. Im using conditional foramtting what would the formula be
if i did an inspection on 6-sep-05 and i want excel to tell me when it is 5
days before the due date which would be 6-sep-06.




tony h

Track Annual Inspection Due Dates Using Conditional Formatting
 

=A1+365=TODAY()

assuming a1 is the last inspection date although this might result in
the first warning date being a saturday or sunday


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=491429



All times are GMT +1. The time now is 10:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com