Thanks for your response.
Take '11/21/23' as an example, the result of WEEKDAY(H) is 3, under the case of your previous formula, it calculates 5 working days. But now, there is a Category 3 within Column M, you need to change the formula to calculate 7 working days. Am I right?
If so, you may try formula WORKDAY(H539,IF(M539=3,7,5),AK$2:AK$71)
.
Any misunderstandings, please feel free to let us know.
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.