Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Warnings
I have an excel document with dates of when offshore certificates expire. I'd
like a column that would say "Warning" when it's 30 days before the certificate expires, unitl a new date is entered then it would say "OK". |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Warnings
Hi,
With your expiry date in A1 try this =IF(A1<TODAY()+30,"Warning","") Mike "Lynz" wrote: I have an excel document with dates of when offshore certificates expire. I'd like a column that would say "Warning" when it's 30 days before the certificate expires, unitl a new date is entered then it would say "OK". |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Warnings
if your date is in cell A1, put the following formula in cell B1:
=IF(A1-TODAY()<31,"Warning","OK") Note that with this formula you'll get "Warning" also when certificates have already expired. You could improve the process by having: =IF(A1<TODAY(),"Expired",IF(A1-TODAY()<31,"Warning","OK")) "Lynz" wrote: I have an excel document with dates of when offshore certificates expire. I'd like a column that would say "Warning" when it's 30 days before the certificate expires, unitl a new date is entered then it would say "OK". |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Warnings
Hi,
You can make a conditional formatting on your date column and find the result in color for example: if the date is before expiry date no color in expiry date the color could be yellow after expiry date the color could be red Thanks, -- Farhad Hodjat "Idoia" wrote: if your date is in cell A1, put the following formula in cell B1: =IF(A1-TODAY()<31,"Warning","OK") Note that with this formula you'll get "Warning" also when certificates have already expired. You could improve the process by having: =IF(A1<TODAY(),"Expired",IF(A1-TODAY()<31,"Warning","OK")) "Lynz" wrote: I have an excel document with dates of when offshore certificates expire. I'd like a column that would say "Warning" when it's 30 days before the certificate expires, unitl a new date is entered then it would say "OK". |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to protect without getting the warnings | Excel Worksheet Functions | |||
how to protect without getting the warnings | Excel Worksheet Functions | |||
Turn off warnings in Macro | Excel Worksheet Functions | |||
Disabling some MS Excel warnings. | Excel Discussion (Misc queries) | |||
how do I stop warnings when saving .xls as csv? | Excel Discussion (Misc queries) |