Forum Discussion
Formula to calculate response time in hours and minutes
- May 10, 2024
I have adjusted and corrected my function again. I think it should work now. But you would have to extend the list of public holidays for your country. Also, if you want to use this formula commercially, you would have to put it to the test with lots of examples.
The attached workbook contains a custom VBA function.
It uses a named range called Holidays that lists public holidays to exclude.
May I know how can the function move to my workbook? As I try to edit the information from the workbook you shared, the formula will run.
https://efinix-my.sharepoint.com/:x:/g/personal/zllee_efinixinc_com/EQOsCmvQKwROka96r_hn0y0Bzyv3fJDaFR4vx5Z2HFagdQ?e=6T2Yyn
- HansVogelaarMay 10, 2024MVP
Open both your workbook and my demo workbook.
Press Alt+F11 to activate the Visual Basic Editor.
In the Project Explorer pane on the left hand side, expand Modules under my workbook if necessary. You'll see Module1. Drag Module1 to your workbook and drop it there. This will copy the module with the code for the function to your workbook.