+ Reply to Thread
Results 1 to 3 of 3

Calculate Days Worked with Criteria

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    94

    Cool Calculate Days Worked with Criteria

    I have a set of data I receive that shows every assignment worked from a start date to end date. I need to know the Job of the latest date and calculate the days of the job with no breaks.

    I have enclosed an example, the criteria of calculating time with this criteria is giving me a hard time.

    Thanks for your help.

    Time Worked.xlsx

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Calculate Days Worked with Criteria

    =SUMIFS($H$2:$H$13,$A$2:$A$13,$J2,$D$2:$D$13,$L2,$E$2:$E$13,">"&MAX(INDEX(($A$2:$A$13=$J2)*($D$2:$D$13<>$L2)*($F$2:$F$13<=MAX(INDEX(($A$2:$A$13=$J2)*($D$2:$D$13=$L2)*$F$2:$F$13,0)))*$F$2:$F$13,0)),$F$2:$F$13,"<="&MAX(INDEX(($A$2:$A$13=$J2)*($D$2:$D$13=$L2)*$F$2:$F$13,0)))

    Try this
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    10-15-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    94

    Re: Calculate Days Worked with Criteria

    I appreciate it, thanks for the quick response.

+ 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. calculate elapsed days against criteria
    By coffee_man in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-12-2015, 06:12 AM
  2. how to calculate days worked for an average over a five week period
    By Nicky_B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-24-2014, 11:28 AM
  3. [SOLVED] Average hours worked based on days worked during a pay cycle
    By jaycee66 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-14-2012, 06:27 PM
  4. Calculate Work Days Based on Hours Worked
    By FM1 in forum Excel General
    Replies: 7
    Last Post: 02-04-2009, 12:27 PM
  5. Replies: 9
    Last Post: 09-03-2007, 08:26 PM

Tags for this Thread

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