Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ChrisTMI
 
Posts: n/a
Default Cond Format: Expiry Date Alert


Does anyone know how to solve this one?

I have passport expiry dates and I would like to conditionally format
them so that 6 months before the passport expires, the cell containing
the expiry date changes red.

Thanks


--
ChrisTMI
------------------------------------------------------------------------
ChrisTMI's Profile: http://www.excelforum.com/member.php...o&userid=10342
View this thread: http://www.excelforum.com/showthread...hreadid=481899

  #2   Report Post  
Barry
 
Posts: n/a
Default Cond Format: Expiry Date Alert

use conditional formatting

"ChrisTMI" wrote:


Does anyone know how to solve this one?

I have passport expiry dates and I would like to conditionally format
them so that 6 months before the passport expires, the cell containing
the expiry date changes red.

Thanks


--
ChrisTMI
------------------------------------------------------------------------
ChrisTMI's Profile: http://www.excelforum.com/member.php...o&userid=10342
View this thread: http://www.excelforum.com/showthread...hreadid=481899


  #3   Report Post  
ChrisTMI
 
Posts: n/a
Default Cond Format: Expiry Date Alert


Sorry, maybe my question wasn't clear.

I want to use conditional formatting but I need the formula to solve
the expiry date problem.


--
ChrisTMI
------------------------------------------------------------------------
ChrisTMI's Profile: http://www.excelforum.com/member.php...o&userid=10342
View this thread: http://www.excelforum.com/showthread...hreadid=481899

  #4   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default Cond Format: Expiry Date Alert

Hi,

Select the range containing the passport expiry dates (e.g., A2:a501), and
use the following conditional formatting formula,

Formula Is =DATEDIF(TODAY(),$A2,"M")<6

and format the cells as you wish. This would format the cells where the
expiry dates are less than six months from the current day (e.g., on
11/03/2005, it would format the cells where the expiry dates are 05/02/2006
or earlier)

Regards,
B. R. Ramachandran

and select the format
"ChrisTMI" wrote:


Sorry, maybe my question wasn't clear.

I want to use conditional formatting but I need the formula to solve
the expiry date problem.


--
ChrisTMI
------------------------------------------------------------------------
ChrisTMI's Profile: http://www.excelforum.com/member.php...o&userid=10342
View this thread: http://www.excelforum.com/showthread...hreadid=481899


  #5   Report Post  
ChrisTMI
 
Posts: n/a
Default Cond Format: Expiry Date Alert


Many thanks - perfect.


--
ChrisTMI
------------------------------------------------------------------------
ChrisTMI's Profile: http://www.excelforum.com/member.php...o&userid=10342
View this thread: http://www.excelforum.com/showthread...hreadid=481899

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
Change general format to US date format woodlot4 Excel Discussion (Misc queries) 3 October 11th 05 12:29 AM
Customized Date Format Frustrated Excel Worksheet Functions 5 October 7th 05 11:30 PM
Compare dates (one cell not in date format) craigcsb Excel Discussion (Misc queries) 5 June 28th 05 05:07 PM
How do I keep the date from changing format in a mail merge? Brynn Wilson Excel Discussion (Misc queries) 1 June 9th 05 06:44 PM
Excel enters date as a text format Kane Excel Discussion (Misc queries) 3 March 22nd 05 09:20 PM


All times are GMT +1. The time now is 01:26 PM.

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"