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.

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[/TR]
[TR]
[TD="align: center"]1
[/TD]
[TD]2017
[/TD]
[TD]09
[/TD]
[TD]9/8/2017
[/TD]
[/TR]
[TR]
[TD="align: center"]2
[/TD]
[TD]2017
[/TD]
[TD]10
[/TD]
[TD]10/6/2017
[/TD]
[/TR]
[TR]
[TD="align: center"]3
[/TD]
[TD]2018
[/TD]
[TD]06
[/TD]
[TD]6/7/2018
[/TD]
[/TR]
[TR]
[TD="align: center"]4
[/TD]
[TD]2018
[/TD]
[TD]07
[/TD]
[TD]7/9/2018
[/TD]
[/TR]
[TR]
[TD="align: center"]5
[/TD]
[TD]2018
[/TD]
[TD]08
[/TD]
[TD]8/7/2018
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
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,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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