A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Thank you for posting your question in the Microsoft Q&A forum.
According to your concern, to color weekdays only, you can try using this set up:
- In my testing worksheet, I create a Gantt chart structure like below:
- To count and color only Weekdays as Workdays, I select the range E2:P2 > go to Conditional Formatting > New Rule > Use a formula to determine which cells to format > use this formula: =AND(E$1>=$B2,E$1<=$D2,WEEKDAY(E$1,2)<=5)
- Then format the cell color as you prefer (I use dark blue for example) and press OK.
- If you want to color weekends as different color than blank, you can add a new rule with the same step and use this formula: =WEEKDAY(E$1,2)>5
- As a result:
I hope this helps you move forward smoothly. If you have any questions or need further assistance, please feel free to reach out again on this post so I can continue to support you.
Thank you for your patience and understanding. Looking forward to your response.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.