January 2006
On Tue, 3 Jan 2006 13:31:01 -0800, Howard
wrote:
In cells a1, b1, etc., I have the month-end date, like 12/31/2005. Now that
January 2006 has rolled around, I want the column with the date 12/31/2005 to
highlight using conditional formatting.
The Month function works well within the current year
(=MONTH(a$1)=MONTH(TODAY())-1, but how do I get the prior year-end month
(Dec) to highlight when the first month of the current year rolls around?
Well, if, in fact, the date at the header of the column is the last date of the
month, then:
Cell Value Is Equal To: =TODAY()-DAY(TODAY())
--ron
|