Forum Discussion
JonGuy23934
Sep 25, 2023Copper Contributor
Excel function
In my spreadsheet, I have projects' start time/date and end time/date. I need to write an excel function that calculates how many hours were spent on the project that subtracts lunches, breaks, and weekends.
5 Replies
- SergeiBaklanDiamond Contributor
- JonGuy23934Copper Contributor
Thank you SergeiBaklan! That's the function I'm using now, and it gives me the total time spent. The problem is I'm having to manually subtract weekends, lunches and breaks from the result.
- SergeiBaklanDiamond Contributor
I see. Perhaps you could give bit more details how your data is structured. In addition to start/end where and how breaks are defined, where are public holidays list, etc. Ideally with sample file.