Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional formatting
I want to change background colour in cell acording to the number of days to
a given date. i.e todays date is in cell A1 when other cells are greater than A1+60days then background is green, when less than A1+30 background is amber, when A1-1 background is red. How is this done ? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional formatting
Conditional format the cell with 3 formats.
Cell value - is greater than =A1+59 = Green Cell value - is greater than =A1+30 = Amber Cell value - is less than =A1 = red Mike "Phil Roberts" wrote: I want to change background colour in cell acording to the number of days to a given date. i.e todays date is in cell A1 when other cells are greater than A1+60days then background is green, when less than A1+30 background is amber, when A1-1 background is red. How is this done ? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional formatting
Tried this, typed in three formats, clicked ok, cell went red, even though
date in cell should have remained green by 2 years. Would not change back to green no matter what date was typed in cell "Mike" wrote: Conditional format the cell with 3 formats. Cell value - is greater than =A1+59 = Green Cell value - is greater than =A1+30 = Amber Cell value - is less than =A1 = red Mike "Phil Roberts" wrote: I want to change background colour in cell acording to the number of days to a given date. i.e todays date is in cell A1 when other cells are greater than A1+60days then background is green, when less than A1+30 background is amber, when A1-1 background is red. How is this done ? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Conditional formatting
1 If today's date is in A1, does your CF criterion refer to $A$1, to prevent
the reference changing if you are trying to apply the CF format to multiple cells? 2 Check the CF criteria to make sure that Excel hasn't inserted spurious quote marks. 3 Check the format and content of your cells to make sure that you've really got dates (and not text) in A1, and in the cells you're trying to format. 4 Check individual cells by using a formula such as =(B2A1+59) or =(B2A1+30) or =(B2<A1) and see whether you get TRUE or FALSE in each case. -- David Biddulph "Phil Roberts" wrote in message ... Tried this, typed in three formats, clicked ok, cell went red, even though date in cell should have remained green by 2 years. Would not change back to green no matter what date was typed in cell "Mike" wrote: Conditional format the cell with 3 formats. Cell value - is greater than =A1+59 = Green Cell value - is greater than =A1+30 = Amber Cell value - is less than =A1 = red Mike "Phil Roberts" wrote: I want to change background colour in cell acording to the number of days to a given date. i.e todays date is in cell A1 when other cells are greater than A1+60days then background is green, when less than A1+30 background is amber, when A1-1 background is red. How is this done ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
conditional Formatting based on cell formatting | Excel Worksheet Functions | |||
How do I use more than one value in Conditional Formatting? | Excel Worksheet Functions | |||
conditional formatting... almost | Excel Discussion (Misc queries) | |||
Conditional Formatting that will display conditional data | Excel Worksheet Functions |