TOP

WorkHours Function

WORKHOURS() Description

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

This function is a powerful tool for calculating working hours that will facilitate your work with tables and help you use your time more efficiently. Use it for quick and accurate determination of working hours in your project!


Main Characteristics of the WORKHOURS Function

Syntax:

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

Parameters:

Example of Use

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

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

We will get the following result:

Example of using the WORKHOURS() function
Example of using the WORKHOURS() function

In this example, the following values are used:

Download extension

You can use the function WORKHOURS() by installing the extension YLC Utilities.

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


This function is also available in the following extensions: YLC FunctionsYLC Utilities

The YLC Utilities menu in LO Calc

The YLC Utilities menu in LO Calc

The YLC Utilities menu in Excel

The YLC Utilities menu in Excel