Hello,
I want to create Macro that calculates Net Work Days between two dates and that also excludes holidays, but instead of difference displayed in a lump sum, I want the correct Net Work Days (excluding Holidays as well) to be displayed under its correct Federal Fiscal Year Row Title. I want the macro to use the list (holidaylist) I created in the workbook attached “TresExample” to be used to exclude the correct holidays from the correct Federal Fiscal Year.
In the example I provide in the attached workbook I am only using 10 records to simplify the example, but realistically I could have up to 20,0000 records.
In case you don’t know the Federal Fiscal Years are the following:
FY2011 10/1/2010 9/30/2011
FY2012 10/1/2011 9/30/2012
FY2013 10/1/2012 9/30/2013
FY2014 10/1/2013 9/30/2014
FY2015 10/1/2014 9/30/2015
FY2016 10/1/2015 9/30/2016
FY2017 10/1/2016 9/30/2017
FY2018 10/1/2017 9/30/2018
FY2019 10/1/2018 9/30/2019
FY2020 10/1/2019 9/30/2020
In the workbook attached to this post I have the following worksheets:
1. Holidaylist
2. Data Before Macro is Executed
3. Data After Macro is Executed
If you need me to clarify something just let me know.
- BC
Bookmarks