+ Reply to Thread
Results 1 to 7 of 7

peRoster Dilemna: calculate hours worked for scific shifts on public holidays using tables

  1. #1
    Registered User
    Join Date
    03-17-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    9

    peRoster Dilemna: calculate hours worked for scific shifts on public holidays using tables

    Hi Guys,

    Sorry to ask again for support. There are great minds on this forum that helped me in a heartbeat in the past and I hope I'll have the same luck this time. I am struggling a bit to figure out the logic on my problem.

    In a roster, I'd like to figure out how to count total hours worked on public holidays for the staff. Taking into account the specific shift worked.
    In an ideal scenario, the formula will figure if the day worked is a public holiday (PH), if it is what is the shift and the hours corresponding, and sum up all hours worked during those public holidays.

    I've attached the excel example, in yellow the outcome I'm seeking. I have one roster with people and 2 tables containing my shift and my public holidays. For the sake of example I put everything on the same sheet.

    I'm sure it is an easy fix for some but not for me. Would definitely appreciate a hand on this one.

    Thanks,
    Fab
    Attached Files Attached Files
    Last edited by Faboolous; 04-18-2016 at 08:53 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Problem with combining the right formulas together

    Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-17-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    9

    Re: Problem with combining the right formulas together

    Hi zbor,

    Thanks for the quick response. My bad I don't think my example was clear enough. I have updated the file to make it be clearer.

    I had a similar formula as yours to calculate the Total of hours worked during a week.
    I'd like to figure out, how many hours worked are solely on Public Holidays (PHW).

    Thoughts?

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Problem with combining the right formulas together

    if you restore your data in a table you can use pivot table to analyse your data.

    A name
    B day
    C hour
    D criteria
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: peRoster Dilemna: calculate hours worked for scific shifts on public holidays using ta

    Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Confirmed with ctrl+shift+enter (not just enter)

  6. #6
    Registered User
    Join Date
    03-17-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    9

    Re: peRoster Dilemna: calculate hours worked for scific shifts on public holidays using ta

    Hi zbor,

    Thanks a lot for this. It works like a charm, goes bit beyond my knowledge but it's exactly what I was looking for.
    Thanks again, I'll pay attention to my subject/description on my next post

    Fab

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: peRoster Dilemna: calculate hours worked for scific shifts on public holidays using ta

    For new holidays just add dates below in A column.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Combining consistent and inconsistent formulas - new problem
    By wolfgang713 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-27-2013, 04:58 PM
  2. need some help combining some formulas
    By daviddc114 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2013, 04:34 PM
  3. Combining formulas
    By Cmorgan in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-26-2012, 04:01 PM
  4. combining formulas
    By ericc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2010, 08:26 PM
  5. Combining 2 formulas together.
    By cat1410 in forum Excel General
    Replies: 2
    Last Post: 08-05-2008, 02:21 PM
  6. combining 2 formulas
    By cat1410 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-02-2008, 09:34 PM
  7. Combining 2 Formulas
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-15-2007, 05:16 AM
  8. Combining two formulas
    By edwardpestian in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-04-2006, 05:25 AM

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