Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Question Need Help With Conditional Formatting

HI

I have a spreadsheet which has a date on it (H2), When it comes to two days before the date i want it to go green, then one day before the date i need it go orange, then on the day its due i need it go red and stay red after the date has been passed and then i just need it to stay with no formatting before any of these days are reached.

e.g

<20/2/2011 (no formatting
21/2/2011 (cell to turn green)
22/2/2011 (cell to turn orange)
23/2/2011 (date in cell, date its due)
24/2/2011 (Cell to turn red)
25/2/2011 (Cell to stay red)


Many Thabks

Brad
  #2   Report Post  
Senior Member
 
Location: Belo Horizonte, Brazil
Posts: 170
Thumbs up

Dear Brad, Good Afternoon.

To do exactly what you need, DO:

Conditional Formatting

1° CONDITION
Formula: =TODAY()-H2=2
Format: Green colour

2° CONDITION
Formula: =TODAY()-H2=1
Format: Orange colour

3° CONDITION
Formula: =TODAY()-H2<=0
Format: Red colour

Teel me if it worked for you.

Mazzaropi



Quote:
Originally Posted by Braduzzz View Post
HI

I have a spreadsheet which has a date on it (H2), When it comes to two days before the date i want it to go green, then one day before the date i need it go orange, then on the day its due i need it go red and stay red after the date has been passed and then i just need it to stay with no formatting before any of these days are reached.

e.g

<20/2/2011 (no formatting
21/2/2011 (cell to turn green)
22/2/2011 (cell to turn orange)
23/2/2011 (date in cell, date its due)
24/2/2011 (Cell to turn red)
25/2/2011 (Cell to stay red)


Many Thabks

Brad
__________________
I hope it can help you.

Best regards,
Marcilio Lobão
---------------------------
Belo Horizonte, Brazil
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 can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


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