Try this,
=WEEKNUM(TODAY())-1
and
=WEEKNUM(TODAY())+1
You will need the Analysis Took Pak add-in for WEEKNUM to work
http://www.cpearson.com/excel/ATP.htm
Try this,
=WEEKNUM(TODAY())-1
and
=WEEKNUM(TODAY())+1
You will need the Analysis Took Pak add-in for WEEKNUM to work
http://www.cpearson.com/excel/ATP.htm
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
You can't use Analysis ToolPak functions in conditional formatting so, assuming you don't have Excel 2007 you'd have to use WEEKNUM formula on the worksheet and then reference the result...
..or directly....for dates before this Monday use this as condition 1
=A1<TODAY()-WEEKDAY(TODAY(),3)
for dates this week use this for condition 2
=A1<TODAY()-WEEKDAY(TODAY(),3)+7
and then for any later dates condition 3
=A1>=TODAY()-WEEKDAY(TODAY(),3)+7
that works perfect; thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks