I have an Excel table that has records with a created date and time column. I want to use Advanced Filter to create a second table (and put it on another sheet)-- and this second table will only contain records from the first table that have a created date and time that is greater than 4pm the previous BUSINESS day. (So the formula has to ignore Saturdays, Sundays, and Holidays. I tried to do this but Excel does not like my formula and also I'm not sure how to get in the business days aspect-- do I somehow use the WORKDAYS function combined with the TODAY function? I figured I could use the TODAY function and subtract a day, then add 2/3 of a day-- that gets me the "last business day" at 4pm I need -- I have that in cell F2 of the attached workbook, which also has my Excel Table on Sheet1. Once I learn what the correct formula is, I think I can use the macro recorder to get all this into a VBA sub.
Can someone tell me what is wrong with my formula to use with the Advanced Filter?
Can someone tell me what is wrong with my formula to use with the Advanced Filter?