TOP

WorkHours function

YLC Utilities logo

WORKHOURS() Description

The WORKHOURS() function is designed to count the number of working hours between two given dates, taking into account the working day period and the specified holiday dates.

This function is a powerful tool for calculating working hours, which will facilitate your work with spreadsheets and help you use your time more efficiently. Use it to quickly and accurately determine working hours in your project!


Main Features Functions WORKHOURS

Syntax:

=WORKHOURS(StartDate; EndDate; StartTime; EndTime; [Weekend]; [Holidays]; [WorkingDaysOff])

Parameters:

Example Usage

Let you have a table with the start and end dates of the calculation period (for example, the start and end of the week, month, quarter, year, etc.), as well as other necessary parameters. You only need to enter the formula WORKHOURS, and LibreOffice Calc will automatically calculate the number of working hours:

=WORKHOURS(StartDate; EndDate; StartTime; EndTime; Weekend; Holidays; WorkingDaysOff)

We will have the following result:

Workhours formula usage

This example uses the following values:

Download the extension

You can use the WORKHOURS() function by installing the extension "YLC_Utilities.oxt" .

After that, this function will be available in all files that will be opened in LibreOffice Calc.