Forum Discussion

JD1455's avatar
JD1455
Copper Contributor
Mar 06, 2024

Formula to remove afterhours and weekends from number

First, let me tell you that I am alright at Excel, but am by no means an expert.  I have a formula our users are using, where they now want to remove any time afterhours (outside 8AM-5PM) and weekend...
  • HansVogelaar's avatar
    HansVogelaar
    Mar 06, 2024

    JD1455 

    Here is a solution using a custom VBA function.

    Press Alt+F11 to activate the Visual Basic Editor and to view the code of the function.

Resources