#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 29
Default 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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to protect without getting the warnings Conditional Formatting Excel Worksheet Functions 0 November 21st 05 04:42 PM
how to protect without getting the warnings Conditional Formatting Excel Worksheet Functions 0 November 21st 05 04:40 PM
Turn off warnings in Macro Patti Excel Worksheet Functions 1 January 21st 05 05:47 PM
Disabling some MS Excel warnings. Christopher Blue Excel Discussion (Misc queries) 0 January 1st 05 06:19 AM
how do I stop warnings when saving .xls as csv? leeandhazel Excel Discussion (Misc queries) 1 December 13th 04 12:11 PM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"