ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cond Format: Expiry Date Alert (https://www.excelbanter.com/excel-discussion-misc-queries/53558-cond-format-expiry-date-alert.html)

ChrisTMI

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


Barry

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



ChrisTMI

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


B. R.Ramachandran

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



ChrisTMI

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



All times are GMT +1. The time now is 12:56 PM.

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