Forum Discussion

JonGuy23934's avatar
JonGuy23934
Copper Contributor
Sep 25, 2023

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

    • JonGuy23934's avatar
      JonGuy23934
      Copper 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.

      • SergeiBaklan's avatar
        SergeiBaklan
        Diamond Contributor

        JonGuy23934 

        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.

Resources