+ Reply to Thread
Results 1 to 2 of 2

Need help with adding time

  1. #1
    Forum Contributor
    Join Date
    05-22-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Office 365
    Posts
    156

    Need help with adding time

    I need some additional assistance with a transpose formula. I have data on Sheet1 from an Avaya phone system report. On Sheet2 I have a formula that help me identify those who have lunches that last longer than 30 minutes and breaks that last longer than 36 minutes. I have a couple needs.

    For the formula I need to take the total time worked (Row 22)
    I need to subtract total time in Personal (Row 27)
    I need to subtract total time in Personal (Row 31)
    I need to subtract any time total in break over 30 minutes (Row 33)


    First off I don't think my formula in row 39 is accurate as it is not only subtracting any time over 30 minutes for the break time. What I don't want to do is pay employees who exceed the allotted 30 minutes of break. For column B Kim spent 00:31.00 in break and 30 minutes is paid (2*15 minutes).

    So the grand total for Kim in column B

    In B39 total time worked 8:38:15
    Minus Personal 0:11:06
    Minus Lunch 0:31:41
    Minus 0:01:00 for the 1 minute over break
    For a grand total to equal a total of 7:56:28.

    Then on Sheet 2 I would like to to identify those who have shifts less than 8 hours a day. I have tried to duplicate the formula on Sheet2 in E2 and E3 in H2 and H3 but I get a #Value error. The goal is for me to have a list of agent names that have time less than 8 hours (08:00:00) similar to the other two list. In this example it should show me the names of Jauquilise Curry and Cynthia Fleming. Can you assist?
    Attached Files Attached Files
    Last edited by mrteater; 12-06-2022 at 07:12 PM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Need help with adding time

    For B39:G39 =B22-B27-B31-MAX(0,B33-30/1440)
    For H3 and down: =IFERROR(INDEX(Sheet1!B$21:G$21,AGGREGATE(15,6,(COLUMN(Sheet1!B$21:G$21)-COLUMN(Sheet1!A$21))/(Sheet1!B$39:G$39<8/24),ROWS(H$3:H3))),"")
    For I3 and down: =IF(H3="","",SUMIFS(Sheet1!B$39:G$39,Sheet1!B$21:G$21,H3))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Adding business days and time to a specific date and time
    By amitmodi_mrt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-05-2019, 03:32 AM
  2. Replies: 3
    Last Post: 06-01-2018, 10:31 AM
  3. [SOLVED] Adding / Subtracting TIME VAULES / UNITS (Not time of Day) - I'm lost ... [RESOLVED]
    By BaLLZaCH in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2015, 10:02 PM
  4. [SOLVED] Excel calculation for adding time and calculating remaining time
    By mark888 in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 01-12-2015, 12:55 PM
  5. [SOLVED] time line adding a specific time frame in each additional cell
    By RobertM01 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-23-2014, 10:22 AM
  6. Adding up Absent time taking lunch time into consideration
    By abrilabs in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2013, 02:02 PM
  7. Adding Time: Adding individual cells works, but SUM doesn't
    By fredmeister in forum Excel General
    Replies: 17
    Last Post: 04-11-2008, 10:40 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