+ Reply to Thread
Results 1 to 6 of 6

Calculating time period frequency

  1. #1
    Registered User
    Join Date
    02-05-2016
    Location
    Queensland, Australia
    MS-Off Ver
    2013
    Posts
    3

    Calculating time period frequency

    Hi all,

    Whata great resource this is and I'm hoping someone out there will be able to help.

    Essentially, i'm trying to establish overtime frequency from data and would like to answer the question, for example, overtime is likely to commence at 2am and last for 45 minutes.

    I have tried using the countif function but cannot crack it.

    cheers

    fajrr
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Calculating time period frequency

    G'day Fajrr,

    There is a lot that is unclear here I'm afraid!

    1. What are you trying to add up? These dates are all over the place, so I assume names are missing.
    2. You said OT kicks in after 2:00am, but these numbers are paying OT for earlier than that.
    3. I can't see a pattern to the OT rate. eg. I see double time being paid on Saturdays but time and a half on Sundays. This does not seem correct to my way of thinking.
    4. Paid hours is worked hours times the "Hour Type" - not just the hours worked past 2:00am.

    Please clarify - again, how do you define the OT frequency??

    Regards,

    David

  3. #3
    Registered User
    Join Date
    02-05-2016
    Location
    Queensland, Australia
    MS-Off Ver
    2013
    Posts
    3

    Re: Calculating time period frequency

    Hey David,

    Thanks for the attempt.

    The initial data set was probably too noisy. I'm trying to have the data depicted in a graph which shows which times between 23:30:00-07:30:00 have the greatest frequency of overtime.

    Thanks again.

    Fajrr.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Calculating time period frequency

    Still not clear on what you want!

    Your data isn't helped by all the fields being text, but you want to analyse time.

    In the attached, I have created a unique list of times recorded in column F.

    I then converted the text times to TIME in columns G H an J, and used SUMPRODUCT to get the count if each unique time where the end time was after 2:00.

    This make no sense of course where the start time is after 2:00, but your request is unclear. I just wanted to give you a clue as to why you will be struggling with COUNTIF.

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".

    Attached Files Attached Files

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Calculating time period frequency

    Maybe this will help you.
    All of the times that you have listed in the range are TEXT and had to be changed to Excel times by using the TIMEVALUE function.
    Enter in F3 and fill across and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The hours were then calculated with this formula entered in column H
    Enter in H3 and fill down and format as h:mm
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    02-05-2016
    Location
    Queensland, Australia
    MS-Off Ver
    2013
    Posts
    3

    Re: Calculating time period frequency

    Thanks everyone for there help,

    I have achieved an output, not as advanced as I would have liked but usable.

    Thanks again

+ 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. Replies: 8
    Last Post: 02-28-2022, 04:16 PM
  2. Formula for Calculating Dates between certain time period
    By Yankeerox in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2015, 11:28 PM
  3. Calculating APR over a period of variable time.
    By Shady Shadrack in forum Excel General
    Replies: 4
    Last Post: 03-03-2015, 06:49 PM
  4. [SOLVED] Divide Time Period across different Time Frames (Calculating Interest)
    By kopapa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-21-2013, 03:09 PM
  5. Calculating data within a time period
    By jmorton in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2012, 10:31 AM
  6. Calculating Time across a 24 hour period
    By jmag in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-19-2007, 12:27 PM
  7. [SOLVED] calculating elapsed time over a period of days
    By Jerome Ranch in forum Excel General
    Replies: 2
    Last Post: 05-13-2006, 12:35 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