+ Reply to Thread
Results 1 to 2 of 2

Sum of hours based on weeknumber

  1. #1
    Registered User
    Join Date
    08-23-2017
    Location
    lulu
    MS-Off Ver
    2016
    Posts
    57

    Sum of hours based on weeknumber

    Hi Guys,

    I want here the sum of holiday hours based on employee name and weeknumber. Please check the difference between the holiday daes because some employees have between to dates more than one week holiday.
    The holiday hours need also to be divided by number of workdays per week.

    Start date holiday End Date holiday Employee Name Holiday Hours
    19-05-2016 20-06-2016 Employee 1 80
    17-05-2016 17-05-2016 Employee 2 0
    17-05-2016 17-05-2016 Employee 3 0

    See attachment for excel file

    Regards,
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Sum of hours based on weeknumber

    =SUMIFS($D$2:$D$11411,$C$2:$C$11411,$G4,$A$2:$A$11411,">="&H$3,$B$2:$B$11411,"<"&I$3)
    in row3 =7*H$2+(1&-H$1)-WEEKDAY(1&-H$1,2)+1
    please check dates in your table

+ 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. Highlight row based on cell value and weeknumber
    By Milcoi in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-28-2017, 09:04 PM
  2. [SOLVED] cumulatively count row based on weeknumber and cell value
    By Gjanus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2016, 11:31 AM
  3. Need a formula that calculates vacation hours accrued and used based on hours worked
    By excelnewbie101 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-23-2015, 01:06 PM
  4. ISO weeknumber two digits
    By wisl in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-18-2012, 11:59 AM
  5. Replies: 1
    Last Post: 11-29-2011, 12:19 AM
  6. weeknumber
    By John Britto in forum Excel General
    Replies: 6
    Last Post: 10-07-2005, 12:05 PM
  7. Weeknumber
    By loscherland in forum Excel General
    Replies: 3
    Last Post: 01-26-2005, 01:47 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