OaklandJim
Well-known Member
- Joined
- Nov 29, 2018
- Messages
- 855
- Office Version
- 365
- Platform
- Windows
Team Mr. excel
I need to use conditional formatting to create a Gantt chart worksheet.
I am using this formula -- which works in worksheet cells --
to determine if the "current" date in the Gantt chart plot is a workday.
rcDayDate is a name whose RefersTo is a basic relative column address like L$5. For a given cell within the Gantt chart range it refers to the cell containing the "current" date (the date being processed for the Gantt bar plot). WorkDaysInAWeek is merely a named range containing a list of day names that are within the workweek like "Mon","Tue","Wed","Thu" for a four day workweek.
As I said above, the formula works (returns true or false) when used in cells. But when using the formula for conditional formatting it does not seem to evaluate to true or false.
Is my formula not acceptable for conditional formatting?
I really appreciate your assistance.
Jim
I need to use conditional formatting to create a Gantt chart worksheet.
I am using this formula -- which works in worksheet cells --
Excel Formula:
=ISNUMBER(MATCH(TEXT(rcDayDate,"ddd"),WorkDaysInAWeek,0))
rcDayDate is a name whose RefersTo is a basic relative column address like L$5. For a given cell within the Gantt chart range it refers to the cell containing the "current" date (the date being processed for the Gantt bar plot). WorkDaysInAWeek is merely a named range containing a list of day names that are within the workweek like "Mon","Tue","Wed","Thu" for a four day workweek.
As I said above, the formula works (returns true or false) when used in cells. But when using the formula for conditional formatting it does not seem to evaluate to true or false.
Is my formula not acceptable for conditional formatting?
I really appreciate your assistance.
Jim