+ Reply to Thread
Results 1 to 2 of 2

Counting Hours Worked Excluding Public Holidays

  1. #1
    Registered User
    Join Date
    05-09-2019
    Location
    Singapore
    MS-Off Ver
    2016
    Posts
    1

    Counting Hours Worked Excluding Public Holidays

    Untitled.png

    Hello,

    I have a few formulas to figure out but I am not that good at Excel.
    1) To calculate the hours worked, excluding public holidays, to give the result 138:00.
    2) To calculate the hours worked on public holidays in the next row 6:00.
    3) To calculate the number of weekend days worked (could be zero hours e.g. off day on the weekend), and to return the value "1" if the number of days worked is more than 4 but less than 8, and to return the value "2" for the number of days being 8 and above.
    4) I have managed to do conditional formatting for weekend days, but I would need to apply that for public holidays as well.

    Thanks in advance!!
    Last edited by Joeyhoyw; 05-09-2019 at 12:18 PM.

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Counting Hours Worked Excluding Public Holidays

    Probably I'd add a helper column with a formula that was something like:

    Please Login or Register  to view this content.
    Note that a public holiday on a weekend would be reported as a "weekend", not a "public holiday"; you can which IF is tested first if you want to assess it the other way. (Conversely, we could rebuild with a CHOOSE if you want to return "Holiday Weekend" as it's own option).

    Then you could just run something like
    Please Login or Register  to view this content.
    to deliver your requirement (2); while requirement (1) would just be SUM(F2:F25) minus the formula above, (3) would be a COUNTIF() against then number of weekend days worked or something.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How To Calculate Net Work Hours Between Two Dates Excluding Weekends Or Holidays?
    By pavankumarbangaru in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-23-2018, 11:52 AM
  2. Replies: 9
    Last Post: 07-04-2016, 11:42 PM
  3. [SOLVED] peRoster Dilemna: calculate hours worked for scific shifts on public holidays using tables
    By Faboolous in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-18-2016, 09:14 AM
  4. [SOLVED] Working Hours - excluding weekends, holidays
    By CJENKSY in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 02:12 AM
  5. Excluding public holidays forever (Networkdays)
    By stevop622 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2013, 08:01 AM
  6. Convert Hours to Workdays, Excluding Holidays
    By mycon73 in forum Excel General
    Replies: 4
    Last Post: 08-21-2012, 11:57 AM
  7. [SOLVED] Calculating Business Days by excluding Saturdays/Sundays and other Public Holidays
    By all4excel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-03-2008, 10:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1