+ Reply to Thread
Results 1 to 3 of 3

For unique criteria, if the start and end date (workdays only) is more then 7 then count

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    normal, il
    MS-Off Ver
    Excel 2010
    Posts
    66

    Question For unique criteria, if the start and end date (workdays only) is more then 7 then count

    I need to count the number of times it took over 7 workdays to finish a unique document.

    For example using the data below, the number returned would be 2.
    (It took over 7 workdays to finish 2 documents [Onboard manual and Computer Use]).

    I am currently using this formula to count the number of unique documents:
    =SUM(IF(FREQUENCY(IF(LEN(C$2:C$10000)>0,MATCH(C$2:C$10000,C$2:C$10000,0),""), IF(LEN(C$2:C$10000)>0,MATCH(C$2:C$10000,C$2:C$10000,0),""))>0,1))

    Thanks in advance!


    Start Date End Date Document Name Mis
    03/18/2013 04/18/2013 Computer Use 54
    03/18/2013 04/18/2013 Computer Use 65
    03/18/2013 04/18/2013 Computer Use 35
    03/18/2013 04/18/2013 Computer Use 44
    03/01/2013 03/18/2013 Onboarding manual 3
    03/01/2013 03/18/2013 Onboarding manual 1
    02/05/2013 02/08/2013 Training 1
    02/05/2013 02/08/2013 Training 2
    02/05/2013 02/08/2013 Training 21
    02/25/2013 03/04/2013 Odd document 231
    Attached Images Attached Images
    Last edited by joannelittell; 04-23-2013 at 04:33 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: For unique criteria, if the start and end date (workdays only) is more then 7 then cou

    Hi

    Assuming that your data is in the range A1:D11, then
    E2: =NETWORKDAYS(A2,B2)
    Copy down to E11

    Then

    =SUM(IF(E2:E11>7,1/COUNTIF($C$2:$C$11,$C$2:$C$11),"")) This formula is array entered (ctrl, shift, enter).

    HTH

    rylo

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    normal, il
    MS-Off Ver
    Excel 2010
    Posts
    66

    Thumbs up Re: For unique criteria, if the start and end date (workdays only) is more then 7 then cou

    I created another column to contain the number of workdays and this worked.

    Thanks!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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