WORKDAY function

mcarter973

Board Regular
Joined
Mar 24, 2002
Messages
83
I am using the workday function (w/ brackets for holidays). I also want to use the month end date even if it falls on the weekend or holiday. For instance, the last business day for June is the 28th (Friday) and June 30 is a Sunday. For my spreadsheet I want to show June 30.

Can this be done?

Thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
On 2002-04-15 08:08, mcarter973 wrote:
I am using the workday function (w/ brackets for holidays). I also want to use the month end date even if it falls on the weekend or holiday. For instance, the last business day for June is the 28th (Friday) and June 30 is a Sunday. For my spreadsheet I want to show June 30.

Can this be done?

Thanks

Would this work?

=IF(EOMONTH(A1,0)=WORKDAY(A1,E1,Holidays)-1,EOMONTH(A1,0),WORKDAY(A1,E1,Holidays))

where E1 houses the desired number of workdays and Holidays is the name of the range that houses the holiday days.
 
Upvote 0

Forum statistics

Threads
1,213,551
Messages
6,114,267
Members
448,558
Latest member
aivin

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