Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
LtWesterholm
 
Posts: n/a
Default Conditional Formatting

How do I set up cells to identify expiration dates? For instance, on a
matrix I identify the date someone receives a 2-year certification. Eighteen
months later, I would like the date to change to amber. At the expiration
date, I would like the cell to turn red.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Assuming the date is in A1, select A1, go to Format
Conditional Formatting, choose "Formula Is" and put:

=TODAY()=DATE(YEAR($A$1),MONTH($A$1)+18,DAY($A$1))

Press the Format radio button, click the Pattern tab, and
choose something close to Amber. Press OK.

Click the Add button, choose Formula Is, and insert this:

=TODAY()=DATE(YEAR($A$1),MONTH($A$1)+24,DAY($A$1))

Follow the same steps (except choose red this time).

To learn more about CF, see:

http://www.contextures.com/xlCondFormat01.html

HTH
Jason
Atlanta, GA

-----Original Message-----
How do I set up cells to identify expiration dates? For

instance, on a
matrix I identify the date someone receives a 2-year

certification. Eighteen
months later, I would like the date to change to amber.

At the expiration
date, I would like the cell to turn red.
.

  #3   Report Post  
Duke Carey
 
Posts: n/a
Default

Select the cell with the date
From the Format menu choose Conditional Formatting

In the main dialog box:
in the left hand drop down choose "Cell Value Is"
in the middle drop down choose "less than or equal to"
in the text box type =NOW()-730
Click on the format button and choose a Red pattern and click on OK

In the main dialog box click on the Add button
in the left hand drop down choose "Cell Value Is"
in the middle drop down choose "less than or equal to"
in the text box type =NOW()-547
Click on the format button and choose an Amber pattern and click on OK

Click on OK


"LtWesterholm" wrote:

How do I set up cells to identify expiration dates? For instance, on a
matrix I identify the date someone receives a 2-year certification. Eighteen
months later, I would like the date to change to amber. At the expiration
date, I would like the cell to turn red.

  #4   Report Post  
Duke Carey
 
Posts: n/a
Default

May take a hybrid of Jason's suggestion and mine

In the main dialog box:
in the left hand drop down choose "Cell Value Is"
in the middle drop down choose "less than or equal to"
in the text box type

=DATE(YEAR(today())-2,MONTH(today()),DAY(today()))

Click on the format button and choose a Red pattern and click on OK

In the main dialog box click on the Add button
in the left hand drop down choose "Cell Value Is"
in the middle drop down choose "less than or equal to"
in the text box type

=DATE(YEAR(today()),MONTH(today())-18,DAY(today()))

Click on the format button and choose an Amber pattern and click on OK



"Duke Carey" wrote:

Select the cell with the date
From the Format menu choose Conditional Formatting

In the main dialog box:
in the left hand drop down choose "Cell Value Is"
in the middle drop down choose "less than or equal to"
in the text box type =NOW()-730
Click on the format button and choose a Red pattern and click on OK

In the main dialog box click on the Add button
in the left hand drop down choose "Cell Value Is"
in the middle drop down choose "less than or equal to"
in the text box type =NOW()-547
Click on the format button and choose an Amber pattern and click on OK

Click on OK


"LtWesterholm" wrote:

How do I set up cells to identify expiration dates? For instance, on a
matrix I identify the date someone receives a 2-year certification. Eighteen
months later, I would like the date to change to amber. At the expiration
date, I would like the cell to turn red.

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
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Conditional Formatting in Excel Help Please..... Willie T Excel Discussion (Misc queries) 4 February 9th 05 02:28 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 05:31 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"