dragonmouse
Board Regular
- Joined
- May 14, 2008
- Messages
- 129
- Office Version
- 2016
- Platform
- Windows
I have a spreadsheet that has multiple "due" dates. I would like to highlight either the cell or at least the text to a color IF the maintenance due date is within 7 days of current date. In a nutshell a widget may require different types of maintenance for various frequencies. (most commonly 1, 7, 14, 28, 56,168 and 336). Not all widgets require maintenance for ALL frequencies. Most only require maintenance on one or two of the frequencies. For example a Widget may require a power on test every 14 days, and may require a dust blowing every 168 days.
Today's Date is 21-Jan-2016
Current calculations:
A1: Date Complete (17-JAN-2016)
B1: Maintenance Date Frequency (14)
C1: =IF(M3=14,$H$3+M3," ") If B1 has a frequency listed it will return a maintenance due date of 31-Jan-2016 otherwise if B1 is blank it will return BLANK.
IF the date returned in C1 is 7 days or less than the current date 21-JAN-2016, I want to be able to quickly spot it by a change in text color or cell highlight. and I'd like this change to occur in cell C1.
Any help will be appreciated.
Today's Date is 21-Jan-2016
Current calculations:
A1: Date Complete (17-JAN-2016)
B1: Maintenance Date Frequency (14)
C1: =IF(M3=14,$H$3+M3," ") If B1 has a frequency listed it will return a maintenance due date of 31-Jan-2016 otherwise if B1 is blank it will return BLANK.
IF the date returned in C1 is 7 days or less than the current date 21-JAN-2016, I want to be able to quickly spot it by a change in text color or cell highlight. and I'd like this change to occur in cell C1.
Any help will be appreciated.