I am using the formula NETWORKDAYS.INTL(A2,B2,7,Holidays!A:A),0)
(where HOLIDAYS is a separate tab in the workbook listing the days of holidays to exclude.
I need to modify the formula where the results are for the year 2016 only.
The Holidays is a name range that has the dates of holidays for your country.
Your answer will be different since I do not know the range that includes your holidays.
Ignore the sheet name cited above; it is applicable only for my example.
N.B. I used your code 7 for the formula and I deleted the 0 at the end of the formula.
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.