Skip to main content
Solved

Determine if WORKDAY() returns a Friday or Monday

  • August 15, 2023
  • 1 reply
  • 23 views

Forum|alt.badge.img+8

I'm using the WORKDAY function and it's skipping the weekend as it should, but it always returns the previous Friday. Is there a way to have it return Friday if the date falls on a Saturday, and return Monday if it falls on Sunday?

Best answer by corb1

You would want to use the WEEKDAY() function to check the conditions you describe. If weekday = Saturday, then do A. If Sunday then B. If other, then C.

1 reply

Forum|alt.badge.img+5
  • Inspiring
  • 23 replies
  • Answer
  • August 15, 2023

You would want to use the WEEKDAY() function to check the conditions you describe. If weekday = Saturday, then do A. If Sunday then B. If other, then C.