Hello,
I would like to filter raw data so that it returns the last business day of each week with holidays accounted. Below is the data set:
2015-01-06 Tue
2015-01-05 Mon
2015-01-02 Fri
2014-12-31 Wed
2014-12-30 Tue
2014-12-29 Mon
2014-12-24 Wed
2014-12-23 Tue
2014-12-22 Mon
2014-12-19 Fri
2014-12-18 Thu
2014-12-17 Wed
The criteria I've applied to the advanced filter is '=AND(WEEKDAY(E2,2)<6,WEEKNUM(WORKDAY(E2,1,Holidays!$C$2:$C$147))<>WEEKNUM(E2))'. Holidays included 25 and 26 Dec 14.
The result is:
Fri 02 Jan 15
Wed 31 Dec 14
Fri 19 Dec 14
The required result is:
2015-01-02 Fri
2014-12-24 Wed
2014-12-19 Fri
Please let me know if I've made an error or if there are alternate ways for me to obtain the correct result. Thanks for your help in advance.
Bookmarks