Need Excel formula for date calculations that will change the color of the cell's text and background as indicated.
Posted on 2014-09-22
We need formulas for Excel to calculate dates. Example: Indicate if date in cell C12 (9/21/2014) is greater than 30 days but less than 45 days from TODAY by turning the cell color to bold background YELLOW and the Type will be bold BLACK. If cell C12 is equal to or greater than 45 days from TODAY it will turn the cell to bold RED background and the Type will be bold WHITE. Otherwise leave the cell as normal WHITE background and normal Black Type. The formulas will automatically update each time the file is opened. It will automatically use the computer's date.
I have not done any of this yet but I believe that:
1. The cell or cells in question should be first highlighted.
2. Click the Home Tab, Conditional Formatting, and New Rules (or color scales).
3. A formula should be entered that follows the above rules.
How should the formulas appear?
Where should the formula be placed?
I guess that the formula will look something like the following:
(I am sure that these are incorrect but they may give you an idea of what we want done.
If TODAY()-E2>29 AND <45 THEN color the cell (Bold Yellow, Bold Black type)
If TODAY()-E2>44 THEN color the cell (Bold Red, Bold White type)
If TODAY()-E2<30 THEN leave the cell color (White, Black type)
After dates are entered into the cells, we need to know if the deadlines are near or past due. We want the formulas to automatically update each time the file is opened.