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

I have 4 cells. Below is what I am trying to accomplish. I need the formulas
for each of the conditions. Please help.

Condition for Cells 1-3
Condition 1: If date is greater than NOW() - Red
Condition 2: If date is less than NOW() - Green
Condition 3: If there is a date in cell 4 (over ride conditions 1 and 2) -
Blue

Condition for Cell 4
Condition 1: If there is a date in cell 4 - Blue

Thank you,

Aviator
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Assume the cells ar A1:A4, select A1:A3 with A1 as the active cell,
formatconditional formatting formula is, for the first condition use

=ISNUMBER($A$4)

format button and select blue patterns/fonts, click OK and click add,
condition 2

=AND(ISNUMBER(A1),A1TODAY())

format button and select red patterns/fonts, click OK and click add,
condition 3


=AND(ISNUMBER(A1),A1<=TODAY())

format button and select green patterns/fonts, click OK twice

select A4 and use the same as condition 1

=ISNUMBER($A$4)


there is no good way of knowing that a cell holds a date so isnumber is the
closest you can get


Regards,

Peo Sjoblom


"Aviator" wrote:

I have 4 cells. Below is what I am trying to accomplish. I need the formulas
for each of the conditions. Please help.

Condition for Cells 1-3
Condition 1: If date is greater than NOW() - Red
Condition 2: If date is less than NOW() - Green
Condition 3: If there is a date in cell 4 (over ride conditions 1 and 2) -
Blue

Condition for Cell 4
Condition 1: If there is a date in cell 4 - Blue

Thank you,

Aviator

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
Conditional formating? ItalyTravel Excel Discussion (Misc queries) 1 December 22nd 04 07:04 PM
Can i carry out more than 3 conditional formating Queries? how? andy Excel Discussion (Misc queries) 2 December 20th 04 04:49 PM
How to change an entire row using conditional formating John Edwards Excel Discussion (Misc queries) 2 December 9th 04 05:41 PM
conditional formating - Highlighting text cells based on sales res ANDREW_B Excel Discussion (Misc queries) 7 December 2nd 04 04:27 PM
HELP ME PLEASE!! CONDITIONAL FORMATING HIGHLIGHTING CELLS. ANDREW_B Excel Discussion (Misc queries) 1 December 2nd 04 04:12 PM


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