=Workday, first day being weekend

saboh12617

Board Regular
Joined
May 31, 2024
Messages
82
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm a bit confused with the function workday. So i use it to find the working days of the month, Excel is configured to have saturday and sunday as weekend days.

However i realized today that, for the 1st of June 2024, ie 2024/06/01, which is a saturday
Excel Formula:
=WORKDAY(DATE(2024;6;1);0)
does not return monday 2024/06/03 as i would expect, but saturday 2024/06/01. Why? (i precise again that for the rest of the month the weekend days are correctly saturdays and sundays).

How can i "fix it", my aim being finding all the workdays of the month. Using Excel 2016.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Excuse me but i dont think that's what i asked. Basically i am doing a list of the workdays of the month. To do so i use =Workday with the first day of the month, and an offset of days. However for an offset of 0 it returns a weekend day instead of the next weekday, as explained for the 2024/06/01.
 
Upvote 0
Hi, you need to do it like this:
Excel Formula:
=WORKDAY(DATE(2024;6;1)-1;1)

With an offset of 0 your saying move 0 days to the next workday, so it doesn't move at all.
 
Upvote 1
Solution

Forum statistics

Threads
1,223,912
Messages
6,175,344
Members
452,638
Latest member
Oluwabukunmi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top