I am trying to use this formula in cinditional formatting to highlight cells in the…
- User
I am trying to use this formula in cinditional formatting to highlight cells in the range B1:BK1 tha contains dates that are weekend dates. The formula is being rejected: =WEEKDAY(B1,2)=1 OR WEEKDAY(B1,2)=7
Assistant
The issue you're encountering is likely due to how Conditional Formatting handles formulas, especially when it comes to using the
ORoperator directly in the formula. Here are a couple of approaches to achieve your goal, highlighting cells in the rangeB1:BK1that contain dates falling on weekends:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.