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 ? |
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 ? |
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 ? |
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 ? |
All times are GMT +1. The time now is 08:09 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com