Hi,
You can simplify your formula for the last date of a quarter to
=EOMONTH(NOW(),MOD(3-MONTH(NOW()),3))
The EOMONTH function is part of the Analysis Toolpak so you need to make
sure that is attached in 2003 or earlier - choose Tools, Add-ins, and check
it.
To conditionally format your cell(s):
In 2003:
1. Select the cell you want to format
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=A1<=DATE(YEAR(A2-183.5),MONTH(A2-183.5)+1,1)-1
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.
In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=A1<=EDATE(A2,-6)
5. Click the Format button and choose a format.
6. Click OK twice
If this helps, please click the Yes button.
Cheers,
Shane Devenshire