Let me start by stating that I believe I am in the right place with this question, but I am uncertain where exactly the problem lies.
I am working on a Gantt chart and am trying to utilize an "if" "or" and "weekday" formula to highlight non work days. I have a date field spanned vertically from row 3 - 6 and the dates start in column H and continue to column AY. The date in column H is 02/16/15, column I is 02/17/15 and so on. I am using the formula -- =IF(OR(WEEKDAY(H$3)=1,WEEKDAY(H$3)=7),1,0) -- so if the day value returned is 1 or 7 (Sunday or Saturday) the true statement reads 1 and false reads 0.
Spanning this formula across row 30 from column H - AY I get "00000110000011000001100000110000011000001100". This is the expected result 5 zero's and 2 one's per week.
The trouble is, when I apply this formula to conditional formatting to apply a color fill on the dates that fall in the weekend everything works properly until column AS and then everything after AS is color filled as if it were a weekend.
Any thoughts?
Project Overview_Need Help.xlsx
Sean May
Bookmarks