Nth Business Day of a Month/Year

kparadise

Board Regular
Joined
Aug 13, 2015
Messages
186
Hello,

I have a column with YYYYMM in it. I am able to split that column into two columns YYYY and MM. What I am trying to do is figure out what the 5th business day of each month is.

Column C holds the results I am looking for. I want to exclude weekends and holidays from the calculation of 5th business day.

A
B
C
1
2017
09
9/8/2017
2
2017
10
10/6/2017
3
2018
06
6/7/2018
4
2018
07
7/9/2018
5
2018
08
8/7/2018

<tbody>
</tbody>
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
In C1:

=WORKDAY(DATE(A1,B1,1)-1,5)

This formula returns different results from your examples, but I think they're correct. If you want to add a list of holidays, create your list in a column, and add the reference after the 5 in the formula. You can use WORKDAY.INTL if you have different requirements for which days comprise weekends.
 
Upvote 0

Excel 2010
CDEF
15th Business Day
222-Jul-189-Jul-185th working day
3Aug 20187-Aug-18
4
5Jul 2018Date formatted to month and year
6
2c
Cell Formulas
RangeFormula
D2=WORKDAY.INTL(C2-DAY(C2),5,1,Holidays)
D3=WORKDAY.INTL(C3-DAY(C3),5,1,Holidays)
Named Ranges
NameRefers ToCells
Holidays='2c'!$J$1:$J$12
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,539
Members
449,316
Latest member
sravya

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